Searched refs:index_mask (Results 1 – 12 of 12) sorted by relevance
/linux-5.19.10/drivers/infiniband/sw/rxe/ |
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 …]
|
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()
|
D | rxe_srq.c | 130 if (attr->srq_limit > srq->rq.queue->buf->index_mask) { in rxe_srq_chk_attr() 133 srq->rq.queue->buf->index_mask); in rxe_srq_chk_attr()
|
D | rxe_verbs.c | 355 attr->max_wr = srq->rq.queue->buf->index_mask; in rxe_query_srq()
|
/linux-5.19.10/drivers/gpu/drm/radeon/ |
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-5.19.10/kernel/bpf/ |
D | arraymap.c | 86 u32 elem_size, index_mask, max_entries; in array_map_alloc() local 103 index_mask = mask64; in array_map_alloc() 108 max_entries = index_mask + 1; in array_map_alloc() 144 array->index_mask = index_mask; in array_map_alloc() 173 return array->value + (u64)array->elem_size * (index & array->index_mask); in array_map_lookup_elem() 223 *insn++ = BPF_ALU32_IMM(BPF_AND, ret, array->index_mask); in array_map_gen_lookup() 248 return this_cpu_ptr(array->pptrs[index & array->index_mask]); in percpu_array_map_lookup_elem() 262 return per_cpu_ptr(array->pptrs[index & array->index_mask], cpu); in percpu_array_map_lookup_percpu_elem() 282 pptr = array->pptrs[index & array->index_mask]; in bpf_percpu_array_copy() 343 memcpy(this_cpu_ptr(array->pptrs[index & array->index_mask]), in array_map_update_elem() [all …]
|
D | map_in_map.c | 65 container_of(inner_map_meta, struct bpf_array, map)->index_mask = in bpf_map_meta_alloc() 66 container_of(inner_map, struct bpf_array, map)->index_mask; in bpf_map_meta_alloc()
|
D | verifier.c | 14000 map)->index_mask); in do_misc_fixups()
|
/linux-5.19.10/drivers/gpu/drm/gma500/ |
D | psb_intel_display.c | 544 int index_mask = 0; in gma_connector_clones() local 551 index_mask |= (1 << entry); in gma_connector_clones() 556 return index_mask; in gma_connector_clones()
|
/linux-5.19.10/drivers/thermal/qcom/ |
D | tsens.c | 220 u32 index_mask = 0, index_clear = 0; in tsens_set_interrupt_v2() local 231 index_mask = UP_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2() 235 index_mask = LOW_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2() 239 index_mask = CRIT_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2() 245 regmap_field_write(priv->rf[index_mask], 0); in tsens_set_interrupt_v2() 247 regmap_field_write(priv->rf[index_mask], 1); in tsens_set_interrupt_v2()
|
/linux-5.19.10/include/uapi/rdma/ |
D | rdma_user_rxe.h | 214 __u32 index_mask; member
|
/linux-5.19.10/include/linux/ |
D | bpf.h | 1239 u32 index_mask; member
|