Home
last modified time | relevance | path

Searched refs:wnd (Results 1 – 2 of 2) sorted by relevance

/linux/fs/ntfs3/
H A Dbitmap.c35 static int wnd_rescan(struct wnd_bitmap *wnd);
36 static struct buffer_head *wnd_map(struct wnd_bitmap *wnd, size_t iw);
37 static bool wnd_is_free_hlp(struct wnd_bitmap *wnd, size_t bit, size_t bits);
123 void wnd_close(struct wnd_bitmap *wnd) in wnd_close() argument
127 kvfree(wnd->free_bits); in wnd_close()
128 wnd->free_bits = NULL; in wnd_close()
129 run_close(&wnd->run); in wnd_close()
131 node = rb_first(&wnd->start_tree); in wnd_close()
135 rb_erase(node, &wnd->start_tree); in wnd_close()
231 static void wnd_add_free_ext(struct wnd_bitmap *wnd, size_t bit, size_t len, in wnd_add_free_ext() argument
[all …]
/linux/fs/smb/client/compress/
H A Dlz77.c51 static __always_inline u32 lz77_match_len(const void *wnd, const void *cur, const void *end) in lz77_match_len() argument
58 diff = lz77_read64(cur) ^ lz77_read64(wnd); in lz77_match_len()
61 wnd += LZ77_STEP_SIZE; in lz77_match_len()
72 while (cur < end && lz77_read8(cur++) == lz77_read8(wnd++)) in lz77_match_len()
154 const void *wnd; in lz77_compress() local
158 wnd = src + htable[hash]; in lz77_compress()
160 dist = srcp - wnd; in lz77_compress()
163 len = lz77_match_len(wnd, srcp, end); in lz77_compress()