Home
last modified time | relevance | path

Searched refs:cluster_size (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/soc/fsl/dpio/
H A Ddpio-driver.c57 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 Dsuper.c632 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 Dlogfile.c689 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 Diomap.c397 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 Dfile.c91 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 Dbitmap.c29 dq = vol->cluster_size; in ntfs_trim_fs()
38 (range->start + range->len + vol->cluster_size - 1)); in ntfs_trim_fs()
H A Dcompress.c656 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 Dinode.c996 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 Dmft.c624 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 Dattrib.c1828 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 Dnamei.c434 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 Ddir.c891 if (vol->cluster_size <= ictx->block_size) in ntfs_readdir()
H A Drunlist.c919 vol->cluster_size - 1) >> in ntfs_mapping_pairs_decompress()
H A Dindex.c757 if (ni->vol->cluster_size <= icx->block_size) in ntfs_index_lookup()
/linux/net/tipc/
H A Dmonitor.h74 int tipc_nl_monitor_set_threshold(struct net *net, u32 cluster_size);
H A Dmonitor.c725 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 Dbcast.c99 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 Docfs1_fs_compat.h46 /*160*/ __u64 cluster_size; member