Home
last modified time | relevance | path

Searched refs:lznt (Results 1 – 4 of 4) sorted by relevance

/linux/fs/ntfs3/
H A Dlznt.c28 struct lznt { struct
48 static size_t longest_match_std(const u8 *src, struct lznt *ctx) in longest_match_std() argument
89 static size_t longest_match_best(const u8 *src, struct lznt *ctx) in longest_match_best()
138 static inline int compress_chunk(size_t (*match)(const u8 *, struct lznt *), in compress_chunk() argument
141 struct lznt *ctx) in compress_chunk()
302 struct lznt *get_lznt_ctx(int level) in get_lznt_ctx()
304 struct lznt *r = kzalloc(level ? offsetof(struct lznt, hash) : in get_lznt_ctx()
305 sizeof(struct lznt), in get_lznt_ctx()
321 size_t cmpr_size, struct lznt *ctx) in compress_lznt()
324 size_t (*match)(const u8 *src, struct lznt *ctx); in compress_lznt()
H A Dfrecord.c2551 struct lznt *lznt; in ni_write_frame() local
2600 lznt = NULL; in ni_write_frame()
2601 if (!sbi->compress.lznt) { in ni_write_frame()
2608 lznt = get_lznt_ctx(0); in ni_write_frame()
2609 if (!lznt) { in ni_write_frame()
2615 sbi->compress.lznt = lznt; in ni_write_frame()
2616 lznt = NULL; in ni_write_frame()
2621 frame_size, sbi->compress.lznt); in ni_write_frame()
2623 kfree(lznt); in ni_write_frame()
H A Dntfs_fs.h318 struct lznt *lznt; member
985 struct lznt *get_lznt_ctx(int level);
988 struct lznt *ctx);
H A Dsuper.c714 kfree(sbi->compress.lznt); in ntfs3_free_sbi()