Searched refs:cluster_size (Results 1 – 15 of 15) sorted by relevance
| /linux/fs/ntfs3/ |
| H A D | super.c | 504 sbi->cluster_size, sbi->used.bitmap.nbits, in ntfs3_volinfo() 747 buf->f_bsize = buf->f_frsize = sbi->cluster_size; in ntfs_statfs() 1034 sbi->cluster_size = boot_sector_size * sct_per_clst; in ntfs_init_from_boot() 1035 sbi->cluster_bits = cluster_bits = blksize_bits(sbi->cluster_size); in ntfs_init_from_boot() 1036 sbi->cluster_mask = sbi->cluster_size - 1; in ntfs_init_from_boot() 1131 if (sbi->cluster_size < boot_sector_size) { in ntfs_init_from_boot() 1133 sbi->cluster_size); in ntfs_init_from_boot() 1138 if (sbi->cluster_size < sector_size) { in ntfs_init_from_boot() 1143 sbi->cluster_size, sector_size); in ntfs_init_from_boot() 1199 if (!sb_set_blocksize(sb, min_t(u32, sbi->cluster_size, PAGE_SIZE))) { in ntfs_init_from_boot() [all …]
|
| H A D | frecord.c | 2418 if (sbi->cluster_size > NTFS_LZNT_MAX_CLUSTER) { in ni_read_frame() 2442 frame_size = sbi->cluster_size << NTFS_LZNT_CUNIT; in ni_read_frame() 2542 u32 frame_size = sbi->cluster_size << NTFS_LZNT_CUNIT; in ni_write_frame() 2565 if (sbi->cluster_size > NTFS_LZNT_MAX_CLUSTER) { in ni_write_frame() 2625 if (compr_size + sbi->cluster_size > frame_size) { in ni_write_frame()
|
| H A D | file.c | 276 stat->blksize = ni->mi.sbi->cluster_size; /* 512, 1K, ..., 2M */ in ntfs_getattr() 475 sbi->cluster_size, PAGE_SIZE)); in ntfs_fallocate()
|
| H A D | attrib.c | 483 align = sbi->cluster_size; in attr_set_size_ex() 2039 ((sbi->cluster_size << attr_b->nres.c_unit) - 1) : in attr_collapse_range() 2351 mask = (sbi->cluster_size << attr_b->nres.c_unit) - 1; in attr_punch_hole() 2561 mask = (sbi->cluster_size << attr_b->nres.c_unit) - 1; in attr_insert_range()
|
| H A D | index.c | 933 if (t32 < sbi->cluster_size) { in indx_init() 939 if ((sbi->cluster_size >> SECTOR_SHIFT) & in indx_init()
|
| H A D | ntfs_fs.h | 219 u32 cluster_size; // bytes per cluster member
|
| H A D | fslog.c | 2723 sbi->cluster_size ? in check_index_root() 4371 if (sbi->cluster_size <= log->page_size) in log_replay() 5258 i < t16; i++, vcn += 1, size += sbi->cluster_size) { in log_replay()
|
| /linux/net/tipc/ |
| H A D | monitor.h | 74 int tipc_nl_monitor_set_threshold(struct net *net, u32 cluster_size);
|
| H A D | monitor.c | 725 int tipc_nl_monitor_set_threshold(struct net *net, u32 cluster_size) in tipc_nl_monitor_set_threshold() argument 729 if (cluster_size > TIPC_CLUSTER_SIZE) in tipc_nl_monitor_set_threshold() 732 tn->mon_threshold = cluster_size; in tipc_nl_monitor_set_threshold()
|
| H A D | bcast.c | 99 int cluster_size = tipc_link_bc_peers(tipc_bc_sndlink(net)); in tipc_bcbase_calc_bc_threshold() local 101 bb->bc_threshold = 1 + (cluster_size * bb->rc_ratio / 100); in tipc_bcbase_calc_bc_threshold()
|
| /linux/fs/ntfs/ |
| H A D | bitmap.c | 29 dq = vol->cluster_size; in ntfs_trim_fs() 38 (range->start + range->len + vol->cluster_size - 1)); in ntfs_trim_fs()
|
| /linux/fs/ocfs2/ |
| H A D | ocfs1_fs_compat.h | 46 /*160*/ __u64 cluster_size; member
|
| /linux/fs/fat/ |
| H A D | dir.c | 1255 *nr_cluster = (size + (sbi->cluster_size - 1)) >> sbi->cluster_bits; in fat_add_new_entries() 1440 if (dir->i_size & (sbi->cluster_size - 1)) { in fat_add_entries() 1442 dir->i_size = (dir->i_size + sbi->cluster_size - 1) in fat_add_entries() 1443 & ~((loff_t)sbi->cluster_size - 1); in fat_add_entries()
|
| H A D | fat.h | 71 unsigned int cluster_size; /* cluster size */ member
|
| /linux/fs/ext4/ |
| H A D | xattr.c | 919 size_t cluster_size = 1 << (EXT4_SB(sb)->s_cluster_bits + in round_up_cluster() local 921 size_t mask = ~(cluster_size - 1); in round_up_cluster() 923 return (length + cluster_size - 1) & mask; in round_up_cluster()
|