Home
last modified time | relevance | path

Searched refs:el_size (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/security/apparmor/include/
Dmatch.h120 static inline size_t table_size(size_t len, size_t el_size) in table_size() argument
122 return ALIGN(sizeof(struct table_header) + len * el_size, 8); in table_size()
/kernel/linux/linux-5.10/include/trace/
Dtrace_events.h337 #define __print_array(array, count, el_size) \ argument
339 BUILD_BUG_ON(el_size != 1 && el_size != 2 && \
340 el_size != 4 && el_size != 8); \
341 trace_print_array_seq(p, array, count, el_size); \
/kernel/linux/linux-5.10/drivers/bus/mhi/core/
Dinit.c322 ring->el_size = sizeof(struct mhi_tre); in mhi_init_dev_ctxt()
323 ring->len = ring->el_size * ring->elements; in mhi_init_dev_ctxt()
354 ring->el_size = sizeof(struct mhi_tre); in mhi_init_dev_ctxt()
356 ring->len = ring->el_size * ring->elements; in mhi_init_dev_ctxt()
584 tre_ring->el_size = sizeof(struct mhi_tre); in mhi_init_chan_ctxt()
585 tre_ring->len = tre_ring->el_size * tre_ring->elements; in mhi_init_chan_ctxt()
591 buf_ring->el_size = sizeof(struct mhi_buf_info); in mhi_init_chan_ctxt()
592 buf_ring->len = buf_ring->el_size * buf_ring->elements; in mhi_init_chan_ctxt()
Dmain.c188 nr_el = ((ring->rp - ring->wp) / ring->el_size) - 1; in get_nr_avail_ring_elements()
190 nr_el = (ring->rp - ring->base) / ring->el_size; in get_nr_avail_ring_elements()
192 ring->el_size) - 1; in get_nr_avail_ring_elements()
206 ring->wp += ring->el_size; in mhi_add_ring_element()
216 ring->rp += ring->el_size; in mhi_del_ring_element()
475 ring->wp += ring->el_size; in mhi_recycle_ev_ring_element()
476 ctxt_wp = *ring->ctxt_wp + ring->el_size; in mhi_recycle_ev_ring_element()
486 ring->rp += ring->el_size; in mhi_recycle_ev_ring_element()
1027 void *tmp = ring->wp + ring->el_size; in mhi_is_ring_full()
Dpm.c221 ring->wp = ring->base + ring->len - ring->el_size; in mhi_ready_state_transition()
222 *ring->ctxt_wp = ring->iommu_base + ring->len - ring->el_size; in mhi_ready_state_transition()
418 ring->wp = ring->base + ring->len - ring->el_size; in mhi_pm_mission_mode_transition()
419 *ring->ctxt_wp = ring->iommu_base + ring->len - ring->el_size; in mhi_pm_mission_mode_transition()
Dinternal.h493 size_t el_size; member
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_output.c234 size_t el_size) in trace_print_array_seq() argument
239 size_t buf_len = count * el_size; in trace_print_array_seq()
244 switch (el_size) { in trace_print_array_seq()
262 trace_seq_printf(p, "BAD SIZE:%zu 0x%x", el_size, in trace_print_array_seq()
264 el_size = 1; in trace_print_array_seq()
267 ptr += el_size; in trace_print_array_seq()
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec/
Dsec_algs.c631 int el_size, bool different_dest, in sec_alg_alloc_and_fill_el() argument
643 el->el_length = el_size; in sec_alg_alloc_and_fill_el()
654 req->w0 |= ((el_size >> 16) << SEC_BD_W0_C_GRAN_SIZE_19_16_S) & in sec_alg_alloc_and_fill_el()
658 req->w0 |= ((el_size >> 20) << SEC_BD_W0_C_GRAN_SIZE_21_20_S) & in sec_alg_alloc_and_fill_el()
663 ((el_size << SEC_BD_W2_C_GRAN_SIZE_15_0_S) & in sec_alg_alloc_and_fill_el()
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/
Dfw.c218 int i2400m_zrealloc_2x(void **ptr, size_t *_count, size_t el_size, in i2400m_zrealloc_2x() argument
223 old_size = el_size * old_count, in i2400m_zrealloc_2x()
224 new_size = el_size * new_count; in i2400m_zrealloc_2x()
/kernel/linux/linux-5.10/tools/lib/traceevent/
Devent-parse.c893 free_arg(arg->int_array.el_size); in free_arg()
2739 if (alloc_and_process_delim(event, ")", &arg->int_array.el_size)) in process_int_array()
4115 int el_size; in print_str_arg() local
4137 el_size = eval_num_arg(data, size, event, in print_str_arg()
4138 arg->int_array.el_size); in print_str_arg()
4143 if (el_size == 1) { in print_str_arg()
4145 } else if (el_size == 2) { in print_str_arg()
4147 } else if (el_size == 4) { in print_str_arg()
4149 } else if (el_size == 8) { in print_str_arg()
4153 el_size, *(uint8_t *)num); in print_str_arg()
[all …]
Devent-parse.h199 struct tep_print_arg *el_size; member
/kernel/linux/linux-5.10/include/linux/
Dtrace_events.h46 size_t el_size);
/kernel/linux/linux-5.10/tools/perf/util/scripting-engines/
Dtrace-event-perl.c232 define_event_symbols(event, ev_name, args->int_array.el_size); in define_event_symbols()
Dtrace-event-python.c311 define_event_symbols(event, ev_name, args->int_array.el_size); in define_event_symbols()