Home
last modified time | relevance | path

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

/linux/arch/powerpc/net/
A Dbpf_jit_comp.c91 u32 alloclen; in bpf_int_jit_compile() local
134 alloclen = proglen + FUNCTION_DESCR_SIZE; in bpf_int_jit_compile()
181 alloclen = proglen + FUNCTION_DESCR_SIZE; in bpf_int_jit_compile()
183 bpf_hdr = bpf_jit_binary_alloc(alloclen, &image, 4, bpf_jit_fill_ill_insns); in bpf_int_jit_compile()
241 fp->jited_len = alloclen; in bpf_int_jit_compile()
/linux/drivers/usb/storage/
A Djumpshot.c161 unsigned int totallen, alloclen; in jumpshot_read_data() local
180 alloclen = min(totallen, 65536u); in jumpshot_read_data()
181 buffer = kmalloc(alloclen, GFP_NOIO); in jumpshot_read_data()
188 len = min(totallen, alloclen); in jumpshot_read_data()
238 unsigned int totallen, alloclen; in jumpshot_write_data() local
257 alloclen = min(totallen, 65536u); in jumpshot_write_data()
258 buffer = kmalloc(alloclen, GFP_NOIO); in jumpshot_write_data()
266 len = min(totallen, alloclen); in jumpshot_write_data()
A Ddatafab.c143 unsigned int totallen, alloclen; in datafab_read_data() local
168 alloclen = min(totallen, 65536u); in datafab_read_data()
169 buffer = kmalloc(alloclen, GFP_NOIO); in datafab_read_data()
177 len = min(totallen, alloclen); in datafab_read_data()
227 unsigned int totallen, alloclen; in datafab_write_data() local
252 alloclen = min(totallen, 65536u); in datafab_write_data()
253 buffer = kmalloc(alloclen, GFP_NOIO); in datafab_write_data()
261 len = min(totallen, alloclen); in datafab_write_data()
A Dshuttle_usbat.c1124 unsigned int totallen, alloclen; in usbat_flash_read_data() local
1151 alloclen = min(totallen, 65536u); in usbat_flash_read_data()
1152 buffer = kmalloc(alloclen, GFP_NOIO); in usbat_flash_read_data()
1161 len = min(totallen, alloclen); in usbat_flash_read_data()
1215 unsigned int totallen, alloclen; in usbat_flash_write_data() local
1242 alloclen = min(totallen, 65536u); in usbat_flash_write_data()
1243 buffer = kmalloc(alloclen, GFP_NOIO); in usbat_flash_write_data()
1252 len = min(totallen, alloclen); in usbat_flash_write_data()
/linux/fs/jffs2/
A Dwrite.c354 uint32_t alloclen; in jffs2_write_inode_range() local
363 &alloclen, ALLOC_NORMAL, JFFS2_SUMMARY_INODE_SIZE); in jffs2_write_inode_range()
371 cdatalen = min_t(uint32_t, alloclen - sizeof(*ri), datalen); in jffs2_write_inode_range()
448 uint32_t alloclen; in jffs2_do_create() local
454 ret = jffs2_reserve_space(c, sizeof(*ri), &alloclen, ALLOC_NORMAL, in jffs2_do_create()
456 jffs2_dbg(1, "%s(): reserved 0x%x bytes\n", __func__, alloclen); in jffs2_do_create()
492 ret = jffs2_reserve_space(c, sizeof(*rd)+qstr->len, &alloclen, in jffs2_do_create()
553 uint32_t alloclen; in jffs2_do_unlink() local
563 ret = jffs2_reserve_space(c, sizeof(*rd)+namelen, &alloclen, in jffs2_do_unlink()
673 uint32_t alloclen; in jffs2_do_link() local
[all …]
A Dgc.c598 uint32_t phys_ofs, alloclen; in jffs2_garbage_collect_pristine() local
605 alloclen = rawlen = ref_totlen(c, c->gcblock, raw); in jffs2_garbage_collect_pristine()
613 ret = jffs2_reserve_space_gc(c, alloclen, &alloclen, rawlen); in jffs2_garbage_collect_pristine()
619 if (alloclen < rawlen) { in jffs2_garbage_collect_pristine()
767 uint32_t alloclen, ilen; in jffs2_garbage_collect_metadata() local
855 uint32_t alloclen; in jffs2_garbage_collect_dirent() local
877 ret = jffs2_reserve_space_gc(c, sizeof(rd)+rd.nsize, &alloclen, in jffs2_garbage_collect_dirent()
1020 uint32_t alloclen, ilen; in jffs2_garbage_collect_hole() local
1101 ret = jffs2_reserve_space_gc(c, sizeof(ri), &alloclen, in jffs2_garbage_collect_hole()
1171 uint32_t alloclen, offset, orig_end, orig_start; in jffs2_garbage_collect_dnode() local
[all …]
A Ddir.c293 uint32_t alloclen; in jffs2_symlink() local
312 ret = jffs2_reserve_space(c, sizeof(*ri) + targetlen, &alloclen, in jffs2_symlink()
383 ret = jffs2_reserve_space(c, sizeof(*rd)+namelen, &alloclen, in jffs2_symlink()
456 uint32_t alloclen; in jffs2_mkdir() local
471 ret = jffs2_reserve_space(c, sizeof(*ri), &alloclen, ALLOC_NORMAL, in jffs2_mkdir()
527 ret = jffs2_reserve_space(c, sizeof(*rd)+namelen, &alloclen, in jffs2_mkdir()
630 uint32_t alloclen; in jffs2_mknod() local
646 ret = jffs2_reserve_space(c, sizeof(*ri) + devlen, &alloclen, in jffs2_mknod()
701 ret = jffs2_reserve_space(c, sizeof(*rd)+namelen, &alloclen, in jffs2_mknod()
A Dfs.c42 uint32_t alloclen; in jffs2_do_setattr() local
85 ret = jffs2_reserve_space(c, sizeof(*ri) + mdatalen, &alloclen, in jffs2_do_setattr()
/linux/fs/nfs/
A Dnfs42xattr.c181 size_t alloclen, slen; in nfs4_xattr_alloc_entry() local
188 alloclen = sizeof(struct nfs4_xattr_entry); in nfs4_xattr_alloc_entry()
191 alloclen += slen; in nfs4_xattr_alloc_entry()
195 if (alloclen + len <= PAGE_SIZE) { in nfs4_xattr_alloc_entry()
196 alloclen += len; in nfs4_xattr_alloc_entry()
202 buf = kmalloc(alloclen, GFP_KERNEL_ACCOUNT | GFP_NOFS); in nfs4_xattr_alloc_entry()
/linux/net/ipv4/
A Dip_output.c1040 unsigned int alloclen, alloc_extra; in __ip_append_data() local
1073 alloclen = mtu; in __ip_append_data()
1077 alloclen = fraglen; in __ip_append_data()
1079 alloclen = min_t(int, fraglen, MAX_HEADER); in __ip_append_data()
1080 pagedlen = fraglen - alloclen; in __ip_append_data()
1083 alloclen += alloc_extra; in __ip_append_data()
1086 skb = sock_alloc_send_skb(sk, alloclen, in __ip_append_data()
1092 skb = alloc_skb(alloclen, in __ip_append_data()
1373 int alloclen; in ip_append_page() local
1378 alloclen = fragheaderlen + hh_len + fraggap + 15; in ip_append_page()
[all …]
/linux/net/ipv6/
A Dip6_output.c1564 unsigned int alloclen, alloc_extra; in __ip6_append_data() local
1603 alloclen = mtu; in __ip6_append_data()
1607 alloclen = fraglen; in __ip6_append_data()
1609 alloclen = min_t(int, fraglen, MAX_HEADER); in __ip6_append_data()
1610 pagedlen = fraglen - alloclen; in __ip6_append_data()
1612 alloclen += alloc_extra; in __ip6_append_data()
1630 skb = sock_alloc_send_skb(sk, alloclen, in __ip6_append_data()
1636 skb = alloc_skb(alloclen, in __ip6_append_data()
/linux/drivers/net/ethernet/sun/
A Dcassini.c1926 int dlen, hlen, len, i, alloclen; in cas_rx_process_pkt() local
1939 alloclen = len; in cas_rx_process_pkt()
1941 alloclen = max(hlen, RX_COPY_MIN); in cas_rx_process_pkt()
1943 skb = netdev_alloc_skb(cp->dev, alloclen + swivel + cp->crc_size); in cas_rx_process_pkt()
1975 if (alloclen < (hlen + dlen)) { in cas_rx_process_pkt()
2011 skb_put(skb, alloclen); in cas_rx_process_pkt()
2108 crcaddr = skb->data + alloclen; in cas_rx_process_pkt()
2110 skb_put(skb, alloclen); in cas_rx_process_pkt()
/linux/drivers/usb/core/
A Ddevio.c343 unsigned alloclen = in usbdev_read() local
351 if (alloclen > (*ppos - pos)) { in usbdev_read()
352 alloclen -= (*ppos - pos); in usbdev_read()
355 min(len, alloclen))) { in usbdev_read()
/linux/drivers/scsi/lpfc/
A Dlpfc_sli.c5883 uint32_t alloclen, reqlen; in lpfc_sli4_get_ctl_attr() local
5898 if (alloclen < reqlen) { in lpfc_sli4_get_ctl_attr()
5902 "(%d)\n", alloclen, reqlen); in lpfc_sli4_get_ctl_attr()
16430 if (alloclen < length) { in lpfc_cq_create_set()
16434 "(%d)\n", alloclen, length); in lpfc_cq_create_set()
17450 if (alloclen < length) { in lpfc_mrq_create()
17454 "(%d)\n", alloclen, length); in lpfc_mrq_create()
18085 uint32_t reqlen, alloclen, pg_pairs; in lpfc_sli4_post_sgl_list() local
18110 if (alloclen < reqlen) { in lpfc_sli4_post_sgl_list()
18114 "size (%d)\n", alloclen, reqlen); in lpfc_sli4_post_sgl_list()
[all …]

Completed in 70 milliseconds