Home
last modified time | relevance | path

Searched refs:index_mask (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/infiniband/sw/rxe/
A Drxe_queue.h63 u32 index_mask; member
91 return (index + 1) & q->index_mask; in queue_next_index()
149 return ((prod - cons) & q->index_mask) == 0; in queue_empty()
157 return ((prod + 1 - cons) & q->index_mask) == 0; in queue_full()
166 return (prod - cons) & q->index_mask; in queue_count()
181 prod = (prod + 1) & q->index_mask; in queue_advance_producer()
192 prod = (prod + 1) & q->index_mask; in queue_advance_producer()
206 cons = (cons + 1) & q->index_mask; in queue_advance_consumer()
217 cons = (cons + 1) & q->index_mask; in queue_advance_consumer()
245 return q->buf->data + ((index & q->index_mask) in queue_addr_from_index()
[all …]
A Drxe_queue.c85 q->index_mask = num_slots - 1; in rxe_queue_init()
94 q->buf->index_mask = q->index_mask; in rxe_queue_init()
A Drxe_srq.c49 if (srq && (attr->srq_limit > srq->rq.queue->buf->index_mask)) { in rxe_srq_chk_attr()
52 srq->rq.queue->buf->index_mask); in rxe_srq_chk_attr()
A Drxe_verbs.c364 attr->max_wr = srq->rq.queue->buf->index_mask; in rxe_query_srq()
/linux/kernel/bpf/
A Darraymap.c85 u32 elem_size, index_mask, max_entries; in array_map_alloc() local
102 index_mask = mask64; in array_map_alloc()
107 max_entries = index_mask + 1; in array_map_alloc()
143 array->index_mask = index_mask; in array_map_alloc()
217 *insn++ = BPF_ALU32_IMM(BPF_AND, ret, array->index_mask); in array_map_gen_lookup()
262 pptr = array->pptrs[index & array->index_mask]; in bpf_percpu_array_copy()
325 array->elem_size * (index & array->index_mask); in array_map_update_elem()
364 pptr = array->pptrs[index & array->index_mask]; in bpf_percpu_array_update()
443 pptr = array->pptrs[index & array->index_mask]; in percpu_array_map_seq_show_elem()
531 index = info->index & array->index_mask; in bpf_array_map_seq_start()
[all …]
A Dmap_in_map.c64 container_of(inner_map_meta, struct bpf_array, map)->index_mask = in bpf_map_meta_alloc()
65 container_of(inner_map, struct bpf_array, map)->index_mask; in bpf_map_meta_alloc()
A Dverifier.c13093 map)->index_mask); in do_misc_fixups()
/linux/drivers/gpu/drm/radeon/
A Dradeon_encoders.c44 uint32_t index_mask = 0; in radeon_encoder_clones() local
49 return index_mask; in radeon_encoder_clones()
52 return index_mask; in radeon_encoder_clones()
55 return index_mask; in radeon_encoder_clones()
69 index_mask |= (1 << count); in radeon_encoder_clones()
71 return index_mask; in radeon_encoder_clones()
/linux/drivers/thermal/qcom/
A Dtsens.c219 u32 index_mask = 0, index_clear = 0; in tsens_set_interrupt_v2() local
230 index_mask = UP_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2()
234 index_mask = LOW_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2()
238 index_mask = CRIT_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2()
244 regmap_field_write(priv->rf[index_mask], 0); in tsens_set_interrupt_v2()
246 regmap_field_write(priv->rf[index_mask], 1); in tsens_set_interrupt_v2()
/linux/drivers/gpu/drm/gma500/
A Dpsb_intel_display.c551 int index_mask = 0; in gma_connector_clones() local
559 index_mask |= (1 << entry); in gma_connector_clones()
562 return index_mask; in gma_connector_clones()
/linux/include/uapi/rdma/
A Drdma_user_rxe.h214 __u32 index_mask; member
/linux/include/linux/
A Dbpf.h1075 u32 index_mask; member

Completed in 49 milliseconds