| /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/ntfs/ |
| H A D | super.c | 632 vol->cluster_size = vol->sector_size << sectors_per_cluster_bits; in parse_ntfs_boot_sector() 633 vol->cluster_size_mask = vol->cluster_size - 1; in parse_ntfs_boot_sector() 634 vol->cluster_size_bits = ffs(vol->cluster_size) - 1; in parse_ntfs_boot_sector() 635 ntfs_debug("vol->cluster_size = %i (0x%x)", vol->cluster_size, in parse_ntfs_boot_sector() 636 vol->cluster_size); in parse_ntfs_boot_sector() 639 if (vol->cluster_size < vol->sector_size) { in parse_ntfs_boot_sector() 642 vol->cluster_size, vol->sector_size); in parse_ntfs_boot_sector() 649 vol->mft_record_size = vol->cluster_size << in parse_ntfs_boot_sector() 685 vol->index_record_size = vol->cluster_size << in parse_ntfs_boot_sector() 747 if (vol->cluster_size <= (4 << vol->mft_record_size_bits)) in parse_ntfs_boot_sector() [all …]
|
| H A D | logfile.c | 689 empty_buf = kvzalloc(vol->cluster_size, GFP_NOFS); in ntfs_empty_logfile() 693 memset(empty_buf, 0xff, vol->cluster_size); in ntfs_empty_logfile() 735 vol->cluster_size); in ntfs_empty_logfile() 751 start, start + vol->cluster_size); in ntfs_empty_logfile() 755 start += vol->cluster_size; in ntfs_empty_logfile()
|
| H A D | iomap.c | 397 ntfs_bytes_to_cluster(vol, round_up(length, vol->cluster_size)); in ntfs_write_simple_iomap_begin_non_resident() 512 if (vcn_ofs || ((vol->cluster_size > iomap->length) && in ntfs_write_simple_iomap_begin_non_resident() 517 z_end = min_t(loff_t, z_start + vol->cluster_size, in ntfs_write_simple_iomap_begin_non_resident() 532 z_end = min_t(loff_t, z_start + vol->cluster_size, in ntfs_write_simple_iomap_begin_non_resident() 580 ntfs_bytes_to_cluster(vol, round_up(length, vol->cluster_size)); in ntfs_write_da_iomap_begin_non_resident() 621 if (vcn_ofs || ((vol->cluster_size > iomap->length) && in ntfs_write_da_iomap_begin_non_resident() 626 vol->cluster_size); in ntfs_write_da_iomap_begin_non_resident() 633 vol->cluster_size); in ntfs_write_da_iomap_begin_non_resident()
|
| H A D | file.c | 91 aligned_data_size = round_up(ni->data_size, vol->cluster_size); in ntfs_trim_prealloc() 372 stat->blksize = NTFS_SB(inode->i_sb)->cluster_size; in ntfs_getattr() 765 if (range.len < vol->cluster_size) in ntfs_ioctl_fitrim() 854 vol->cluster_size, PAGE_SIZE)); in ntfs_punch_hole() 928 max_t(unsigned long, vol->cluster_size, PAGE_SIZE)); in ntfs_collapse_range() 943 vol->cluster_size) >> vol->cluster_size_bits) + 1; in ntfs_collapse_range() 970 max_t(unsigned long, vol->cluster_size, PAGE_SIZE)); in ntfs_insert_range()
|
| 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()
|
| H A D | compress.c | 656 vol->cluster_size); in ntfs_read_compressed_block() 659 cb_pos += vol->cluster_size; in ntfs_read_compressed_block() 1338 if (!sz || ((compsz + sz + vol->cluster_size + 2) > in ntfs_write_cb() 1366 rounded = ((compsz - 1) | (vol->cluster_size - 1)) + 1; in ntfs_write_cb() 1379 new_length = ntfs_bytes_to_cluster(vol, round_up(bio_size, vol->cluster_size)); in ntfs_write_cb()
|
| H A D | inode.c | 996 if (vol->cluster_size <= ni->itype.index.block_size) { in ntfs_read_locked_inode() 997 ni->itype.index.vcn_size = vol->cluster_size; in ntfs_read_locked_inode() 1079 if (vol->cluster_size > 4096) { in ntfs_read_locked_inode() 1082 vol->cluster_size); in ntfs_read_locked_inode() 1289 if (vol->cluster_size > 4096) { in ntfs_read_locked_attr_inode() 1292 vol->cluster_size); in ntfs_read_locked_attr_inode() 1568 if (vol->cluster_size <= ni->itype.index.block_size) { in ntfs_read_locked_index_inode() 1569 ni->itype.index.vcn_size = vol->cluster_size; in ntfs_read_locked_index_inode() 2680 if (mft_ni->vol->cluster_size < mft_ni->vol->mft_record_size && in ntfs_get_block_mft_record()
|
| H A D | mft.c | 624 offset += vol->cluster_size; in write_mft_record_nolock() 1367 mftbmp_ni->allocated_size += vol->cluster_size; in ntfs_mft_bitmap_extend_allocation_nolock() 1387 mftbmp_ni->allocated_size += vol->cluster_size; in ntfs_mft_bitmap_extend_allocation_nolock() 2824 if (vol->cluster_size < folio_size(folio)) { in ntfs_write_mft_block() 2855 if (vol->cluster_size == NTFS_BLOCK_SIZE && in ntfs_write_mft_block()
|
| H A D | attrib.c | 1828 new_size = (data_size + vol->cluster_size - 1) & in ntfs_attr_make_non_resident() 1829 ~(vol->cluster_size - 1); in ntfs_attr_make_non_resident() 3000 && (ni->vol->cluster_size <= MAX_COMPRESSION_CLUSTER_SIZE)) in ntfs_attr_open() 4061 ntfs_bytes_to_cluster(vol, newsize + vol->cluster_size - 1); in ntfs_non_resident_attr_shrink() 4226 ntfs_bytes_to_cluster(vol, prealloc_size + vol->cluster_size - 1); in ntfs_non_resident_attr_expand() 4229 ntfs_bytes_to_cluster(vol, newsize + vol->cluster_size - 1); in ntfs_non_resident_attr_expand() 4272 round_up(alloc_size, vol->cluster_size)); in ntfs_non_resident_attr_expand() 5457 round_up(start + byte_len, vol->cluster_size)); in ntfs_attr_fallocate() 5459 round_up(ni->initialized_size, vol->cluster_size)); in ntfs_attr_fallocate()
|
| H A D | namei.c | 434 if (vol->cluster_size <= ni->itype.index.block_size) { in __ntfs_create() 435 ni->itype.index.vcn_size = vol->cluster_size; in __ntfs_create() 572 if (ni->vol->cluster_size <= ni->vol->index_record_size) in __ntfs_create()
|
| H A D | dir.c | 891 if (vol->cluster_size <= ictx->block_size) in ntfs_readdir()
|
| H A D | runlist.c | 919 vol->cluster_size - 1) >> in ntfs_mapping_pairs_decompress()
|
| H A D | index.c | 757 if (ni->vol->cluster_size <= icx->block_size) in ntfs_index_lookup()
|
| /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
|