Searched refs:index_mask (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/infiniband/sw/rxe/ |
A D | rxe_queue.h | 63 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 D | rxe_queue.c | 85 q->index_mask = num_slots - 1; in rxe_queue_init() 94 q->buf->index_mask = q->index_mask; in rxe_queue_init()
|
A D | rxe_srq.c | 49 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 D | rxe_verbs.c | 364 attr->max_wr = srq->rq.queue->buf->index_mask; in rxe_query_srq()
|
/linux/kernel/bpf/ |
A D | arraymap.c | 85 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 D | map_in_map.c | 64 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 D | verifier.c | 13093 map)->index_mask); in do_misc_fixups()
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_encoders.c | 44 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 D | tsens.c | 219 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 D | psb_intel_display.c | 551 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 D | rdma_user_rxe.h | 214 __u32 index_mask; member
|
/linux/include/linux/ |
A D | bpf.h | 1075 u32 index_mask; member
|
Completed in 49 milliseconds