/openbmc/linux/fs/ntfs/ |
H A D | super.c | 786 vol->cluster_size_mask = vol->cluster_size - 1; in parse_ntfs_boot_sector() 789 vol->cluster_size); in parse_ntfs_boot_sector() 792 if (vol->cluster_size < vol->sector_size) { in parse_ntfs_boot_sector() 802 vol->mft_record_size = vol->cluster_size << in parse_ntfs_boot_sector() 842 vol->index_record_size = vol->cluster_size << in parse_ntfs_boot_sector() 926 vol->mftmirr_size = vol->cluster_size >> in parse_ntfs_boot_sector() 982 mft_lcn = (8192 + 2 * vol->cluster_size - 1) / vol->cluster_size; in ntfs_setup_allocators() 983 if (mft_lcn * vol->cluster_size < 16 * 1024) in ntfs_setup_allocators() 984 mft_lcn = (16 * 1024 + vol->cluster_size - 1) / in ntfs_setup_allocators() 985 vol->cluster_size; in ntfs_setup_allocators() [all …]
|
H A D | volume.h | 46 u32 cluster_size; /* in bytes */ member
|
H A D | file.c | 627 cend = (end + vol->cluster_size - 1) >> vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write() 923 if (unlikely(vol->cluster_size < PAGE_SIZE)) { in ntfs_prepare_pages_for_non_resident_write() 924 bh_cend = (bh_end + vol->cluster_size - 1) >> in ntfs_prepare_pages_for_non_resident_write() 1136 ni->itype.compressed.size += vol->cluster_size; in ntfs_prepare_pages_for_non_resident_write() 1229 ni->itype.compressed.size += vol->cluster_size; in ntfs_prepare_pages_for_non_resident_write() 1765 if (vol->cluster_size > PAGE_SIZE && NInoNonResident(ni)) in ntfs_perform_write() 1766 nr_pages = vol->cluster_size >> PAGE_SHIFT; in ntfs_perform_write() 1811 bytes = vol->cluster_size - (pos & in ntfs_perform_write()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 144.out | 18 Formatting 'TEST_DIR/tmp.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib… 54 Formatting 'TEST_DIR/tmp2.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zli…
|
H A D | 206.out | 18 cluster_size: 65536 42 cluster_size: 65536 66 cluster_size: 2097152 90 cluster_size: 512 109 cluster_size: 65536
|
H A D | 274.out | 45 cluster_size: 65536 71 cluster_size: 65536 103 cluster_size: 65536 129 cluster_size: 65536 159 cluster_size: 65536
|
H A D | 079.out | 2 === Check option preallocation and cluster_size ===
|
H A D | 302.out | 17 cluster_size: 65536
|
H A D | 061.out | 386 qemu-img: Invalid parameter 'cluster_size' 398 qemu-img: Invalid parameter 'cluster_size' 551 cluster_size: 65536 578 cluster_size: 65536 593 cluster_size: 65536 609 cluster_size: 65536 623 cluster_size: 65536 638 cluster_size: 65536
|
H A D | 070.out | 26 cluster_size: 2097152
|
H A D | 114.out | 10 cluster_size: 65536
|
H A D | 182.out | 27 Formatting 'TEST_DIR/t.qcow2.overlay', fmt=qcow2 cluster_size=65536 extended_l2=off compression_typ…
|
H A D | 185.out | 16 Formatting 'TEST_DIR/t.qcow2.mid', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zl… 29 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib s… 87 Formatting 'TEST_DIR/t.qcow2.copy', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=z… 114 Formatting 'TEST_DIR/t.qcow2.copy', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=z…
|
/openbmc/qemu/block/ |
H A D | iscsi.c | 98 int cluster_size; member 467 assert(iscsilun->cluster_size); in iscsi_allocmap_init() 470 iscsilun->cluster_size); in iscsi_allocmap_init() 504 assert(iscsilun->cluster_size); in iscsi_allocmap_update() 505 cl_num_expanded = offset / iscsilun->cluster_size; in iscsi_allocmap_update() 573 assert(iscsilun->cluster_size); in iscsi_allocmap_is_allocated() 574 size = DIV_ROUND_UP(offset + bytes, iscsilun->cluster_size); in iscsi_allocmap_is_allocated() 586 assert(iscsilun->cluster_size); in iscsi_allocmap_is_valid() 839 assert(iscsilun->cluster_size); in iscsi_co_readv() 2016 iscsilun->cluster_size = iscsilun->bl.opt_unmap_gran * in iscsi_open() [all …]
|
H A D | parallels.h | 87 unsigned int cluster_size; member
|
H A D | qed-check.c | 83 if (last_offset && (last_offset + s->header.cluster_size != offset)) { in qed_check_l2_table() 241 DIV_ROUND_UP(s->header.image_size, s->header.cluster_size); in qed_check()
|
H A D | qcow2.h | 329 int cluster_size; member 658 return offset & ~(s->cluster_size - 1); in start_of_cluster() 663 return offset & (s->cluster_size - 1); in offset_into_cluster() 673 return (size + (s->cluster_size - 1)) >> s->cluster_bits; in size_to_clusters() 833 int64_t qcow2_refcount_metadata_size(int64_t clusters, size_t cluster_size, 1059 uint32_t cluster_size);
|
H A D | vvfat.c | 311 unsigned int cluster_size; member 877 * 0x20 / s->cluster_size; in read_directory() 907 s->cluster_size=s->sectors_per_cluster*0x200; in init_directories() 908 s->cluster_buffer=g_malloc(s->cluster_size); in init_directories() 2005 offset += s->cluster_size; in get_cluster_count_for_direntry() 2018 unsigned char* cluster = g_malloc(s->cluster_size); in check_directory_consistency() 2522 assert((offset % s->cluster_size) == 0); in commit_one_file() 2528 for (i = s->cluster_size; i < offset; i += s->cluster_size) in commit_one_file() 2544 cluster = g_malloc(s->cluster_size); in commit_one_file() 2548 int rest_size = (size - offset > s->cluster_size ? in commit_one_file() [all …]
|
/openbmc/linux/fs/fat/ |
H A D | file.c | 287 nr_cluster = (mm_bytes + (sbi->cluster_size - 1)) >> in fat_fallocate() 382 const unsigned int cluster_size = sbi->cluster_size; in fat_truncate_blocks() local 392 nr_clusters = (offset + (cluster_size - 1)) >> sbi->cluster_bits; in fat_truncate_blocks() 405 stat->blksize = sbi->cluster_size; in fat_getattr()
|
/openbmc/qemu/docs/ |
H A D | qcow2-cache.txt | 31 cluster_size option: 33 qemu-img create -f qcow2 -o cluster_size=128K hd.qcow2 4G 85 disk_size = l2_cache_size * cluster_size / 8 86 disk_size = refcount_cache_size * cluster_size * 8 / refcount_bits 88 With the default values for cluster_size (64KB) and refcount_bits 235 disk_size = l2_cache_size * cluster_size / 16 239 l2_cache_size = disk_size * 16 / cluster_size
|
/openbmc/linux/fs/ntfs3/ |
H A D | super.c | 468 sbi->cluster_size, sbi->used.bitmap.nbits, in ntfs3_volinfo() 663 buf->f_bsize = sbi->cluster_size; in ntfs_statfs() 928 sbi->cluster_size = boot_sector_size * sct_per_clst; in ntfs_init_from_boot() 929 sbi->cluster_bits = cluster_bits = blksize_bits(sbi->cluster_size); in ntfs_init_from_boot() 930 sbi->cluster_mask = sbi->cluster_size - 1; in ntfs_init_from_boot() 1016 if (sbi->cluster_size < boot_sector_size) { in ntfs_init_from_boot() 1018 sbi->cluster_size); in ntfs_init_from_boot() 1023 if (sbi->cluster_size < sector_size) { in ntfs_init_from_boot() 1028 sbi->cluster_size, sector_size); in ntfs_init_from_boot() 1084 sb_set_blocksize(sb, min_t(u32, sbi->cluster_size, PAGE_SIZE)); in ntfs_init_from_boot() [all …]
|
/openbmc/linux/net/tipc/ |
H A D | monitor.h | 74 int tipc_nl_monitor_set_threshold(struct net *net, u32 cluster_size);
|
/openbmc/linux/fs/ocfs2/ |
H A D | ocfs1_fs_compat.h | 46 /*160*/ __u64 cluster_size; member
|
/openbmc/linux/fs/f2fs/ |
H A D | file.c | 3451 dn->ofs_in_node += cluster_size; in release_compress_blocks() 3466 cluster_size - compr_blocks); in release_compress_blocks() 3470 count -= cluster_size; in release_compress_blocks() 3612 for (i = 0; i < cluster_size; i++) { in reserve_compress_blocks() 3618 dn->ofs_in_node += cluster_size; in reserve_compress_blocks() 3655 count -= cluster_size; in reserve_compress_blocks() 4080 int cluster_size = fi->i_cluster_size; in f2fs_ioc_decompress_file() local 4129 count -= cluster_size; in f2fs_ioc_decompress_file() 4130 page_idx += cluster_size; in f2fs_ioc_decompress_file() 4207 count -= cluster_size; in f2fs_ioc_compress_file() [all …]
|
/openbmc/qemu/tests/uefi-test-tools/ |
H A D | Makefile | 46 -o cluster_size=512 -- $< $@
|