Home
last modified time | relevance | path

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

/fs/f2fs/
Dcompress.c54 int (*init_decompress_ctx)(struct decompress_io_ctx *dic);
55 void (*destroy_decompress_ctx)(struct decompress_io_ctx *dic);
56 int (*decompress_pages)(struct decompress_io_ctx *dic);
206 static int lzo_decompress_pages(struct decompress_io_ctx *dic) in lzo_decompress_pages() argument
210 ret = lzo1x_decompress_safe(dic->cbuf->cdata, dic->clen, in lzo_decompress_pages()
211 dic->rbuf, &dic->rlen); in lzo_decompress_pages()
214 KERN_ERR, F2FS_I_SB(dic->inode)->sb->s_id, ret); in lzo_decompress_pages()
218 if (dic->rlen != PAGE_SIZE << dic->log_cluster_size) { in lzo_decompress_pages()
221 F2FS_I_SB(dic->inode)->sb->s_id, in lzo_decompress_pages()
222 dic->rlen, in lzo_decompress_pages()
[all …]
Ddata.c2144 struct decompress_io_ctx *dic = NULL; in f2fs_read_multi_pages() local
2219 dic = f2fs_alloc_dic(cc); in f2fs_read_multi_pages()
2220 if (IS_ERR(dic)) { in f2fs_read_multi_pages()
2221 ret = PTR_ERR(dic); in f2fs_read_multi_pages()
2226 struct page *page = dic->cpages[i]; in f2fs_read_multi_pages()
2237 if (atomic_dec_and_test(&dic->remaining_pages)) in f2fs_read_multi_pages()
2238 f2fs_decompress_cluster(dic, true); in f2fs_read_multi_pages()
2256 f2fs_decompress_end_io(dic, ret, true); in f2fs_read_multi_pages()
2268 refcount_inc(&dic->refcnt); in f2fs_read_multi_pages()
Df2fs.h4217 void f2fs_decompress_cluster(struct decompress_io_ctx *dic, bool in_task);
4238 void f2fs_decompress_end_io(struct decompress_io_ctx *dic, bool failed,
4286 static inline void f2fs_decompress_cluster(struct decompress_io_ctx *dic, in f2fs_decompress_cluster() argument
/fs/erofs/
Dinode.c26 struct erofs_inode_compact *dic; in erofs_read_inode() local
44 dic = page_address(page) + *ofs; in erofs_read_inode()
45 ifmt = le16_to_cpu(dic->i_format); in erofs_read_inode()
68 die = (struct erofs_inode_extended *)dic; in erofs_read_inode()
77 memcpy(copied, dic, gotten); in erofs_read_inode()
135 vi->xattr_isize = erofs_xattr_ibody_size(dic->i_xattr_icount); in erofs_read_inode()
137 inode->i_mode = le16_to_cpu(dic->i_mode); in erofs_read_inode()
142 vi->raw_blkaddr = le32_to_cpu(dic->i_u.raw_blkaddr); in erofs_read_inode()
147 new_decode_dev(le32_to_cpu(dic->i_u.rdev)); in erofs_read_inode()
156 i_uid_write(inode, le16_to_cpu(dic->i_uid)); in erofs_read_inode()
[all …]
/fs/xfs/
Dxfs_inode_item.c427 struct xfs_log_dinode *dic; in xfs_inode_item_format_core() local
429 dic = xlog_prepare_iovec(lv, vecp, XLOG_REG_TYPE_ICORE); in xfs_inode_item_format_core()
430 xfs_inode_to_log_dinode(ip, dic, ip->i_itemp->ili_item.li_lsn); in xfs_inode_item_format_core()