Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ksmbd/
Dvfs_cache.c30 static atomic_long_t fd_limit; variable
36 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()
/linux-6.1.9/tools/perf/util/
Ddso.c634 static rlim_t fd_limit; variable
643 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()