Home
last modified time | relevance | path

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

/linux-6.1.9/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)
458 #define SUM_JOURNAL_SIZE (F2FS_BLKSIZE - SUM_FOOTER_SIZE -\
/linux-6.1.9/fs/f2fs/
Dfile.c47 APP_MAPPED_READ_IO, F2FS_BLKSIZE); in f2fs_filemap_fault()
157 f2fs_update_iostat(sbi, inode, APP_MAPPED_IO, F2FS_BLKSIZE); in f2fs_vm_page_mkwrite()
1424 if (offset & (F2FS_BLKSIZE - 1) || len & (F2FS_BLKSIZE - 1)) in f2fs_collapse_range()
1629 if (offset & (F2FS_BLKSIZE - 1) || len & (F2FS_BLKSIZE - 1)) in f2fs_insert_range()
2716 if (range.start & (F2FS_BLKSIZE - 1) || range.len & (F2FS_BLKSIZE - 1)) in f2fs_ioc_defragment()
2787 len = ALIGN(src->i_size, F2FS_BLKSIZE) - pos_in; in f2fs_move_file_range()
2798 if (!IS_ALIGNED(pos_in, F2FS_BLKSIZE) || in f2fs_move_file_range()
2799 !IS_ALIGNED(pos_in + len, F2FS_BLKSIZE) || in f2fs_move_file_range()
2800 !IS_ALIGNED(pos_out, F2FS_BLKSIZE)) in f2fs_move_file_range()
3763 if (!IS_ALIGNED(range.start, F2FS_BLKSIZE) || in f2fs_sec_trim_file()
[all …]
Dgc.c1216 f2fs_update_iostat(sbi, inode, FS_DATA_READ_IO, F2FS_BLKSIZE); in ra_data_block()
1217 f2fs_update_iostat(sbi, NULL, FS_GDATA_READ_IO, F2FS_BLKSIZE); in ra_data_block()
1318 F2FS_BLKSIZE); in move_data_block()
1320 F2FS_BLKSIZE); in move_data_block()
1372 f2fs_update_iostat(fio.sbi, NULL, FS_GC_DATA_IO, F2FS_BLKSIZE); in move_data_block()
Dcheckpoint.c96 f2fs_update_iostat(sbi, NULL, FS_META_READ_IO, F2FS_BLKSIZE); in __get_meta_page()
292 F2FS_BLKSIZE); in f2fs_ra_meta_pages()
840 F2FS_BLKSIZE - chksum_ofs); in f2fs_checkpoint_chksum()
1542 f2fs_update_meta_page(sbi, (char *)ckpt + i * F2FS_BLKSIZE, in do_checkpoint()
Ddata.c1094 f2fs_update_iostat(sbi, NULL, FS_DATA_READ_IO, F2FS_BLKSIZE); in f2fs_submit_page_read()
2143 F2FS_BLKSIZE); in f2fs_read_single_page()
2291 f2fs_update_iostat(sbi, inode, FS_DATA_READ_IO, F2FS_BLKSIZE); in f2fs_read_multi_pages()
3959 not_aligned, blks_per_sec * F2FS_BLKSIZE); in check_swap_activate()
Dsegment.c1173 f2fs_update_iostat(sbi, NULL, FS_DISCARD, len * F2FS_BLKSIZE); in __submit_discard_cmd()
3392 f2fs_update_iostat(sbi, NULL, io_type, F2FS_BLKSIZE); in f2fs_do_write_meta_page()
3402 f2fs_update_iostat(fio->sbi, NULL, fio->io_type, F2FS_BLKSIZE); in f2fs_do_write_node_page()
3416 f2fs_update_iostat(sbi, dn->inode, fio->io_type, F2FS_BLKSIZE); in f2fs_outplace_write_data()
3459 fio->io_type, F2FS_BLKSIZE); in f2fs_inplace_write_data()
Dinode.c164 F2FS_BLKSIZE - offset); in f2fs_inode_chksum()
Dsuper.c4108 if (unlikely(!sb_set_blocksize(sb, F2FS_BLKSIZE))) { in f2fs_fill_super()
4648 if (PAGE_SIZE != F2FS_BLKSIZE) { in init_f2fs_fs()
4650 PAGE_SIZE, F2FS_BLKSIZE); in init_f2fs_fs()
Dnode.c1373 f2fs_update_iostat(sbi, NULL, FS_NODE_READ_IO, F2FS_BLKSIZE); in read_node_page()
3151 page_address(page), F2FS_BLKSIZE); in __get_nat_bitmaps()
Df2fs.h2543 return (unsigned char *)ckpt + F2FS_BLKSIZE; in __bitmap_ptr()