Home
last modified time | relevance | path

Searched refs:F2FS_BLKSIZE (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/include/linux/
Df2fs_fs.h18 #define F2FS_BLKSIZE 4096 /* support only 4KB block */ macro
22 #define F2FS_BLK_ALIGN(x) (((x) + F2FS_BLKSIZE - 1) >> F2FS_BLKSIZE_BITS)
459 #define SUM_JOURNAL_SIZE (F2FS_BLKSIZE - SUM_FOOTER_SIZE -\
/linux-6.6.21/fs/f2fs/
Dfile.c47 APP_MAPPED_READ_IO, F2FS_BLKSIZE); in f2fs_filemap_fault()
153 f2fs_update_iostat(sbi, inode, APP_MAPPED_IO, F2FS_BLKSIZE); in f2fs_vm_page_mkwrite()
1420 if (offset & (F2FS_BLKSIZE - 1) || len & (F2FS_BLKSIZE - 1)) in f2fs_collapse_range()
1626 if (offset & (F2FS_BLKSIZE - 1) || len & (F2FS_BLKSIZE - 1)) in f2fs_insert_range()
2757 if (range.start & (F2FS_BLKSIZE - 1) || range.len & (F2FS_BLKSIZE - 1)) in f2fs_ioc_defragment()
2833 len = ALIGN(src->i_size, F2FS_BLKSIZE) - pos_in; in f2fs_move_file_range()
2844 if (!IS_ALIGNED(pos_in, F2FS_BLKSIZE) || in f2fs_move_file_range()
2845 !IS_ALIGNED(pos_in + len, F2FS_BLKSIZE) || in f2fs_move_file_range()
2846 !IS_ALIGNED(pos_out, F2FS_BLKSIZE)) in f2fs_move_file_range()
3836 if (!IS_ALIGNED(range.start, F2FS_BLKSIZE) || in f2fs_sec_trim_file()
[all …]
Dgc.c1249 f2fs_update_iostat(sbi, inode, FS_DATA_READ_IO, F2FS_BLKSIZE); in ra_data_block()
1250 f2fs_update_iostat(sbi, NULL, FS_GDATA_READ_IO, F2FS_BLKSIZE); in ra_data_block()
1351 F2FS_BLKSIZE); in move_data_block()
1353 F2FS_BLKSIZE); in move_data_block()
1404 f2fs_update_iostat(fio.sbi, NULL, FS_GC_DATA_IO, F2FS_BLKSIZE); in move_data_block()
Dcheckpoint.c93 f2fs_update_iostat(sbi, NULL, FS_META_READ_IO, F2FS_BLKSIZE); in __get_meta_page()
302 F2FS_BLKSIZE); in f2fs_ra_meta_pages()
839 F2FS_BLKSIZE - chksum_ofs); in f2fs_checkpoint_chksum()
1540 f2fs_update_meta_page(sbi, (char *)ckpt + i * F2FS_BLKSIZE, in do_checkpoint()
Dinline.c428 memset(dentry_blk, 0, F2FS_BLKSIZE); in f2fs_move_inline_dirents()
Dsegment.c1237 f2fs_update_iostat(sbi, NULL, FS_ZONE_RESET_IO, dc->di.len * F2FS_BLKSIZE); in __submit_zone_reset_cmd()
1347 f2fs_update_iostat(sbi, NULL, FS_DISCARD_IO, len * F2FS_BLKSIZE); in __submit_discard_cmd()
3602 f2fs_update_iostat(sbi, NULL, io_type, F2FS_BLKSIZE); in f2fs_do_write_meta_page()
3612 f2fs_update_iostat(fio->sbi, NULL, fio->io_type, F2FS_BLKSIZE); in f2fs_do_write_node_page()
3628 f2fs_update_iostat(sbi, dn->inode, fio->io_type, F2FS_BLKSIZE); in f2fs_outplace_write_data()
3671 fio->io_type, F2FS_BLKSIZE); in f2fs_inplace_write_data()
Ddata.c1177 f2fs_update_iostat(sbi, NULL, FS_DATA_READ_IO, F2FS_BLKSIZE); in f2fs_submit_page_read()
2231 F2FS_BLKSIZE); in f2fs_read_single_page()
2383 f2fs_update_iostat(sbi, inode, FS_DATA_READ_IO, F2FS_BLKSIZE); in f2fs_read_multi_pages()
4078 not_aligned, blks_per_sec * F2FS_BLKSIZE); in check_swap_activate()
Dinode.c166 F2FS_BLKSIZE - offset); in f2fs_inode_chksum()
Dsuper.c4417 if (unlikely(!sb_set_blocksize(sb, F2FS_BLKSIZE))) { in f2fs_fill_super()
4950 if (PAGE_SIZE != F2FS_BLKSIZE) { in init_f2fs_fs()
4952 PAGE_SIZE, F2FS_BLKSIZE); in init_f2fs_fs()
Dnode.c1389 f2fs_update_iostat(sbi, NULL, FS_NODE_READ_IO, F2FS_BLKSIZE); in read_node_page()
3171 page_address(page), F2FS_BLKSIZE); in __get_nat_bitmaps()
Df2fs.h2556 return (unsigned char *)ckpt + F2FS_BLKSIZE; in __bitmap_ptr()