| /linux/fs/f2fs/ |
| H A D | compress.c | 61 return index & (cc->cluster_size - 1); in offset_in_cluster() 114 f2fs_drop_rpages(cc, cc->cluster_size, false); in f2fs_put_rpages() 127 for (i = 0; i < cc->cluster_size; i++) { in f2fs_put_rpages_wbc() 148 cc->rpages = page_array_alloc(F2FS_I_SB(cc->inode), cc->cluster_size); in f2fs_init_compress_ctx() 154 page_array_free(F2FS_I_SB(cc->inode), cc->rpages, cc->cluster_size); in f2fs_destroy_compress_ctx() 630 cc->cluster_size, fi->i_compress_algorithm); in f2fs_compress_pages() 651 cc->rbuf = f2fs_vmap(cc->rpages, cc->cluster_size); in f2fs_compress_pages() 667 max_len = PAGE_SIZE * (cc->cluster_size - 1) - COMPRESS_HEADER_SIZE; in f2fs_compress_pages() 691 vm_unmap_ram(cc->rbuf, cc->cluster_size); in f2fs_compress_pages() 710 vm_unmap_ram(cc->rbuf, cc->cluster_size); in f2fs_compress_pages() [all …]
|
| /linux/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/fs/ntfs3/ |
| H A D | super.c | 499 sbi->cluster_size, sbi->used.bitmap.nbits, in ntfs3_volinfo() 742 buf->f_bsize = buf->f_frsize = sbi->cluster_size; in ntfs_statfs() 1027 sbi->cluster_size = boot_sector_size * sct_per_clst; in ntfs_init_from_boot() 1028 sbi->cluster_bits = cluster_bits = blksize_bits(sbi->cluster_size); in ntfs_init_from_boot() 1029 sbi->cluster_mask = sbi->cluster_size - 1; in ntfs_init_from_boot() 1116 if (sbi->cluster_size < boot_sector_size) { in ntfs_init_from_boot() 1118 sbi->cluster_size); in ntfs_init_from_boot() 1123 if (sbi->cluster_size < sector_size) { in ntfs_init_from_boot() 1128 sbi->cluster_size, sector_size); in ntfs_init_from_boot() 1184 sb_set_blocksize(sb, min_t(u32, sbi->cluster_size, PAGE_SIZE)); in ntfs_init_from_boot() [all …]
|
| H A D | frecord.c | 2370 if (sbi->cluster_size > NTFS_LZNT_MAX_CLUSTER) { in ni_read_frame() 2394 frame_size = sbi->cluster_size << NTFS_LZNT_CUNIT; in ni_read_frame() 2485 u32 frame_size = sbi->cluster_size << NTFS_LZNT_CUNIT; in ni_write_frame() 2507 if (sbi->cluster_size > NTFS_LZNT_MAX_CLUSTER) { in ni_write_frame() 2567 if (compr_size + sbi->cluster_size > frame_size) { in ni_write_frame()
|
| H A D | file.c | 198 stat->blksize = ni->mi.sbi->cluster_size; /* 512, 1K, ..., 2M */ in ntfs_getattr() 458 sbi->cluster_size, PAGE_SIZE)); in ntfs_fallocate()
|
| H A D | index.c | 896 if (t32 < sbi->cluster_size) { in indx_init() 902 if ((sbi->cluster_size >> SECTOR_SHIFT) & in indx_init()
|
| H A D | fslog.c | 2668 sbi->cluster_size ? in check_index_root() 4229 if (sbi->cluster_size <= log->page_size) in log_replay() 5087 i < t16; i++, vcn += 1, size += sbi->cluster_size) { in log_replay()
|
| H A D | ntfs_fs.h | 221 u32 cluster_size; // bytes per cluster member
|
| /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/ocfs2/ |
| H A D | ocfs1_fs_compat.h | 46 /*160*/ __u64 cluster_size; member
|
| /linux/fs/fat/ |
| H A D | inode.c | 563 inode->i_blocks = ((inode->i_size + (sbi->cluster_size - 1)) in fat_fill_inode() 564 & ~((loff_t)sbi->cluster_size - 1)) >> 9; in fat_fill_inode() 633 MSDOS_SB(inode->i_sb)->cluster_size)) { in fat_free_eofblocks() 843 buf->f_bsize = sbi->cluster_size; in fat_statfs() 1340 inode->i_blocks = ((inode->i_size + (sbi->cluster_size - 1)) in fat_read_root() 1341 & ~((loff_t)sbi->cluster_size - 1)) >> 9; in fat_read_root() 1654 sbi->cluster_size = sb->s_blocksize * sbi->sec_per_clus; in fat_fill_super() 1655 sbi->cluster_bits = ffs(sbi->cluster_size) - 1; in fat_fill_super()
|
| H A D | fatent.c | 783 if (ent_start >= sbi->max_cluster || range->len < sbi->cluster_size) in fat_trim_fs()
|
| /linux/fs/exfat/ |
| H A D | super.c | 62 buf->f_bsize = sbi->cluster_size; in exfat_statfs() 387 inode->i_blocks = round_up(i_size_read(inode), sbi->cluster_size) >> 9; in exfat_read_root() 495 sbi->cluster_size = 1 << sbi->cluster_size_bits; in exfat_read_boot_sector()
|
| H A D | balloc.c | 340 if (clu_start >= sbi->num_clusters || range->len < sbi->cluster_size) in exfat_trim_fs()
|
| /linux/include/trace/events/ |
| H A D | f2fs.h | 2025 unsigned int cluster_size, unsigned char algtype), 2027 TP_ARGS(inode, cluster_idx, cluster_size, algtype), 2041 __entry->size = cluster_size; 2046 "cluster_size = %u, algorithm = %s", 2087 unsigned int cluster_size, unsigned char algtype), 2089 TP_ARGS(inode, cluster_idx, cluster_size, algtype) 2095 unsigned int cluster_size, unsigned char algtype), 2097 TP_ARGS(inode, cluster_idx, cluster_size, algtype)
|
| /linux/arch/x86/kvm/ |
| H A D | lapic.c | 224 u8 cluster_size = min(max_apic_id - offset + 1, 16U); in kvm_apic_map_get_logical_dest() local 228 *mask = dest_id & (0xffff >> (16 - cluster_size)); in kvm_apic_map_get_logical_dest() 866 int cluster_size = op_64_bit ? 64 : 32; in kvm_pv_send_ipi() local 883 min += cluster_size; in kvm_pv_send_ipi()
|
| /linux/fs/ext4/ |
| H A D | xattr.c | 908 size_t cluster_size = 1 << (EXT4_SB(sb)->s_cluster_bits + in round_up_cluster() local 910 size_t mask = ~(cluster_size - 1); in round_up_cluster() 912 return (length + cluster_size - 1) & mask; in round_up_cluster()
|