| /linux-6.15/fs/f2fs/ |
| H 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() 906 if (dn->ofs_in_node % cluster_size) { in f2fs_sanity_check_cluster() 1081 for (i = 0; i < cc->cluster_size; i++) in set_cluster_dirty() 1165 return cc->cluster_size; in prepare_compress_overwrite() 1345 cic->nr_rpages = cc->cluster_size; in f2fs_write_compressed_pages() 1369 for (i = 0; i < cc->cluster_size; i++) in f2fs_write_compressed_pages() 1710 dic->cluster_size = cc->cluster_size; in f2fs_alloc_dic() 1717 for (i = 0; i < dic->cluster_size; i++) in f2fs_alloc_dic() [all …]
|
| H A D | file.c | 622 int cluster_size = F2FS_I(dn->inode)->i_cluster_size; in f2fs_truncate_data_blocks_range() local 635 !(cluster_index & (cluster_size - 1))) { in f2fs_truncate_data_blocks_range() 3709 int cluster_size = F2FS_I(dn->inode)->i_cluster_size; in release_compress_blocks() local 3733 dn->ofs_in_node += cluster_size; in release_compress_blocks() 3748 cluster_size - compr_blocks); in release_compress_blocks() 3750 released_blocks += cluster_size - compr_blocks; in release_compress_blocks() 3752 count -= cluster_size; in release_compress_blocks() 3899 for (i = 0; i < cluster_size; i++) { in reserve_compress_blocks() 3905 dn->ofs_in_node += cluster_size; in reserve_compress_blocks() 3930 dn->ofs_in_node += cluster_size; in reserve_compress_blocks() [all …]
|
| H A D | data.c | 1907 unsigned int cluster_size = F2FS_I(inode)->i_cluster_size; in f2fs_fiemap() local 1957 map.m_len = cluster_size - count_in_cluster; in f2fs_fiemap() 2014 unsigned int appended_blks = cluster_size - in f2fs_fiemap() 2029 if (count_in_cluster == cluster_size) { in f2fs_fiemap() 2205 for (i = 0; i < cc->cluster_size; i++) { in f2fs_read_multi_pages() 2245 for (i = 1; i < cc->cluster_size; i++) { in f2fs_read_multi_pages() 2340 for (i = 0; i < cc->cluster_size; i++) { in f2fs_read_multi_pages() 2365 .cluster_size = F2FS_I(inode)->i_cluster_size, in f2fs_mpage_readpages() 2960 .cluster_size = F2FS_I(inode)->i_cluster_size, in f2fs_write_cache_pages()
|
| H A D | node.c | 856 unsigned int cluster_size = F2FS_I(dn->inode)->i_cluster_size; in f2fs_get_dnode_of_data() local 863 if (fofs % cluster_size) { in f2fs_get_dnode_of_data() 864 fofs = round_down(fofs, cluster_size); in f2fs_get_dnode_of_data() 865 ofs_in_node = round_down(ofs_in_node, cluster_size); in f2fs_get_dnode_of_data() 878 fofs, blkaddr, cluster_size, c_len); in f2fs_get_dnode_of_data()
|
| /linux-6.15/drivers/soc/fsl/dpio/ |
| H 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-6.15/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()
|
| H 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()
|
| H 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()
|
| H A D | fat.h | 69 unsigned int cluster_size; /* cluster size */ member
|
| /linux-6.15/fs/ntfs3/ |
| H A D | super.c | 474 sbi->cluster_size, sbi->used.bitmap.nbits, in ntfs3_volinfo() 710 buf->f_bsize = sbi->cluster_size; in ntfs_statfs() 976 sbi->cluster_size = boot_sector_size * sct_per_clst; in ntfs_init_from_boot() 977 sbi->cluster_bits = cluster_bits = blksize_bits(sbi->cluster_size); in ntfs_init_from_boot() 978 sbi->cluster_mask = sbi->cluster_size - 1; in ntfs_init_from_boot() 1064 if (sbi->cluster_size < boot_sector_size) { in ntfs_init_from_boot() 1066 sbi->cluster_size); in ntfs_init_from_boot() 1071 if (sbi->cluster_size < sector_size) { in ntfs_init_from_boot() 1076 sbi->cluster_size, sector_size); in ntfs_init_from_boot() 1132 sb_set_blocksize(sb, min_t(u32, sbi->cluster_size, PAGE_SIZE)); in ntfs_init_from_boot() [all …]
|
| H A D | file.c | 170 stat->blksize = ni->mi.sbi->cluster_size; /* 512, 1K, ..., 2M */ in ntfs_getattr() 570 sbi->cluster_size, PAGE_SIZE)); in ntfs_fallocate()
|
| H A D | frecord.c | 2535 if (sbi->cluster_size > NTFS_LZNT_MAX_CLUSTER) { in ni_read_frame() 2559 frame_size = sbi->cluster_size << NTFS_LZNT_CUNIT; in ni_read_frame() 2679 u32 frame_size = sbi->cluster_size << NTFS_LZNT_CUNIT; in ni_write_frame() 2704 if (sbi->cluster_size > NTFS_LZNT_MAX_CLUSTER) { in ni_write_frame() 2784 if (compr_size + sbi->cluster_size > frame_size) { in ni_write_frame()
|
| H 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-6.15/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-6.15/fs/ocfs2/ |
| H A D | ocfs1_fs_compat.h | 46 /*160*/ __u64 cluster_size; member
|
| /linux-6.15/fs/exfat/ |
| H 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()
|
| H A D | super.c | 71 buf->f_bsize = sbi->cluster_size; in exfat_statfs() 401 inode->i_blocks = round_up(i_size_read(inode), sbi->cluster_size) >> 9; in exfat_read_root() 506 sbi->cluster_size = 1 << sbi->cluster_size_bits; in exfat_read_boot_sector()
|
| H A D | exfat_fs.h | 90 #define EXFAT_CLU_OFFSET(off, sbi) ((off) & ((sbi)->cluster_size - 1)) 251 unsigned int cluster_size; /* cluster size in bytes */ member
|
| H A D | balloc.c | 260 if (clu_start >= sbi->num_clusters || range->len < sbi->cluster_size) in exfat_trim_fs()
|
| H A D | namei.c | 388 ei->valid_size += sbi->cluster_size; in exfat_find_empty_entry() 390 inode->i_blocks += sbi->cluster_size >> 9; in exfat_find_empty_entry() 504 clu_size = sbi->cluster_size; in exfat_add_entry()
|
| H A D | inode.c | 663 inode->i_blocks = round_up(i_size_read(inode), sbi->cluster_size) >> 9; in exfat_fill_inode()
|
| /linux-6.15/include/trace/events/ |
| H A D | f2fs.h | 1968 unsigned int cluster_size, unsigned char algtype), 1970 TP_ARGS(inode, cluster_idx, cluster_size, algtype), 1984 __entry->size = cluster_size; 2030 unsigned int cluster_size, unsigned char algtype), 2032 TP_ARGS(inode, cluster_idx, cluster_size, algtype) 2038 unsigned int cluster_size, unsigned char algtype), 2040 TP_ARGS(inode, cluster_idx, cluster_size, algtype)
|
| /linux-6.15/arch/x86/kvm/ |
| H 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() 870 int cluster_size = op_64_bit ? 64 : 32; in kvm_pv_send_ipi() local 887 min += cluster_size; in kvm_pv_send_ipi()
|