/linux/lib/ |
H A D | kfifo.c | 26 size_t esize, gfp_t gfp_mask) in __kfifo_alloc() 36 fifo->esize = esize; in __kfifo_alloc() 44 fifo->data = kmalloc_array(esize, size, gfp_mask); in __kfifo_alloc() 61 fifo->esize = 0; in __kfifo_free() 68 unsigned int size, size_t esize) in __kfifo_init() 70 size /= esize; in __kfifo_init() 77 fifo->esize = esize; in __kfifo_init() 94 unsigned int esize in kfifo_copy_in() 25 __kfifo_alloc(struct __kfifo * fifo,unsigned int size,size_t esize,gfp_t gfp_mask) __kfifo_alloc() argument 67 __kfifo_init(struct __kfifo * fifo,void * buffer,unsigned int size,size_t esize) __kfifo_init() argument 93 unsigned int esize = fifo->esize; kfifo_copy_in() local 132 unsigned int esize = fifo->esize; kfifo_copy_out() local 180 unsigned int esize = fifo->esize; kfifo_copy_from_user() local 215 unsigned int esize = fifo->esize; __kfifo_from_user() local 242 unsigned int esize = fifo->esize; kfifo_copy_to_user() local 275 unsigned int esize = fifo->esize; __kfifo_to_user() local 338 unsigned int esize = fifo->esize; setup_sgl() local [all...] |
/linux/security/integrity/platform_certs/ |
H A D | efi_parser.c | 50 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/lib/crypto/mpi/ |
H A D | mpih-mul.c | 109 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 …]
|
H A D | mpi-pow.c | 31 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/sound/soc/intel/avs/ |
H A D | topology.c | 458 u32 esize; in parse_dictionary_entries() local 462 entry_id_token, &esize); in parse_dictionary_entries() 466 ret = avs_parse_tokens(comp, pos, parsers, num_parsers, tuples, esize); in parse_dictionary_entries() 474 block_size -= esize; in parse_dictionary_entries() 475 tuples = avs_tplg_vendor_array_at(tuples, esize); in parse_dictionary_entries() 882 u32 esize; in avs_tplg_parse_modcfg_ext() local 887 AVS_TKN_PIN_FMT_INDEX_U32, &esize); in avs_tplg_parse_modcfg_ext() 892 ARRAY_SIZE(modcfg_ext_parsers), tuples, esize); in avs_tplg_parse_modcfg_ext() 899 block_size -= esize; in avs_tplg_parse_modcfg_ext() 913 tuples = avs_tplg_vendor_array_at(tuples, esize); in avs_tplg_parse_modcfg_ext() [all …]
|
/linux/drivers/s390/char/ |
H A D | sclp_sd.c | 46 u32 esize; member 253 *esize_ptr = evbuf->esize; in sclp_sd_sync() 255 evbuf->esize); in sclp_sd_sync() 297 u32 dsize = 0, esize = 0; in sclp_sd_store_data() local 307 rc = sclp_sd_sync(page, SD_EQ_SIZE, di, 0, 0, &dsize, &esize); in sclp_sd_store_data() 330 &esize); in sclp_sd_store_data() 346 result->esize_bytes = (size_t) esize * PAGE_SIZE; in sclp_sd_store_data()
|
/linux/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_hw.c | 2312 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/drivers/video/fbdev/omap/ |
H A D | lcdc.c | 176 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/fs/ntfs3/ |
H A D | fslog.c | 810 static inline struct RESTART_TABLE *init_rsttbl(u16 esize, u16 used) in init_rsttbl() argument 814 u32 bytes = esize * used + sizeof(struct RESTART_TABLE); in init_rsttbl() 815 u32 lf = sizeof(struct RESTART_TABLE) + (used - 1) * esize; in init_rsttbl() 821 t->size = cpu_to_le16(esize); in init_rsttbl() 830 for (off = sizeof(struct RESTART_TABLE) + esize; e < last_free; in init_rsttbl() 831 e = Add2Ptr(e, esize), off += esize) { in init_rsttbl() 840 u16 esize = le16_to_cpu(tbl->size); in extend_rsttbl() local 845 rt = init_rsttbl(esize, used + add); in extend_rsttbl() 849 memcpy(rt + 1, tbl + 1, esize * used); in extend_rsttbl() 854 free_goal * esize); in extend_rsttbl() [all …]
|
H A D | ntfs.h | 718 u16 esize; in hdr_first_de() local 724 esize = le16_to_cpu(e->size); in hdr_first_de() 725 if (esize < sizeof(struct NTFS_DE) || de_off + esize > used) in hdr_first_de() 736 u16 esize; in hdr_next_de() local 741 esize = le16_to_cpu(e->size); in hdr_next_de() 743 if (esize < sizeof(struct NTFS_DE) || in hdr_next_de() 744 off + esize + sizeof(struct NTFS_DE) > used) in hdr_next_de() 747 return Add2Ptr(e, esize); in hdr_next_de()
|
H A D | index.c | 564 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/kernel/trace/ |
H A D | trace_uprobe.c | 976 int dsize, esize; in prepare_uprobe_buffer() local 981 esize = SIZEOF_TRACE_ENTRY(is_ret_probe(tu)); in prepare_uprobe_buffer() 992 store_trace_args(ucb->buf, &tu->tp, regs, NULL, esize, dsize); in prepare_uprobe_buffer() 1006 int size, esize; in __uprobe_trace_func() local 1014 esize = SIZEOF_TRACE_ENTRY(is_ret_probe(tu)); in __uprobe_trace_func() 1015 size = esize + ucb->dsize; in __uprobe_trace_func() 1400 int size, esize; in __uprobe_perf_func() local 1417 esize = SIZEOF_TRACE_ENTRY(is_ret_probe(tu)); in __uprobe_perf_func() 1420 size = esize + ucb->dsize; in __uprobe_perf_func() 1445 if (size - esize > ucb->dsize) in __uprobe_perf_func() [all …]
|
/linux/include/uapi/linux/netfilter/ |
H A D | x_tables.h | 174 #define xt_entry_foreach(pos, ehead, esize) \ argument 176 (pos) < (typeof(pos))((char *)(ehead) + (esize)); \
|
/linux/include/linux/ |
H A D | kfifo.h | 53 unsigned int esize; member 136 __kfifo->esize = sizeof(*__tmp->buf); \ 158 .esize = sizeof(*(fifo).buf), \ 192 #define kfifo_esize(fifo) ((fifo)->kfifo.esize) 903 size_t esize, gfp_t gfp_mask); 908 unsigned int size, size_t esize);
|
/linux/drivers/soc/apple/ |
H A D | sart.c | 270 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/drivers/scsi/lpfc/ |
H A D | lpfc_debugfs.h | 344 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/drivers/gpu/drm/radeon/ |
H A D | r100_track.h | 24 unsigned esize; member
|
H A D | r100.c | 1362 track->arrays[i + 0].esize = idx_value >> 8; in r100_packet3_load_vbpntr() 1364 track->arrays[i + 0].esize &= 0x7F; in r100_packet3_load_vbpntr() 1374 track->arrays[i + 1].esize = idx_value >> 24; in r100_packet3_load_vbpntr() 1375 track->arrays[i + 1].esize &= 0x7F; in r100_packet3_load_vbpntr() 1388 track->arrays[i + 0].esize = idx_value >> 8; in r100_packet3_load_vbpntr() 1389 track->arrays[i + 0].esize &= 0x7F; in r100_packet3_load_vbpntr() 1983 track->arrays[0].esize = track->vtx_size; in r100_packet3_check() 2345 size = track->arrays[i].esize * track->max_indx * 4UL; in r100_cs_track_check() 2364 size = track->arrays[i].esize * (nverts - 1) * 4UL; in r100_cs_track_check() 2446 track->arrays[i].esize = 0x7F; in r100_cs_track_clear()
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-fadump.h | 66 __be32 esize; /* Alloc size of each array entry in bytes */ member
|
H A D | opal-fadump.c | 451 reg_esize = be32_to_cpu(thdr->esize); in opal_fadump_build_cpu_notes()
|
H A D | opal-core.c | 242 reg_esize = be32_to_cpu(thdr->esize); in opalcore_append_cpu_notes()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | socket_helpers.h | 258 socklen_t esize = sizeof(eval); in poll_connect() local 269 if (getsockopt(fd, SOL_SOCKET, SO_ERROR, &eval, &esize) < 0) in poll_connect()
|
/linux/drivers/s390/net/ |
H A D | qeth_l3_main.c | 1332 __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/drivers/infiniband/hw/hfi1/ |
H A D | platform.c | 111 u32 esize; in get_platform_config() local 122 &esize); in get_platform_config() 126 dd->platform_config.size = esize; in get_platform_config()
|
/linux/drivers/scsi/cxlflash/ |
H A D | ocxl_hw.c | 1020 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()
|