/linux-master/drivers/acpi/ |
H A D | property.c | 406 size_t alloc_size; local 412 &alloc_size) || 413 check_add_overflow(sizeof(*props) + sizeof(*package), alloc_size, 414 &alloc_size)) { 421 props = kvzalloc(alloc_size, GFP_KERNEL);
|
/linux-master/fs/ntfs3/ |
H A D | frecord.c | 548 alloc = le64_to_cpu(attr->nres.alloc_size) >> 1497 attr->nres.alloc_size = 1499 attr->nres.data_size = attr->nres.alloc_size; 1500 attr->nres.valid_size = attr->nres.alloc_size; 1505 attr->nres.total_size = attr->nres.alloc_size; 1918 u64 end, alloc_size; local 1957 alloc_size = le64_to_cpu(attr->nres.alloc_size); 1958 if (end > alloc_size) 1959 end = alloc_size; [all...] |
H A D | ntfs.h | 355 __le64 alloc_size; // 0x28: The allocated size of attribute in bytes. member in struct:ATTR_NONRESIDENT 357 __le64 data_size; // 0x30: The size of attribute in bytes <= alloc_size. 400 le64_to_cpu(attr->nres.alloc_size)) 564 __le64 alloc_size; // 0x20: Data attribute allocated size, multiple of cluster size. member in struct:NTFS_DUP_INFO
|
H A D | inode.c | 151 t64 = le64_to_cpu(attr->nres.alloc_size); 266 if (!attr->nres.alloc_size) 309 inode_set_bytes(inode, le64_to_cpu(attr->nres.alloc_size)); 320 if (le64_to_cpu(attr->nres.alloc_size) >= 0x20000000) 1414 fname->dup.alloc_size = fname->dup.data_size = 0; 1569 attr->nres.alloc_size =
|
/linux-master/drivers/net/fddi/ |
H A D | defxx.c | 540 int alloc_size; /* total buffer size used */ local 651 alloc_size = sizeof(PI_DESCR_BLOCK) + 659 dma_free_coherent(bdev, alloc_size, 1047 int alloc_size; /* total buffer size needed */ local 1136 alloc_size = sizeof(PI_DESCR_BLOCK) + 1144 bp->kmalloced = top_v = dma_alloc_coherent(bp->bus_dev, alloc_size, 3702 int alloc_size; /* total buffer size used */ local 3706 alloc_size = sizeof(PI_DESCR_BLOCK) + 3714 dma_free_coherent(bdev, alloc_size,
|
/linux-master/drivers/bus/mhi/host/ |
H A D | boot.c | 315 size_t alloc_size) 318 int segments = DIV_ROUND_UP(alloc_size, seg_size) + 1; 313 mhi_alloc_bhie_table(struct mhi_controller *mhi_cntrl, struct image_info **image_info, size_t alloc_size) argument
|
/linux-master/drivers/hsi/clients/ |
H A D | hsi_char.c | 173 static inline struct hsi_msg *hsc_msg_alloc(unsigned int alloc_size) argument 181 buf = kmalloc(alloc_size, GFP_KERNEL); 186 sg_init_one(msg->sgt.sgl, buf, alloc_size);
|
/linux-master/kernel/ |
H A D | relay.c | 90 if (length != (unsigned long)buf->chan->alloc_size) 162 buf->start = relay_alloc_buf(buf, &chan->alloc_size); 505 chan->alloc_size = PAGE_ALIGN(subbuf_size * n_subbufs);
|
/linux-master/drivers/firmware/efi/libstub/ |
H A D | efistub.h | 1076 unsigned long alloc_size, 1152 unsigned long alloc_size); 1216 void efi_remap_image(unsigned long image_base, unsigned alloc_size,
|
/linux-master/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-drv.c | 339 size_t alloc_size = sizeof(*img->sec) * size; local 344 sec_memory = krealloc(img->sec, alloc_size, GFP_KERNEL); 399 size_t alloc_size; local 408 alloc_size = sizeof(*img->sec) * (img->sec_counter + 1); 409 sec = krealloc(img->sec, alloc_size, GFP_KERNEL);
|
/linux-master/fs/ocfs2/ |
H A D | file.c | 528 * we'll update all the disk stuff, and oip->alloc_size 1437 u32 cpos, phys_cpos, clusters, alloc_size; local 1471 &alloc_size, NULL); 1481 if (alloc_size > clusters) 1482 alloc_size = clusters; 1492 ret = ocfs2_extend_allocation(inode, cpos, alloc_size, 1); 1500 cpos += alloc_size; 1501 clusters -= alloc_size;
|
/linux-master/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | trans.c | 44 u32 i, pos, alloc_size, *ptr, *buf; local 56 alloc_size = PCI_ERR_ROOT_ERR_SRC + 4 + PREFIX_LEN; 57 alloc_size = max_t(u32, alloc_size, PCI_DUMP_SIZE + PREFIX_LEN); 58 alloc_size = max_t(u32, alloc_size, PCI_MEM_DUMP_SIZE + PREFIX_LEN); 59 alloc_size = max_t(u32, alloc_size, PCI_PARENT_DUMP_SIZE + PREFIX_LEN); 61 buf = kmalloc(alloc_size, GFP_ATOMIC); 64 prefix = (char *)buf + alloc_size [all...] |
/linux-master/drivers/net/ethernet/microsoft/mana/ |
H A D | mana_en.c | 568 if (mpc->rxbpre_alloc_size != rxq->alloc_size) { 570 mpc->rxbpre_alloc_size, rxq->alloc_size); 594 static void mana_get_rxbuf_cfg(int mtu, u32 *datasize, u32 *alloc_size, argument 602 *alloc_size = mtu + MANA_RXBUF_PAD + *headroom; 1483 struct sk_buff *skb = napi_build_skb(buf_va, rxq->alloc_size); 1613 } else if (rxq->alloc_size > PAGE_SIZE) { 1615 va = napi_alloc_frag(rxq->alloc_size); 1617 va = netdev_alloc_frag(rxq->alloc_size); 1624 if (compound_order(page) < get_order(rxq->alloc_size)) { 2178 mana_get_rxbuf_cfg(ndev->mtu, &rxq->datasize, &rxq->alloc_size, [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_edid.c | 2086 size_t *alloc_size) 2116 *alloc_size = edid_size_by_blocks(valid_blocks); 2118 new = krealloc(edid, *alloc_size, GFP_KERNEL); 2369 size_t alloc_size = EDID_LENGTH; local 2373 alloc_size = override->size; 2374 edid = kmemdup(override->edid, alloc_size, GFP_KERNEL); 2381 edid = kmalloc(alloc_size, GFP_KERNEL); 2409 alloc_size = edid_size(edid); 2410 new = krealloc(edid, alloc_size, GFP_KERNEL); 2441 alloc_size 2085 edid_filter_invalid_blocks(struct edid *edid, size_t *alloc_size) argument [all...] |
/linux-master/drivers/dma/qcom/ |
H A D | gpi.c | 455 size_t alloc_size; member in struct:gpi_ring 1400 dma_free_coherent(gpii->gpi_dev->dev, ring->alloc_size, 1417 ring->alloc_size = (len + (len - 1)); 1419 "#el:%u el_size:%u len:%u actual_len:%llu alloc_size:%zu\n", 1421 ring->alloc_size); 1424 ring->alloc_size, 1428 ring->alloc_size);
|
/linux-master/net/netlink/ |
H A D | af_netlink.c | 2274 int alloc_size; local 2296 alloc_size = max_recvmsg_len; 2297 skb = alloc_skb(alloc_size, 2302 alloc_size = alloc_min_size; 2303 skb = alloc_skb(alloc_size, GFP_KERNEL); 2318 skb_reserve(skb, skb_tailroom(skb) - alloc_size);
|
/linux-master/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_net.c | 1536 size_t alloc_size; local 1543 alloc_size = 1549 p = kzalloc(alloc_size, GFP_KERNEL);
|
/linux-master/fs/ |
H A D | select.c | 631 size_t size, alloc_size; local 661 alloc_size = 6 * size; 662 bits = kvmalloc(alloc_size, GFP_KERNEL);
|
/linux-master/drivers/pwm/ |
H A D | core.c | 988 size_t alloc_size; local 991 alloc_size = size_add(ALIGN(struct_size(chip, pwms, npwm), PWMCHIP_ALIGN), 994 chip = kzalloc(alloc_size, GFP_KERNEL);
|
/linux-master/net/iucv/ |
H A D | iucv.c | 577 size_t alloc_size; local 582 alloc_size = iucv_max_pathid * sizeof(*iucv_path_table); 583 iucv_path_table = kzalloc(alloc_size, GFP_KERNEL);
|
/linux-master/fs/smb/server/ |
H A D | ndr.c | 213 ret = ndr_write_int64(n, da->alloc_size);
|
/linux-master/sound/pci/emu10k1/ |
H A D | emupcm.c | 376 size_t alloc_size; local 393 alloc_size = params_buffer_bytes(hw_params); 395 alloc_size += EMUPAGESIZE; 396 err = snd_pcm_lib_malloc_pages(substream, alloc_size);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_send.c | 662 int alloc_size; local 667 alloc_size = *byte_size; 672 alloc_size = *num_stes * DR_STE_SIZE; 675 *data = kvzalloc(alloc_size, GFP_KERNEL);
|
/linux-master/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim_blk.c | 424 dev_attr.alloc_size = sizeof(struct vdpasim_blk);
|
/linux-master/drivers/gpu/drm/imagination/ |
H A D | pvr_fw_meta.c | 395 layout_entries[i].alloc_size, seg_id,
|