| /linux/drivers/hid/bpf/ |
| H A D | hid_bpf_dispatch.c | 33 .allocated_size = hdev->bpf.allocated_data, in dispatch_hid_bpf_device_event() 72 if (ret > ctx_kern.ctx.allocated_size) in dispatch_hid_bpf_device_event() 78 *buf_size = ctx_kern.ctx.allocated_size; in dispatch_hid_bpf_device_event() 92 .allocated_size = size, in dispatch_hid_bpf_raw_requests() 132 .allocated_size = size, in dispatch_hid_bpf_output_report() 169 .allocated_size = HID_MAX_DESCRIPTOR_SIZE, in call_hid_bpf_rdesc_fixup() 176 ctx_kern.data = kzalloc(ctx_kern.ctx.allocated_size, GFP_KERNEL); in call_hid_bpf_rdesc_fixup() 187 if (ret > ctx_kern.ctx.allocated_size) in call_hid_bpf_rdesc_fixup() 302 if (rdwr_buf_size + offset > ctx->allocated_size) in hid_bpf_get_data()
|
| /linux/fs/ntfs/ |
| H A D | index.c | 279 u32 entries_offset, index_length, allocated_size; 290 allocated_size = le32_to_cpu(ih->allocated_size); 307 if (allocated_size < index_length) { 314 if (allocated_size > bytes_available || index_length > bytes_available) { in ntfs_ie_get_last() 506 * | |<--------------------- allocated_size --------------->| in ntfs_ir_lookup() 516 u32 ib_size = (unsigned int)le32_to_cpu(ib->index.allocated_size) + in ntfs_ir_lookup() 935 ib->index.allocated_size = cpu_to_le32(ib_size - in ntfs_ibm_add() 1304 icx->idx_ni->allocated_size = (ix_root_size + 7) & ~7; 1316 ir->index.allocated_size in ntfs_ir_make_space() 1424 u32 idx_size, allocated_size; ntfs_ib_insert() local 1539 int allocated_size, new_size; ntfs_ie_add() local [all...] |
| H A D | attrib.c | 128 ntfs_bytes_to_cluster(ni->vol, ni->allocated_size); in ntfs_map_runlist_nolock() 386 if (!ni->allocated_size) { in ntfs_attr_vcn_to_lcn_nolock() 536 if (!ni->allocated_size) { in ntfs_attr_find_vcn_nolock() 643 u32 allocated_size; 649 allocated_size = le32_to_cpu(ir->index.allocated_size); 651 if ((entries_offset | index_length | allocated_size) & 7 || 654 index_length > allocated_size || 655 allocated_size > index_size || in ntfs_attr_find() 2080 a->data.non_resident.allocated_size in ntfs_attr_make_non_resident() 2875 ntfs_attr_init(struct ntfs_inode * ni,const bool non_resident,const bool compressed,const bool encrypted,const bool sparse,const s64 allocated_size,const s64 data_size,const s64 initialized_size,const s64 compressed_size,const u8 compression_unit) ntfs_attr_init() argument [all...] |
| H A D | mft.c | 881 pass_end = NTFS_I(vol->mft_ino)->allocated_size >> in ntfs_may_write_mft_record() 1042 * Note: Only changes allocated_size, i.e. does not touch initialized_size or in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() 1084 ll = mftbmp_ni->allocated_size; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() 1236 * We now have extended the mft bitmap allocated_size by one cluster. in ntfs_mft_bitmap_extend_allocation_nolock() 1259 mftbmp_ni->allocated_size += vol->cluster_size; in ntfs_mft_bitmap_extend_allocation_nolock() 1260 a->data.non_resident.allocated_size = in ntfs_mft_bitmap_extend_allocation_nolock() 1261 cpu_to_le64(mftbmp_ni->allocated_size); in ntfs_mft_bitmap_extend_allocation_nolock() 1279 mftbmp_ni->allocated_size += vol->cluster_size; in ntfs_mft_bitmap_extend_allocation_nolock() 1285 * The only thing that is now wrong is ->allocated_size of the in ntfs_mft_bitmap_extend_allocation_nolock() 1347 * allocated_size i in ntfs_mft_bitmap_extend_allocation_nolock() [all...] |
| H A D | inode.c | 395 ni->allocated_size = ni->initialized_size = ni->data_size = 0; in ntfs_drop_big_inode() 459 ni->initialized_size = ni->allocated_size = 0; in __ntfs_init_inode() 1022 ni->allocated_size = (ni->data_size + 7) & ~7; in ntfs_read_locked_inode() 1045 ni->allocated_size = 0; in ntfs_read_locked_inode() 1167 ni->allocated_size = le64_to_cpu(a->data.non_resident.allocated_size); in ntfs_read_locked_inode() 1171 ni->allocated_size = le32_to_cpu(a->length) - in ntfs_read_locked_inode() 1174 if (vi->i_size > ni->allocated_size) { in ntfs_read_locked_inode() 1208 vi->i_blocks = ni->allocated_size >> 9; in ntfs_read_locked_inode() 1368 ni->allocated_size in ntfs_read_locked_attr_inode() [all...] |
| H A D | file.c | 68 * allocated_size and runlist in units of preallocated size to reduce 70 * allocated_size > data_size if not all preallocated space is used. 93 if (aligned_data_size >= ni->allocated_size) in ntfs_trim_prealloc() 113 ni->allocated_size = ntfs_cluster_to_bytes(vol, vcn_tr); in ntfs_trim_prealloc() 852 need_space = ntfs_bytes_to_cluster(vol, ni->allocated_size); in ntfs_punch_hole() 961 offset >= ni->allocated_size) { in ntfs_collapse_range() 970 if (ntfs_cluster_to_bytes(vol, end_vcn) > ni->allocated_size) in ntfs_insert_range() 971 end_vcn = (round_up(ni->allocated_size - 1, in ntfs_insert_range() 1012 offset >= ni->allocated_size) { in ntfs_insert_range() 1022 alloc_size = ni->allocated_size [all...] |
| H A D | namei.c | 579 ir->index.allocated_size = cpu_to_le32(index_len); in __ntfs_create() 648 fn->allocated_size = fn->data_size = 0; in __ntfs_create() 651 fn->allocated_size = cpu_to_le64(ni->allocated_size); in __ntfs_create() 1198 fn->allocated_size = fn->data_size = 0; in __ntfs_link() 1201 fn->allocated_size = in __ntfs_link() 1204 fn->allocated_size = cpu_to_le64(ni->allocated_size); in __ntfs_link()
|
| H A D | iomap.c | 719 if (end > ni->allocated_size && in ntfs_write_iomap_begin_non_resident() 720 end < ni->allocated_size + vol->preallocated_size) in ntfs_write_iomap_begin_non_resident() 722 ni->allocated_size + vol->preallocated_size); in ntfs_write_iomap_begin_non_resident() 806 NTFS_I(wpc->inode)->allocated_size - offset, in ntfs_write_iomap_end_resident()
|
| H A D | dir.c | |
| H A D | compress.c | 1478 if (NInoCompressed(ni) && pos + count > ni->allocated_size) { in ntfs_compress_write()
|
| H A D | runlist.c | 922 max_cluster = ((le64_to_cpu(attr->data.non_resident.allocated_size) + in ntfs_mapping_pairs_decompress()
|
| /linux/drivers/base/firmware_loader/ |
| H A D | main.c | 143 fw_priv->allocated_size = size; in __allocate_fw_priv() 218 else if (!fw_priv->allocated_size) in __free_fw_priv() 319 if (fw_priv->allocated_size) { in fw_decompress_zstd() 320 out_size = fw_priv->allocated_size; in fw_decompress_zstd() 358 if (!fw_priv->allocated_size) in fw_decompress_zstd() 365 if (err && !fw_priv->allocated_size) in fw_decompress_zstd() 400 xz_buf.out_size = fw_priv->allocated_size; in fw_decompress_xz_single() 506 msize = fw_priv->allocated_size; in fw_get_filesystem_firmware()
|
| H A D | fallback_platform.c | 28 if (fw_priv->data && size > fw_priv->allocated_size) in firmware_fallback_platform()
|
| H A D | firmware.h | 71 size_t allocated_size; member
|
| H A D | sysfs.c | 344 if (offset + count > fw_priv->allocated_size) { in firmware_data_write()
|
| /linux/security/integrity/ima/ |
| H A D | ima_crypto.c | 238 ima_alloc_pages(loff_t max_size,size_t * allocated_size,int last_warn) ima_alloc_pages() argument
|
| /linux/drivers/gpu/drm/amd/display/dc/inc/ |
| H A D | compressor.h | 108 uint32_t allocated_size; member
|
| /linux/tools/testing/selftests/hid/progs/ |
| H A D | hid_bpf_helpers.h | 72 __u32 allocated_size; member
|
| /linux/include/linux/ |
| H A D | hid_bpf.h | 48 __u32 allocated_size; member
|
| /linux/drivers/gpu/drm/amd/display/dc/dce110/ |
| H A D | dce110_compressor.c | 445 compressor->base.allocated_size = 0; in dce110_compressor_construct()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_main.c | 5996 u16 *allocated_size) in hclge_fd_check_tcpip6_tuple() 6014 *allocated_size = le32_to_cpu(desc.data[1]); in hclge_fd_check_ip6_tuple() 6021 u16 allocated_size = 0; in hclge_fd_check_ip6_tuple() 6024 ret = hclge_set_umv_space(hdev, hdev->wanted_umv_size, &allocated_size); in hclge_fd_check_ip6_tuple() 6028 if (allocated_size < hdev->wanted_umv_size) in hclge_fd_check_ip6_tuple() 6031 hdev->wanted_umv_size, allocated_size); in hclge_fd_check_ip6_tuple() 6033 hdev->max_umv_size = allocated_size; in hclge_fd_check_ip6_tuple() 8402 hclge_set_umv_space(struct hclge_dev * hdev,u16 space_size,u16 * allocated_size) hclge_set_umv_space() argument 8427 u16 allocated_size = 0; hclge_init_umv_space() local
|