Home
last modified time | relevance | path

Searched refs:esize (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.6.21/lib/ !
Dkfifo.c25 size_t esize, gfp_t gfp_mask) in __kfifo_alloc() argument
35 fifo->esize = esize; in __kfifo_alloc()
43 fifo->data = kmalloc_array(esize, size, gfp_mask); in __kfifo_alloc()
60 fifo->esize = 0; in __kfifo_free()
67 unsigned int size, size_t esize) in __kfifo_init() argument
69 size /= esize; in __kfifo_init()
76 fifo->esize = esize; in __kfifo_init()
93 unsigned int esize = fifo->esize; in kfifo_copy_in() local
97 if (esize != 1) { in kfifo_copy_in()
98 off *= esize; in kfifo_copy_in()
[all …]
/linux-6.6.21/security/integrity/platform_certs/ !
Defi_parser.c50 size_t lsize, esize, hsize, elsize; in parse_efi_signature_list() local
63 esize = list.signature_size; in parse_efi_signature_list()
74 esize < sizeof(*elem) || in parse_efi_signature_list()
75 elsize < esize || in parse_efi_signature_list()
76 elsize % esize != 0) { in parse_efi_signature_list()
93 for (; elsize > 0; elsize -= esize) { in parse_efi_signature_list()
99 esize - sizeof(*elem)); in parse_efi_signature_list()
101 data += esize; in parse_efi_signature_list()
102 size -= esize; in parse_efi_signature_list()
103 offs += esize; in parse_efi_signature_list()
/linux-6.6.21/lib/crypto/mpi/ !
Dmpih-mul.c109 mpi_size_t esize = size - 1; /* even size */ in mul_n() local
112 MPN_MUL_N_RECURSE(prodp, up, vp, esize, tspace); in mul_n()
113 cy_limb = mpihelp_addmul_1(prodp + esize, up, esize, vp[esize]); in mul_n()
114 prodp[esize + esize] = cy_limb; in mul_n()
115 cy_limb = mpihelp_addmul_1(prodp + esize, vp, size, up[esize]); in mul_n()
116 prodp[esize + size] = cy_limb; in mul_n()
258 mpi_size_t esize = size - 1; /* even size */ in mpih_sqr_n() local
261 MPN_SQR_N_RECURSE(prodp, up, esize, tspace); in mpih_sqr_n()
262 cy_limb = mpihelp_addmul_1(prodp + esize, up, esize, up[esize]); in mpih_sqr_n()
263 prodp[esize + esize] = cy_limb; in mpih_sqr_n()
[all …]
Dmpi-pow.c31 mpi_size_t esize, msize, bsize, rsize; in mpi_powm() local
41 esize = exp->nlimbs; in mpi_powm()
52 if (!esize) { in mpi_powm()
129 ep = ep_marker = mpi_alloc_limb_space(esize); in mpi_powm()
132 MPN_COPY(ep, rp, esize); in mpi_powm()
161 i = esize - 1; in mpi_powm()
/linux-6.6.21/sound/soc/intel/avs/ !
Dtopology.c429 u32 esize; in parse_dictionary_entries() local
433 entry_id_token, &esize); in parse_dictionary_entries()
437 ret = avs_parse_tokens(comp, pos, parsers, num_parsers, tuples, esize); in parse_dictionary_entries()
445 block_size -= esize; in parse_dictionary_entries()
446 tuples = avs_tplg_vendor_array_at(tuples, esize); in parse_dictionary_entries()
841 u32 esize; in avs_tplg_parse_modcfg_ext() local
846 AVS_TKN_PIN_FMT_INDEX_U32, &esize); in avs_tplg_parse_modcfg_ext()
851 ARRAY_SIZE(modcfg_ext_parsers), tuples, esize); in avs_tplg_parse_modcfg_ext()
858 block_size -= esize; in avs_tplg_parse_modcfg_ext()
872 tuples = avs_tplg_vendor_array_at(tuples, esize); in avs_tplg_parse_modcfg_ext()
[all …]
/linux-6.6.21/drivers/s390/char/ !
Dsclp_sd.c43 u32 esize; member
243 *esize_ptr = evbuf->esize; in sclp_sd_sync()
245 evbuf->esize); in sclp_sd_sync()
287 u32 dsize = 0, esize = 0; in sclp_sd_store_data() local
297 rc = sclp_sd_sync(page, SD_EQ_SIZE, di, 0, 0, &dsize, &esize); in sclp_sd_store_data()
320 &esize); in sclp_sd_store_data()
330 result->esize_bytes = (size_t) esize * PAGE_SIZE; in sclp_sd_store_data()
/linux-6.6.21/drivers/net/ethernet/qlogic/netxen/ !
Dnetxen_nic_hw.c2312 struct netxen_minidump_entry *entry, int esize) in netxen_md_entry_err_chk() argument
2314 if (esize < 0) { in netxen_md_entry_err_chk()
2316 return esize; in netxen_md_entry_err_chk()
2318 if (esize != entry->hdr.entry_capture_size) { in netxen_md_entry_err_chk()
2319 entry->hdr.entry_capture_size = esize; in netxen_md_entry_err_chk()
2324 esize, entry->hdr.entry_capture_size); in netxen_md_entry_err_chk()
2332 int num_of_entries, buff_level, e_cnt, esize; in netxen_parse_md_template() local
2379 esize = netxen_md_rd_crb(adapter, in netxen_parse_md_template()
2382 (adapter, entry, esize); in netxen_parse_md_template()
2385 buff_level += esize; in netxen_parse_md_template()
[all …]
/linux-6.6.21/drivers/video/fbdev/omap/ !
Dlcdc.c176 int esize, xelem, yelem; in setup_lcd_dma() local
185 esize = 2; in setup_lcd_dma()
187 esize = 4; in setup_lcd_dma()
188 xelem = lcdc.xres * lcdc.bpp / 8 / esize; in setup_lcd_dma()
197 esize = 2; in setup_lcd_dma()
208 src, esize, xelem, yelem); in setup_lcd_dma()
210 omap_set_lcd_dma_b1(src, xelem, yelem, dma_elem_type[esize]); in setup_lcd_dma()
222 lcdc.screen_width * bpp / 8 / esize); in setup_lcd_dma()
/linux-6.6.21/fs/ntfs3/ !
Dfslog.c791 static inline struct RESTART_TABLE *init_rsttbl(u16 esize, u16 used) in init_rsttbl() argument
795 u32 bytes = esize * used + sizeof(struct RESTART_TABLE); in init_rsttbl()
796 u32 lf = sizeof(struct RESTART_TABLE) + (used - 1) * esize; in init_rsttbl()
802 t->size = cpu_to_le16(esize); in init_rsttbl()
811 for (off = sizeof(struct RESTART_TABLE) + esize; e < last_free; in init_rsttbl()
812 e = Add2Ptr(e, esize), off += esize) { in init_rsttbl()
821 u16 esize = le16_to_cpu(tbl->size); in extend_rsttbl() local
826 rt = init_rsttbl(esize, used + add); in extend_rsttbl()
830 memcpy(rt + 1, tbl + 1, esize * used); in extend_rsttbl()
835 free_goal * esize); in extend_rsttbl()
[all …]
Dntfs.h720 u16 esize; in hdr_first_de() local
726 esize = le16_to_cpu(e->size); in hdr_first_de()
727 if (esize < sizeof(struct NTFS_DE) || de_off + esize > used) in hdr_first_de()
738 u16 esize; in hdr_next_de() local
743 esize = le16_to_cpu(e->size); in hdr_next_de()
745 if (esize < sizeof(struct NTFS_DE) || in hdr_next_de()
746 off + esize + sizeof(struct NTFS_DE) > used) in hdr_next_de()
749 return Add2Ptr(e, esize); in hdr_next_de()
Dindex.c564 u16 esize; in hdr_find_split() local
569 esize = le16_to_cpu(e->size); in hdr_find_split()
570 for (o = le32_to_cpu(hdr->de_off) + esize; o < used_2; o += esize) { in hdr_find_split()
579 esize = le16_to_cpu(e->size); in hdr_find_split()
850 u16 esize = le16_to_cpu(re->size); in hdr_delete_de() local
852 int bytes = used - (off + esize); in hdr_delete_de()
858 if (off >= used || esize < sizeof(struct NTFS_DE) || in hdr_delete_de()
862 hdr->used = cpu_to_le32(used - esize); in hdr_delete_de()
863 memmove(re, Add2Ptr(re, esize), bytes); in hdr_delete_de()
/linux-6.6.21/kernel/trace/ !
Dtrace_uprobe.c954 int size, esize; in __uprobe_trace_func() local
965 esize = SIZEOF_TRACE_ENTRY(is_ret_probe(tu)); in __uprobe_trace_func()
966 size = esize + tu->tp.size + dsize; in __uprobe_trace_func()
1344 int size, esize; in __uprobe_perf_func() local
1357 esize = SIZEOF_TRACE_ENTRY(is_ret_probe(tu)); in __uprobe_perf_func()
1359 size = esize + tu->tp.size + dsize; in __uprobe_perf_func()
1384 if (size - esize > tu->tp.size + dsize) { in __uprobe_perf_func()
1387 memset(data + len, 0, size - esize - len); in __uprobe_perf_func()
1478 int dsize, esize; in uprobe_dispatcher() local
1494 esize = SIZEOF_TRACE_ENTRY(is_ret_probe(tu)); in uprobe_dispatcher()
[all …]
/linux-6.6.21/include/linux/ !
Dkfifo.h48 unsigned int esize; member
131 __kfifo->esize = sizeof(*__tmp->buf); \
153 .esize = sizeof(*(fifo).buf), \
187 #define kfifo_esize(fifo) ((fifo)->kfifo.esize)
832 size_t esize, gfp_t gfp_mask);
837 unsigned int size, size_t esize);
/linux-6.6.21/include/uapi/linux/netfilter/ !
Dx_tables.h174 #define xt_entry_foreach(pos, ehead, esize) \ argument
176 (pos) < (typeof(pos))((char *)(ehead) + (esize)); \
/linux-6.6.21/drivers/soc/apple/ !
Dsart.c270 size_t esize; in apple_sart_remove_allowed_region() local
276 sart->ops->get_entry(sart, i, &eflags, &epaddr, &esize); in apple_sart_remove_allowed_region()
278 if (epaddr != paddr || esize != size) in apple_sart_remove_allowed_region()
/linux-6.6.21/drivers/scsi/lpfc/ !
Dlpfc_debugfs.h344 int i, esize, qe_word_cnt, len; in lpfc_debug_dump_qe() local
353 esize = q->entry_size; in lpfc_debug_dump_qe()
354 qe_word_cnt = esize / sizeof(uint32_t); in lpfc_debug_dump_qe()
/linux-6.6.21/drivers/gpu/drm/radeon/ !
Dr100_track.h24 unsigned esize; member
Dr100.c1341 track->arrays[i + 0].esize = idx_value >> 8; in r100_packet3_load_vbpntr()
1343 track->arrays[i + 0].esize &= 0x7F; in r100_packet3_load_vbpntr()
1353 track->arrays[i + 1].esize = idx_value >> 24; in r100_packet3_load_vbpntr()
1354 track->arrays[i + 1].esize &= 0x7F; in r100_packet3_load_vbpntr()
1367 track->arrays[i + 0].esize = idx_value >> 8; in r100_packet3_load_vbpntr()
1368 track->arrays[i + 0].esize &= 0x7F; in r100_packet3_load_vbpntr()
1962 track->arrays[0].esize = track->vtx_size; in r100_packet3_check()
2324 size = track->arrays[i].esize * track->max_indx * 4UL; in r100_cs_track_check()
2343 size = track->arrays[i].esize * (nverts - 1) * 4UL; in r100_cs_track_check()
2425 track->arrays[i].esize = 0x7F; in r100_cs_track_clear()
/linux-6.6.21/arch/powerpc/platforms/powernv/ !
Dopal-fadump.h66 __be32 esize; /* Alloc size of each array entry in bytes */ member
Dopal-fadump.c451 reg_esize = be32_to_cpu(thdr->esize); in opal_fadump_build_cpu_notes()
Dopal-core.c242 reg_esize = be32_to_cpu(thdr->esize); in opalcore_append_cpu_notes()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ !
Dsockmap_helpers.h187 socklen_t esize = sizeof(eval); in poll_connect() local
198 if (getsockopt(fd, SOL_SOCKET, SO_ERROR, &eval, &esize) < 0) in poll_connect()
/linux-6.6.21/drivers/s390/net/ !
Dqeth_l3_main.c1332 __u32 esize; in qeth_l3_arp_query_cb() local
1342 esize = get_arp_entry_size(card, qdata, etype, in qeth_l3_arp_query_cb()
1344 QETH_CARD_TEXT_(card, 5, "esz%i", esize); in qeth_l3_arp_query_cb()
1345 if (!esize) in qeth_l3_arp_query_cb()
1348 if ((qinfo->udata_len - qinfo->udata_offset) < esize) { in qeth_l3_arp_query_cb()
1356 esize); in qeth_l3_arp_query_cb()
1357 entrybytes_done += esize + stripped_bytes; in qeth_l3_arp_query_cb()
1358 qinfo->udata_offset += esize; in qeth_l3_arp_query_cb()
/linux-6.6.21/drivers/infiniband/hw/hfi1/ !
Dplatform.c111 u32 esize; in get_platform_config() local
122 &esize); in get_platform_config()
126 dd->platform_config.size = esize; in get_platform_config()
/linux-6.6.21/drivers/scsi/cxlflash/ !
Docxl_hw.c1020 ssize_t esize; in afu_read() local
1065 esize = sizeof(struct cxl_event_afu_interrupt); in afu_read()
1066 event.header.size += esize; in afu_read()

12