Home
last modified time | relevance | path

Searched refs:block_off (Results 1 – 5 of 5) sorted by relevance

/external/f2fs-tools/fsck/
Dresize.c253 pgoff_t block_off; in shrink_nats() local
267 block_off = nid / NAT_ENTRY_PER_BLOCK; in shrink_nats()
268 seg_off = block_off >> sbi->log_blocks_per_seg; in shrink_nats()
271 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in shrink_nats()
273 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) in shrink_nats()
302 pgoff_t block_off; in migrate_nat() local
310 block_off = nid / NAT_ENTRY_PER_BLOCK; in migrate_nat()
311 seg_off = block_off >> sbi->log_blocks_per_seg; in migrate_nat()
314 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in migrate_nat()
316 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) in migrate_nat()
[all …]
Ddump.c40 pgoff_t block_off; in nat_dump() local
57 for (block_off = 0; block_off < nr_nat_blks; pack = 1, block_off++) { in nat_dump()
59 seg_off = block_off >> sbi->log_blocks_per_seg; in nat_dump()
62 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in nat_dump()
64 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) { in nat_dump()
72 nid = block_off * NAT_ENTRY_PER_BLOCK; in nat_dump()
Dmount.c883 pgoff_t block_off; in current_nat_addr() local
887 block_off = NAT_BLOCK_OFFSET(start); in current_nat_addr()
888 seg_off = block_off >> sbi->log_blocks_per_seg; in current_nat_addr()
892 (block_off & ((1 << sbi->log_blocks_per_seg) -1))); in current_nat_addr()
894 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) in current_nat_addr()
2151 pgoff_t block_off; in build_nat_area_bitmap() local
2173 for (block_off = 0; block_off < nr_nat_blks; block_off++) { in build_nat_area_bitmap()
2175 seg_off = block_off >> sbi->log_blocks_per_seg; in build_nat_area_bitmap()
2178 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in build_nat_area_bitmap()
2180 if (f2fs_test_bit(block_off, nm_i->nat_bitmap)) in build_nat_area_bitmap()
[all …]
/external/syslinux/core/fs/ext2/
Dext2.c128 uint32_t block_num, block_off; in ext2_get_inode() local
139 block_off = inode_offset % EXT2_INODES_PER_BLOCK(fs); in ext2_get_inode()
144 (data + block_off * EXT2_SB(fs)->s_inode_size); in ext2_get_inode()
/external/syslinux/core/fs/ufs/
Dufs.c156 uint32_t block_num, block_off; in ufs_get_inode() local
184 block_off = inode_offset % UFS_SB(fs)->inodes_per_block; in ufs_get_inode()
191 return data + block_off * UFS_SB(fs)->inode_size; in ufs_get_inode()