| /linux/fs/f2fs/ |
| A D | compress.c | 63 return index & (cc->cluster_size - 1); in offset_in_cluster() 131 for (i = 0; i < cc->cluster_size; i++) { in f2fs_put_rpages_wbc() 862 for (; i < cc->cluster_size; i++) { in f2fs_all_cluster_page_ready() 904 if (dn->ofs_in_node % cluster_size) { in f2fs_sanity_check_cluster() 1079 for (i = 0; i < cc->cluster_size; i++) in set_cluster_dirty() 1162 return cc->cluster_size; in prepare_compress_overwrite() 1338 cic->nr_rpages = cc->cluster_size; in f2fs_write_compressed_pages() 1362 for (i = 0; i < cc->cluster_size; i++) in f2fs_write_compressed_pages() 1702 dic->cluster_size = cc->cluster_size; in f2fs_alloc_dic() 1709 for (i = 0; i < dic->cluster_size; i++) in f2fs_alloc_dic() [all …]
|
| A D | file.c | 622 int cluster_size = F2FS_I(dn->inode)->i_cluster_size; in f2fs_truncate_data_blocks_range() local 632 !(cluster_index & (cluster_size - 1))) { in f2fs_truncate_data_blocks_range() 3575 int cluster_size = F2FS_I(dn->inode)->i_cluster_size; in release_compress_blocks() local 3599 dn->ofs_in_node += cluster_size; in release_compress_blocks() 3614 cluster_size - compr_blocks); in release_compress_blocks() 3616 released_blocks += cluster_size - compr_blocks; in release_compress_blocks() 3618 count -= cluster_size; in release_compress_blocks() 3765 for (i = 0; i < cluster_size; i++) { in reserve_compress_blocks() 3771 dn->ofs_in_node += cluster_size; in reserve_compress_blocks() 3796 dn->ofs_in_node += cluster_size; in reserve_compress_blocks() [all …]
|
| A D | data.c | 1933 unsigned int cluster_size = F2FS_I(inode)->i_cluster_size; in f2fs_fiemap() local 1984 map.m_len = cluster_size - count_in_cluster; in f2fs_fiemap() 2031 unsigned int appended_blks = cluster_size - in f2fs_fiemap() 2046 if (count_in_cluster == cluster_size) { in f2fs_fiemap() 2216 for (i = 0; i < cc->cluster_size; i++) { in f2fs_read_multi_pages() 2260 for (i = 1; i < cc->cluster_size; i++) { in f2fs_read_multi_pages() 2355 for (i = 0; i < cc->cluster_size; i++) { in f2fs_read_multi_pages() 2380 .cluster_size = F2FS_I(inode)->i_cluster_size, in f2fs_mpage_readpages() 2998 .cluster_size = F2FS_I(inode)->i_cluster_size, in f2fs_write_cache_pages()
|
| A D | node.c | 855 unsigned int cluster_size = F2FS_I(dn->inode)->i_cluster_size; in f2fs_get_dnode_of_data() local 862 if (fofs % cluster_size) { in f2fs_get_dnode_of_data() 863 fofs = round_down(fofs, cluster_size); in f2fs_get_dnode_of_data() 864 ofs_in_node = round_down(ofs_in_node, cluster_size); in f2fs_get_dnode_of_data() 877 fofs, blkaddr, cluster_size, c_len); in f2fs_get_dnode_of_data()
|
| /linux/drivers/soc/fsl/dpio/ |
| A D | dpio-driver.c | 57 int cluster_base, cluster_size; in dpaa2_dpio_get_cluster_sdest() local 61 cluster_size = 4; in dpaa2_dpio_get_cluster_sdest() 66 cluster_size = 2; in dpaa2_dpio_get_cluster_sdest() 72 return cluster_base + cpu / cluster_size; in dpaa2_dpio_get_cluster_sdest()
|
| /linux/fs/fat/ |
| 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()
|
| A D | inode.c | 560 inode->i_blocks = ((inode->i_size + (sbi->cluster_size - 1)) in fat_fill_inode() 561 & ~((loff_t)sbi->cluster_size - 1)) >> 9; in fat_fill_inode() 630 MSDOS_SB(inode->i_sb)->cluster_size)) { in fat_free_eofblocks() 840 buf->f_bsize = sbi->cluster_size; in fat_statfs() 1337 inode->i_blocks = ((inode->i_size + (sbi->cluster_size - 1)) in fat_read_root() 1338 & ~((loff_t)sbi->cluster_size - 1)) >> 9; in fat_read_root() 1647 sbi->cluster_size = sb->s_blocksize * sbi->sec_per_clus; in fat_fill_super() 1648 sbi->cluster_bits = ffs(sbi->cluster_size) - 1; in fat_fill_super()
|
| A D | dir.c | 1227 *nr_cluster = (size + (sbi->cluster_size - 1)) >> sbi->cluster_bits; in fat_add_new_entries() 1399 if (dir->i_size & (sbi->cluster_size - 1)) { in fat_add_entries() 1401 dir->i_size = (dir->i_size + sbi->cluster_size - 1) in fat_add_entries() 1402 & ~((loff_t)sbi->cluster_size - 1); in fat_add_entries()
|
| A D | fat.h | 69 unsigned int cluster_size; /* cluster size */ member
|
| /linux/fs/ntfs3/ |
| A D | super.c | 474 sbi->cluster_size, sbi->used.bitmap.nbits, in ntfs3_volinfo() 669 buf->f_bsize = sbi->cluster_size; in ntfs_statfs() 935 sbi->cluster_size = boot_sector_size * sct_per_clst; in ntfs_init_from_boot() 936 sbi->cluster_bits = cluster_bits = blksize_bits(sbi->cluster_size); in ntfs_init_from_boot() 937 sbi->cluster_mask = sbi->cluster_size - 1; in ntfs_init_from_boot() 1023 if (sbi->cluster_size < boot_sector_size) { in ntfs_init_from_boot() 1025 sbi->cluster_size); in ntfs_init_from_boot() 1030 if (sbi->cluster_size < sector_size) { in ntfs_init_from_boot() 1035 sbi->cluster_size, sector_size); in ntfs_init_from_boot() 1091 sb_set_blocksize(sb, min_t(u32, sbi->cluster_size, PAGE_SIZE)); in ntfs_init_from_boot() [all …]
|
| A D | file.c | 152 stat->blksize = ni->mi.sbi->cluster_size; /* 512, 1K, ..., 2M */ in ntfs_getattr() 549 sbi->cluster_size, PAGE_SIZE)); in ntfs_fallocate()
|
| A D | frecord.c | 2662 if (sbi->cluster_size > NTFS_LZNT_MAX_CLUSTER) { in ni_read_frame() 2685 frame_size = sbi->cluster_size << NTFS_LZNT_CUNIT; in ni_read_frame() 2804 u32 frame_size = sbi->cluster_size << NTFS_LZNT_CUNIT; in ni_write_frame() 2829 if (sbi->cluster_size > NTFS_LZNT_MAX_CLUSTER) { in ni_write_frame() 2909 if (compr_size + sbi->cluster_size > frame_size) { in ni_write_frame()
|
| A D | attrib.c | 450 align = sbi->cluster_size; in attr_set_size() 1890 mask = (sbi->cluster_size << attr_b->nres.c_unit) - 1; in attr_collapse_range() 2161 mask = (sbi->cluster_size << attr_b->nres.c_unit) - 1; in attr_punch_hole() 2366 mask = (sbi->cluster_size << attr_b->nres.c_unit) - 1; in attr_insert_range()
|
| /linux/net/tipc/ |
| A D | monitor.h | 74 int tipc_nl_monitor_set_threshold(struct net *net, u32 cluster_size);
|
| A D | monitor.c | 724 int tipc_nl_monitor_set_threshold(struct net *net, u32 cluster_size) in tipc_nl_monitor_set_threshold() argument 728 if (cluster_size > TIPC_CLUSTER_SIZE) in tipc_nl_monitor_set_threshold() 731 tn->mon_threshold = cluster_size; in tipc_nl_monitor_set_threshold()
|
| 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/ocfs2/ |
| A D | ocfs1_fs_compat.h | 46 /*160*/ __u64 cluster_size; member
|
| /linux/fs/exfat/ |
| A D | file.c | 77 inode->i_blocks = round_up(size, sbi->cluster_size) >> 9; in exfat_cont_expand() 261 inode->i_blocks = round_up(i_size_read(inode), sbi->cluster_size) >> 9; in exfat_truncate() 278 stat->blksize = EXFAT_SB(inode->i_sb)->cluster_size; in exfat_getattr()
|
| A D | super.c | 80 buf->f_bsize = sbi->cluster_size; in exfat_statfs() 410 inode->i_blocks = round_up(i_size_read(inode), sbi->cluster_size) >> 9; in exfat_read_root() 515 sbi->cluster_size = 1 << sbi->cluster_size_bits; in exfat_read_boot_sector()
|
| A D | exfat_fs.h | 92 #define EXFAT_CLU_OFFSET(off, sbi) ((off) & ((sbi)->cluster_size - 1)) 251 unsigned int cluster_size; /* cluster size in bytes */ member
|
| A D | balloc.c | 268 if (clu_start >= sbi->num_clusters || range->len < sbi->cluster_size) in exfat_trim_fs()
|
| A D | namei.c | 375 ei->valid_size += sbi->cluster_size; in exfat_find_empty_entry() 377 inode->i_blocks += sbi->cluster_size >> 9; in exfat_find_empty_entry() 497 clu_size = sbi->cluster_size; in exfat_add_entry()
|
| A D | inode.c | 639 inode->i_blocks = round_up(i_size_read(inode), sbi->cluster_size) >> 9; in exfat_fill_inode()
|
| /linux/include/trace/events/ |
| A D | f2fs.h | 1969 unsigned int cluster_size, unsigned char algtype), 1971 TP_ARGS(inode, cluster_idx, cluster_size, algtype), 1985 __entry->size = cluster_size; 2031 unsigned int cluster_size, unsigned char algtype), 2033 TP_ARGS(inode, cluster_idx, cluster_size, algtype) 2039 unsigned int cluster_size, unsigned char algtype), 2041 TP_ARGS(inode, cluster_idx, cluster_size, algtype)
|
| /linux/arch/x86/kvm/ |
| A D | lapic.c | 197 u8 cluster_size = min(max_apic_id - offset + 1, 16U); in kvm_apic_map_get_logical_dest() local 201 *mask = dest_id & (0xffff >> (16 - cluster_size)); in kvm_apic_map_get_logical_dest() 869 int cluster_size = op_64_bit ? 64 : 32; in kvm_pv_send_ipi() local 886 min += cluster_size; in kvm_pv_send_ipi()
|