Searched refs:index_mask (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_queue.h | 33 __u32 index_mask; member 49 unsigned int index_mask; member 74 return (index + 1) & q->buf->index_mask; in next_index() 80 & q->index_mask) == 0; in queue_empty() 86 & q->index_mask) == 0; in queue_full() 92 & q->index_mask; in advance_producer() 98 & q->index_mask; in advance_consumer() 103 return q->buf->data + ((q->buf->producer_index & q->index_mask) in producer_addr() 109 return q->buf->data + ((q->buf->consumer_index & q->index_mask) in consumer_addr() 125 return q->buf->data + ((index & q->index_mask) in 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 | 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()
|
D | rxe_verbs.c | 337 attr->max_wr = srq->rq.queue->buf->index_mask; in rxe_query_srq()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | arraymap.c | 85 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() 157 array->index_mask = index_mask; in array_map_alloc() 183 return array->value + array->elem_size * (index & array->index_mask); in array_map_lookup_elem() 233 *insn++ = BPF_ALU32_IMM(BPF_AND, ret, array->index_mask); in array_map_gen_lookup() 258 return this_cpu_ptr(array->pptrs[index & array->index_mask]); in percpu_array_map_lookup_elem() 278 pptr = array->pptrs[index & array->index_mask]; in bpf_percpu_array_copy() 331 memcpy(this_cpu_ptr(array->pptrs[index & array->index_mask]), in array_map_update_elem() 335 array->elem_size * (index & array->index_mask); in array_map_update_elem() [all …]
|
D | map_in_map.c | 58 container_of(inner_map_meta, struct bpf_array, map)->index_mask = in bpf_map_meta_alloc() 59 container_of(inner_map, struct bpf_array, map)->index_mask; in bpf_map_meta_alloc()
|
D | verifier.c | 11628 map)->index_mask); in fixup_bpf_calls()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_encoders.c | 50 uint32_t index_mask = 0; in radeon_encoder_clones() local 55 return index_mask; in radeon_encoder_clones() 58 return index_mask; in radeon_encoder_clones() 61 return index_mask; in radeon_encoder_clones() 75 index_mask |= (1 << count); in radeon_encoder_clones() 77 return index_mask; in radeon_encoder_clones()
|
/kernel/linux/linux-5.10/drivers/thermal/qcom/ |
D | tsens.c | 217 u32 index_mask = 0, index_clear = 0; in tsens_set_interrupt_v2() local 228 index_mask = UP_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2() 232 index_mask = LOW_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2() 236 index_mask = CRIT_INT_MASK_0 + hw_id; in tsens_set_interrupt_v2() 242 regmap_field_write(priv->rf[index_mask], 0); in tsens_set_interrupt_v2() 244 regmap_field_write(priv->rf[index_mask], 1); in tsens_set_interrupt_v2()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
D | psb_intel_display.c | 552 int index_mask = 0; in gma_connector_clones() local 560 index_mask |= (1 << entry); in gma_connector_clones() 563 return index_mask; in gma_connector_clones()
|
/kernel/linux/linux-5.10/include/linux/ |
D | bpf.h | 1037 u32 index_mask; member
|