Lines Matching refs:wnd
830 void wnd_close(struct wnd_bitmap *wnd);
831 static inline size_t wnd_zeroes(const struct wnd_bitmap *wnd) in wnd_zeroes() argument
833 return wnd->total_zeroes; in wnd_zeroes()
835 int wnd_init(struct wnd_bitmap *wnd, struct super_block *sb, size_t nbits);
836 int wnd_set_free(struct wnd_bitmap *wnd, size_t bit, size_t bits);
837 int wnd_set_used(struct wnd_bitmap *wnd, size_t bit, size_t bits);
838 int wnd_set_used_safe(struct wnd_bitmap *wnd, size_t bit, size_t bits,
840 bool wnd_is_free(struct wnd_bitmap *wnd, size_t bit, size_t bits);
841 bool wnd_is_used(struct wnd_bitmap *wnd, size_t bit, size_t bits);
846 size_t wnd_find(struct wnd_bitmap *wnd, size_t to_alloc, size_t hint,
848 int wnd_extend(struct wnd_bitmap *wnd, size_t new_bits);
849 void wnd_zone_set(struct wnd_bitmap *wnd, size_t Lcn, size_t Len);
926 static inline size_t wnd_zone_bit(const struct wnd_bitmap *wnd) in wnd_zone_bit() argument
928 return wnd->zone_bit; in wnd_zone_bit()
931 static inline size_t wnd_zone_len(const struct wnd_bitmap *wnd) in wnd_zone_len() argument
933 return wnd->zone_end - wnd->zone_bit; in wnd_zone_len()