Searched refs:fd_limit (Results 1 – 2 of 2) sorted by relevance
30 static atomic_long_t fd_limit; variable36 atomic_long_set(&fd_limit, limit); in ksmbd_set_fd_limit()41 long v = atomic_long_dec_return(&fd_limit); in fd_limit_depleted()45 atomic_long_inc(&fd_limit); in fd_limit_depleted()51 atomic_long_inc(&fd_limit); in fd_limit_close()
634 static rlim_t fd_limit; variable643 fd_limit = 0; in reset_fd_limit()648 if (!fd_limit) in may_cache_fd()649 fd_limit = get_fd_limit(); in may_cache_fd()651 if (fd_limit == RLIM_INFINITY) in may_cache_fd()654 return fd_limit > (rlim_t) dso__data_open_cnt; in may_cache_fd()