Searched refs:lznt (Results 1 – 5 of 5) sorted by relevance
28 struct lznt { struct48 static size_t longest_match_std(const u8 *src, struct lznt *ctx) in longest_match_std() argument89 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() argument141 struct lznt *ctx) in compress_chunk()300 struct lznt *get_lznt_ctx(int level) in get_lznt_ctx()302 struct lznt *r = kzalloc(level ? offsetof(struct lznt, hash) : in get_lznt_ctx()303 sizeof(struct lznt), in get_lznt_ctx()319 size_t cmpr_size, struct lznt *ctx) in compress_lznt()322 size_t (*match)(const u8 *src, struct lznt *ctx); in compress_lznt()
24 lznt.o \
2816 struct lznt *lznt; in ni_write_frame() local2884 lznt = NULL; in ni_write_frame()2885 if (!sbi->compress.lznt) { in ni_write_frame()2892 lznt = get_lznt_ctx(0); in ni_write_frame()2893 if (!lznt) { in ni_write_frame()2899 sbi->compress.lznt = lznt; in ni_write_frame()2900 lznt = NULL; in ni_write_frame()2905 frame_size, sbi->compress.lznt); in ni_write_frame()2907 kfree(lznt); in ni_write_frame()
309 struct lznt *lznt; member890 struct lznt *get_lznt_ctx(int level);893 struct lznt *ctx);
635 kfree(sbi->compress.lznt); in ntfs3_free_sbi()