Home
last modified time | relevance | path

Searched refs:allocated_size (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.4/fs/ntfs/
Dattrib.c108 allocated_size_vcn = ni->allocated_size >> in ntfs_map_runlist_nolock()
342 if (!ni->allocated_size) { in ntfs_attr_vcn_to_lcn_nolock()
465 if (!ni->allocated_size) { in ntfs_attr_find_vcn_nolock()
1677 a->data.non_resident.allocated_size = cpu_to_sle64(new_size); in ntfs_attr_make_non_resident()
1686 a->data.non_resident.allocated_size; in ntfs_attr_make_non_resident()
1700 ni->allocated_size = new_size; in ntfs_attr_make_non_resident()
1702 ni->itype.compressed.size = ni->allocated_size; in ntfs_attr_make_non_resident()
1719 vi->i_blocks = ni->allocated_size >> 9; in ntfs_attr_make_non_resident()
1800 ni->allocated_size = arec_size - mp_ofs; in ntfs_attr_make_non_resident()
1894 s64 ll, allocated_size, start = data_start; in ntfs_attr_extend_allocation() local
[all …]
Dinode.c371 ni->initialized_size = ni->allocated_size = 0; in __ntfs_init_inode()
876 ni->allocated_size = 0; in ntfs_read_locked_inode()
942 ni->allocated_size = sle64_to_cpu( in ntfs_read_locked_inode()
943 a->data.non_resident.allocated_size); in ntfs_read_locked_inode()
995 ni->allocated_size = 0; in ntfs_read_locked_inode()
1106 ni->allocated_size = sle64_to_cpu( in ntfs_read_locked_inode()
1107 a->data.non_resident.allocated_size); in ntfs_read_locked_inode()
1111 ni->allocated_size = le32_to_cpu(a->length) - in ntfs_read_locked_inode()
1114 if (vi->i_size > ni->allocated_size) { in ntfs_read_locked_inode()
1150 vi->i_blocks = ni->allocated_size >> 9; in ntfs_read_locked_inode()
[all …]
Dmft.c1145 pass_end = NTFS_I(vol->mft_ino)->allocated_size >> in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1302 ll = mftbmp_ni->allocated_size; in ntfs_mft_bitmap_extend_allocation_nolock()
1480 mftbmp_ni->allocated_size += vol->cluster_size; in ntfs_mft_bitmap_extend_allocation_nolock()
1481 a->data.non_resident.allocated_size = in ntfs_mft_bitmap_extend_allocation_nolock()
1482 cpu_to_sle64(mftbmp_ni->allocated_size); in ntfs_mft_bitmap_extend_allocation_nolock()
1500 mftbmp_ni->allocated_size += vol->cluster_size; in ntfs_mft_bitmap_extend_allocation_nolock()
1681 (long long)mftbmp_ni->allocated_size, in ntfs_mft_bitmap_extend_initialized_nolock()
1733 ll = mft_ni->allocated_size; in ntfs_mft_data_extend_allocation_nolock()
1759 ll = mft_ni->allocated_size; in ntfs_mft_data_extend_allocation_nolock()
1919 mft_ni->allocated_size += nr << vol->cluster_size_bits; in ntfs_mft_data_extend_allocation_nolock()
[all …]
Ddir.c343 if (le32_to_cpu(ia->index.allocated_size) + 0x18 != in ntfs_lookup_inode_by_name()
350 le32_to_cpu(ia->index.allocated_size) + 0x18, in ntfs_lookup_inode_by_name()
821 if (le32_to_cpu(ia->index.allocated_size) + 0x18 !=
828 le32_to_cpu(ia->index.allocated_size) + 0x18,
1324 if (unlikely(le32_to_cpu(ia->index.allocated_size) + 0x18 != in ntfs_readdir()
1332 le32_to_cpu(ia->index.allocated_size) + 0x18, in ntfs_readdir()
Dindex.c300 if (le32_to_cpu(ia->index.allocated_size) + 0x18 != in ntfs_index_lookup()
307 le32_to_cpu(ia->index.allocated_size) + 0x18, in ntfs_index_lookup()
Dfile.c115 BUG_ON(new_init_size > ni->allocated_size); in ntfs_attr_extend_initialized()
388 ll = ni->allocated_size; in ntfs_prepare_file_for_write()
414 ll = ni->allocated_size; in ntfs_prepare_file_for_write()
816 initialized_size = ni->allocated_size; in ntfs_prepare_pages_for_non_resident_write()
1054 a->data.non_resident.allocated_size) >> in ntfs_prepare_pages_for_non_resident_write()
1475 BUG_ON(end > ni->allocated_size); in ntfs_commit_pages_after_non_resident_write()
1635 BUG_ON(end > ni->allocated_size); in ntfs_commit_pages_after_write()
Dinode.h36 s64 allocated_size; /* Copy from the attribute record. */ member
Dlayout.h751 /* 40*/ sle64 allocated_size; /* Byte size of disk space member
1052 /* 28*/ sle64 allocated_size; /* Byte size of on-disk allocated space member
1974 le32 allocated_size; /* Byte size of this index (block), member
Daops.c217 lblock = (ni->allocated_size + blocksize - 1) >> blocksize_bits; in ntfs_read_block()
Drunlist.c903 attr->data.non_resident.allocated_size) + in ntfs_mapping_pairs_decompress()
/Linux-v5.4/security/integrity/ima/
Dima_crypto.c118 static void *ima_alloc_pages(loff_t max_size, size_t *allocated_size, in ima_alloc_pages() argument
131 *allocated_size = PAGE_SIZE << order; in ima_alloc_pages()
145 *allocated_size = PAGE_SIZE; in ima_alloc_pages()
149 *allocated_size = 0; in ima_alloc_pages()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/
Dcompressor.h108 uint32_t allocated_size; member
/Linux-v5.4/drivers/base/firmware_loader/
Dfirmware.h66 size_t allocated_size; member
Dmain.c187 fw_priv->allocated_size = size; in __allocate_fw_priv()
256 if (!fw_priv->allocated_size) in __free_fw_priv()
368 xz_buf.out_size = fw_priv->allocated_size; in fw_decompress_xz_single()
476 msize = fw_priv->allocated_size; in fw_get_filesystem_firmware()
Dfallback.c413 if (offset + count > fw_priv->allocated_size) { in firmware_data_write()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_compressor.c516 compressor->base.allocated_size = 0; in dce110_compressor_construct()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_compressor.c814 compressor->base.allocated_size = 0; in dce112_compressor_construct()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c64 u16 *allocated_size, bool is_alloc);
6980 u16 allocated_size = 0; in hclge_init_umv_space() local
6983 ret = hclge_set_umv_space(hdev, hdev->wanted_umv_size, &allocated_size, in hclge_init_umv_space()
6988 if (allocated_size < hdev->wanted_umv_size) in hclge_init_umv_space()
6991 hdev->wanted_umv_size, allocated_size); in hclge_init_umv_space()
6994 hdev->max_umv_size = allocated_size; in hclge_init_umv_space()
7023 u16 *allocated_size, bool is_alloc) in hclge_set_umv_space() argument
7044 if (is_alloc && allocated_size) in hclge_set_umv_space()
7045 *allocated_size = le32_to_cpu(desc.data[1]); in hclge_set_umv_space()