| /OK3568_Linux_fs/kernel/fs/f2fs/ |
| H A D | compress.c | 60 return index & (cc->cluster_size - 1); in offset_in_cluster() 113 f2fs_drop_rpages(cc, cc->cluster_size, false); in f2fs_put_rpages() 126 for (i = 0; i < cc->cluster_size; i++) { in f2fs_put_rpages_wbc() 145 cc->rpages = page_array_alloc(cc->inode, cc->cluster_size); in f2fs_init_compress_ctx() 151 page_array_free(cc->inode, cc->rpages, cc->cluster_size); in f2fs_destroy_compress_ctx() 625 cc->cluster_size, fi->i_compress_algorithm); in f2fs_compress_pages() 650 cc->rbuf = f2fs_vmap(cc->rpages, cc->cluster_size); in f2fs_compress_pages() 666 max_len = PAGE_SIZE * (cc->cluster_size - 1) - COMPRESS_HEADER_SIZE; in f2fs_compress_pages() 698 vm_unmap_ram(cc->rbuf, cc->cluster_size); in f2fs_compress_pages() 723 vm_unmap_ram(cc->rbuf, cc->cluster_size); in f2fs_compress_pages() [all …]
|
| H A D | file.c | 575 int cluster_size = F2FS_I(dn->inode)->i_cluster_size; in f2fs_truncate_data_blocks_range() local 589 !(cluster_index & (cluster_size - 1))) { in f2fs_truncate_data_blocks_range() 3500 int cluster_size = F2FS_I(dn->inode)->i_cluster_size; in release_compress_blocks() local 3518 for (i = 0; i < cluster_size; i++, dn->ofs_in_node++) { in release_compress_blocks() 3524 dn->ofs_in_node += cluster_size; in release_compress_blocks() 3540 cluster_size - compr_blocks); in release_compress_blocks() 3542 released_blocks += cluster_size - compr_blocks; in release_compress_blocks() 3544 count -= cluster_size; in release_compress_blocks() 3662 int cluster_size = F2FS_I(dn->inode)->i_cluster_size; in reserve_compress_blocks() local 3682 for (i = 0; i < cluster_size; i++, dn->ofs_in_node++) { in reserve_compress_blocks() [all …]
|
| H A D | data.c | 1895 unsigned int cluster_size = F2FS_I(inode)->i_cluster_size; in f2fs_fiemap() local 1946 map.m_len = cluster_size - count_in_cluster; in f2fs_fiemap() 1993 unsigned int appended_blks = cluster_size - in f2fs_fiemap() 2008 if (count_in_cluster == cluster_size) { in f2fs_fiemap() 2186 for (i = 0; i < cc->cluster_size; i++) { in f2fs_read_multi_pages() 2223 for (i = 1; i < cc->cluster_size; i++) { in f2fs_read_multi_pages() 2317 for (i = 0; i < cc->cluster_size; i++) { in f2fs_read_multi_pages() 2343 .cluster_size = F2FS_I(inode)->i_cluster_size, in f2fs_mpage_readpages() 2943 .cluster_size = F2FS_I(inode)->i_cluster_size, in f2fs_write_cache_pages()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/ |
| H A D | get_left_turns.hpp | 221 inline void block_turns(AngleCollection& sorted, std::size_t cluster_size) in block_turns() argument 223 BOOST_GEOMETRY_ASSERT(boost::size(sorted) >= 4u && cluster_size > 0); in block_turns() 226 for (std::size_t i = 0; i < cluster_size; i++) in block_turns() 251 previous_index = cluster_size - 1; in block_turns() 254 if (next_index >= static_cast<signed_size_type>(cluster_size)) in block_turns()
|
| H A D | occupation_info.hpp | 121 std::size_t cluster_size = detail::left_turns::assign_cluster_indices(m_angles, origin); in get_left_turns() local 123 detail::left_turns::block_turns(m_angles, cluster_size); in get_left_turns()
|
| /OK3568_Linux_fs/kernel/drivers/soc/fsl/dpio/ |
| H A D | dpio-driver.c | 58 int cluster_base, cluster_size; in dpaa2_dpio_get_cluster_sdest() local 62 cluster_size = 4; in dpaa2_dpio_get_cluster_sdest() 67 cluster_size = 2; in dpaa2_dpio_get_cluster_sdest() 73 return cluster_base + cpu / cluster_size; in dpaa2_dpio_get_cluster_sdest()
|
| /OK3568_Linux_fs/kernel/fs/ntfs/ |
| H A D | super.c | 777 vol->cluster_size = vol->sector_size << sectors_per_cluster_bits; in parse_ntfs_boot_sector() 778 vol->cluster_size_mask = vol->cluster_size - 1; in parse_ntfs_boot_sector() 779 vol->cluster_size_bits = ffs(vol->cluster_size) - 1; in parse_ntfs_boot_sector() 780 ntfs_debug("vol->cluster_size = %i (0x%x)", vol->cluster_size, in parse_ntfs_boot_sector() 781 vol->cluster_size); in parse_ntfs_boot_sector() 784 if (vol->cluster_size < vol->sector_size) { in parse_ntfs_boot_sector() 787 "Sorry.", vol->cluster_size, vol->sector_size); in parse_ntfs_boot_sector() 794 vol->mft_record_size = vol->cluster_size << in parse_ntfs_boot_sector() 834 vol->index_record_size = vol->cluster_size << in parse_ntfs_boot_sector() 915 if (vol->cluster_size <= (4 << vol->mft_record_size_bits)) in parse_ntfs_boot_sector() [all …]
|
| H A D | file.c | 634 cend = (end + vol->cluster_size - 1) >> vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write() 930 if (unlikely(vol->cluster_size < PAGE_SIZE)) { in ntfs_prepare_pages_for_non_resident_write() 931 bh_cend = (bh_end + vol->cluster_size - 1) >> in ntfs_prepare_pages_for_non_resident_write() 1143 ni->itype.compressed.size += vol->cluster_size; in ntfs_prepare_pages_for_non_resident_write() 1236 ni->itype.compressed.size += vol->cluster_size; in ntfs_prepare_pages_for_non_resident_write() 1775 if (vol->cluster_size > PAGE_SIZE && NInoNonResident(ni)) in ntfs_perform_write() 1776 nr_pages = vol->cluster_size >> PAGE_SHIFT; in ntfs_perform_write() 1821 bytes = vol->cluster_size - (pos & in ntfs_perform_write()
|
| H A D | volume.h | 46 u32 cluster_size; /* in bytes */ member
|
| H A D | inode.c | 866 if (vol->cluster_size <= ni->itype.index.block_size) { in ntfs_read_locked_inode() 867 ni->itype.index.vcn_size = vol->cluster_size; in ntfs_read_locked_inode() 1035 if (vol->cluster_size > 4096) { in ntfs_read_locked_inode() 1042 vol->cluster_size); in ntfs_read_locked_inode() 1257 if (vol->cluster_size > 4096) { in ntfs_read_locked_attr_inode() 1262 vol->cluster_size); in ntfs_read_locked_attr_inode() 1576 if (vol->cluster_size <= ni->itype.index.block_size) { in ntfs_read_locked_index_inode() 1577 ni->itype.index.vcn_size = vol->cluster_size; in ntfs_read_locked_index_inode() 2425 new_alloc_size = (new_size + vol->cluster_size - 1) & in ntfs_truncate()
|
| /OK3568_Linux_fs/kernel/fs/fat/ |
| H A D | file.c | 286 nr_cluster = (mm_bytes + (sbi->cluster_size - 1)) >> in fat_fallocate() 381 const unsigned int cluster_size = sbi->cluster_size; in fat_truncate_blocks() local 391 nr_clusters = (offset + (cluster_size - 1)) >> sbi->cluster_bits; in fat_truncate_blocks() 402 stat->blksize = MSDOS_SB(inode->i_sb)->cluster_size; in fat_getattr()
|
| H A D | inode.c | 564 inode->i_blocks = ((inode->i_size + (sbi->cluster_size - 1)) in fat_fill_inode() 565 & ~((loff_t)sbi->cluster_size - 1)) >> 9; in fat_fill_inode() 629 MSDOS_SB(inode->i_sb)->cluster_size)) { in fat_free_eofblocks() 835 buf->f_bsize = sbi->cluster_size; in fat_statfs() 1404 inode->i_blocks = ((inode->i_size + (sbi->cluster_size - 1)) in fat_read_root() 1405 & ~((loff_t)sbi->cluster_size - 1)) >> 9; in fat_read_root() 1698 sbi->cluster_size = sb->s_blocksize * sbi->sec_per_clus; in fat_fill_super() 1699 sbi->cluster_bits = ffs(sbi->cluster_size) - 1; in fat_fill_super()
|
| H A D | dir.c | 1215 *nr_cluster = (size + (sbi->cluster_size - 1)) >> sbi->cluster_bits; in fat_add_new_entries() 1387 if (dir->i_size & (sbi->cluster_size - 1)) { in fat_add_entries() 1389 dir->i_size = (dir->i_size + sbi->cluster_size - 1) in fat_add_entries() 1390 & ~((loff_t)sbi->cluster_size - 1); in fat_add_entries()
|
| H A D | fat.h | 66 unsigned int cluster_size; /* cluster size */ member
|
| /OK3568_Linux_fs/kernel/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 | 693 int tipc_nl_monitor_set_threshold(struct net *net, u32 cluster_size) in tipc_nl_monitor_set_threshold() argument 697 if (cluster_size > TIPC_CLUSTER_SIZE) in tipc_nl_monitor_set_threshold() 700 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()
|
| /OK3568_Linux_fs/kernel/fs/ocfs2/ |
| H A D | ocfs1_fs_compat.h | 48 /*160*/ __u64 cluster_size; member
|
| /OK3568_Linux_fs/kernel/fs/exfat/ |
| H A D | file.c | 253 inode->i_blocks = round_up(i_size_read(inode), sbi->cluster_size) >> in exfat_truncate() 281 stat->blksize = EXFAT_SB(inode->i_sb)->cluster_size; in exfat_getattr()
|
| H A D | super.c | 88 buf->f_bsize = sbi->cluster_size; in exfat_statfs() 367 inode->i_blocks = round_up(i_size_read(inode), sbi->cluster_size) >> in exfat_read_root() 476 sbi->cluster_size = 1 << sbi->cluster_size_bits; in exfat_read_boot_sector()
|
| H A D | exfat_fs.h | 85 #define EXFAT_CLU_OFFSET(off, sbi) ((off) & ((sbi)->cluster_size - 1)) 217 unsigned int cluster_size; /* cluster size in bytes */ member
|
| H A D | namei.c | 398 ei->i_size_ondisk += sbi->cluster_size; in exfat_find_empty_entry() 399 ei->i_size_aligned += sbi->cluster_size; in exfat_find_empty_entry() 505 clu_size = sbi->cluster_size; in exfat_add_entry()
|
| /OK3568_Linux_fs/kernel/include/trace/events/ |
| H A D | f2fs.h | 1825 unsigned int cluster_size, unsigned char algtype), 1827 TP_ARGS(inode, cluster_idx, cluster_size, algtype), 1841 __entry->size = cluster_size; 1887 unsigned int cluster_size, unsigned char algtype), 1889 TP_ARGS(inode, cluster_idx, cluster_size, algtype) 1895 unsigned int cluster_size, unsigned char algtype), 1897 TP_ARGS(inode, cluster_idx, cluster_size, algtype)
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | fat.h | 97 __u8 cluster_size; /* Sectors/cluster */ member
|
| /OK3568_Linux_fs/kernel/arch/x86/kvm/ |
| H A D | lapic.c | 141 u8 cluster_size = min(max_apic_id - offset + 1, 16U); in kvm_apic_map_get_logical_dest() local 145 *mask = dest_id & (0xffff >> (16 - cluster_size)); in kvm_apic_map_get_logical_dest() 630 int cluster_size = op_64_bit ? 64 : 32; in kvm_pv_send_ipi() local 647 min += cluster_size; in kvm_pv_send_ipi()
|