Home
last modified time | relevance | path

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

/Linux-v5.4/fs/f2fs/
Dinline.c23 if (i_size_read(inode) > MAX_INLINE_DATA(inode)) in f2fs_may_inline_data()
53 zero_user_segment(page, MAX_INLINE_DATA(inode), PAGE_SIZE); in f2fs_do_read_inline_data()
58 memcpy(dst_addr, src_addr, MAX_INLINE_DATA(inode)); in f2fs_do_read_inline_data()
70 if (from >= MAX_INLINE_DATA(inode)) in f2fs_truncate_inline_inode()
76 memset(addr + from, 0, MAX_INLINE_DATA(inode) - from); in f2fs_truncate_inline_inode()
241 memcpy(dst_addr, src_addr, MAX_INLINE_DATA(inode)); in f2fs_write_inline_data()
283 memcpy(dst_addr, src_addr, MAX_INLINE_DATA(inode)); in f2fs_recover_inline_data()
353 if (i_size_read(inode) < MAX_INLINE_DATA(inode)) in f2fs_make_empty_inline_dir()
354 f2fs_i_size_write(inode, MAX_INLINE_DATA(inode)); in f2fs_make_empty_inline_dir()
490 MAX_INLINE_DATA(dir), GFP_F2FS_ZERO); in f2fs_move_rehashed_dirents()
[all …]
Dinode.c107 __le32 *end = start + MAX_INLINE_DATA(inode) / sizeof(__le32); in __recover_inline_status()
Ddata.c1109 if (iocb->ki_pos + iov_iter_count(from) > MAX_INLINE_DATA(inode)) { in f2fs_preallocate_blocks()
2551 if (f2fs_has_inline_data(inode) && pos + len > MAX_INLINE_DATA(inode)) in prepare_write_begin()
2572 if (pos + len <= MAX_INLINE_DATA(inode)) { in prepare_write_begin()
Df2fs.h479 #define MAX_INLINE_DATA(inode) (sizeof(__le32) * \ macro
485 #define NR_INLINE_DENTRY(inode) (MAX_INLINE_DATA(inode) * BITS_PER_BYTE / \
490 #define INLINE_RESERVED_SIZE(inode) (MAX_INLINE_DATA(inode) - \
Dfile.c830 if (attr->ia_size > MAX_INLINE_DATA(inode)) { in f2fs_setattr()