Searched refs:wnd (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/fs/ntfs3/ |
H A D | bitmap.c | 289 ib = wnd->zone_bit == wnd->zone_end || in wnd_add_free_ext() 300 ib = wnd->zone_bit == wnd->zone_end || in wnd_add_free_ext() 490 if (!wnd->count && 1 != wnd->uptodated) in wnd_remove_free_ext() 633 if (wnd->zone_bit != wnd->zone_end) { in wnd_rescan() 634 size_t zlen = wnd->zone_end - wnd->zone_bit; in wnd_rescan() 636 wnd->zone_end = wnd->zone_bit; in wnd_rescan() 637 wnd_zone_set(wnd, wnd->zone_bit, zlen); in wnd_rescan() 656 wnd->zone_bit = wnd->zone_end = 0; in wnd_init() 1005 zeroes -= wnd->zone_end - wnd->zone_bit; in wnd_find() 1191 if (wnd->zone_end > wnd->zone_bit) { in wnd_find() [all …]
|
H A D | fsntfs.c | 399 if (lcn >= wnd->nbits) in ntfs_look_for_free_space() 443 up_write(&wnd->rw_lock); in ntfs_look_for_free_space() 455 struct wnd_bitmap *wnd; in ntfs_check_for_free_space() local 457 wnd = &sbi->used.bitmap; in ntfs_check_for_free_space() 459 free = wnd_zeroes(wnd); in ntfs_check_for_free_space() 461 up_read(&wnd->rw_lock); in ntfs_check_for_free_space() 468 wnd = &sbi->mft.bitmap; in ntfs_check_for_free_space() 470 free = wnd_zeroes(wnd); in ntfs_check_for_free_space() 472 up_read(&wnd->rw_lock); in ntfs_check_for_free_space() 743 if (rno >= wnd->nbits) in ntfs_mark_rec_free() [all …]
|
H A D | ntfs_fs.h | 829 void wnd_close(struct wnd_bitmap *wnd); 830 static inline size_t wnd_zeroes(const struct wnd_bitmap *wnd) in wnd_zeroes() argument 832 return wnd->total_zeroes; in wnd_zeroes() 835 int wnd_set_free(struct wnd_bitmap *wnd, size_t bit, size_t bits); 836 int wnd_set_used(struct wnd_bitmap *wnd, size_t bit, size_t bits); 839 bool wnd_is_free(struct wnd_bitmap *wnd, size_t bit, size_t bits); 847 int wnd_extend(struct wnd_bitmap *wnd, size_t new_bits); 925 static inline size_t wnd_zone_bit(const struct wnd_bitmap *wnd) in wnd_zone_bit() argument 927 return wnd->zone_bit; in wnd_zone_bit() 930 static inline size_t wnd_zone_len(const struct wnd_bitmap *wnd) in wnd_zone_len() argument [all …]
|
H A D | run.c | 1058 struct wnd_bitmap *wnd; in run_unpack_ex() local 1071 wnd = &sbi->used.bitmap; in run_unpack_ex() 1087 down_read_nested(&wnd->rw_lock, BITMAP_MUTEX_CLUSTERS); in run_unpack_ex() 1089 ok = wnd_is_used(wnd, lcn, len); in run_unpack_ex() 1090 up_read(&wnd->rw_lock); in run_unpack_ex() 1097 if (down_write_trylock(&wnd->rw_lock)) { in run_unpack_ex() 1100 err = wnd_set_used_safe(wnd, lcn, len, &done); in run_unpack_ex() 1101 up_write(&wnd->rw_lock); in run_unpack_ex()
|
H A D | super.c | 660 struct wnd_bitmap *wnd = &sbi->used.bitmap; in ntfs_statfs() local 664 buf->f_blocks = wnd->nbits; in ntfs_statfs() 666 buf->f_bfree = buf->f_bavail = wnd_zeroes(wnd); in ntfs_statfs()
|
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_io.c | 1256 unsigned int wnd = tp->rcv_wnd; in chtls_select_window() local 1258 wnd = max_t(unsigned int, wnd, tcp_full_space(sk)); in chtls_select_window() 1259 wnd = max_t(unsigned int, MIN_RCV_WND, wnd); in chtls_select_window() 1261 if (wnd > MAX_RCV_WND) in chtls_select_window() 1262 wnd = MAX_RCV_WND; in chtls_select_window() 1270 if (wnd > tp->rcv_wnd) { in chtls_select_window() 1271 tp->rcv_wup -= wnd - tp->rcv_wnd; in chtls_select_window() 1272 tp->rcv_wnd = wnd; in chtls_select_window()
|