Home
last modified time | relevance | path

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

/linux/fs/ksmbd/
A 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/tools/perf/util/
A Ddso.c618 static rlim_t fd_limit; variable
627 fd_limit = 0; in reset_fd_limit()
632 if (!fd_limit) in may_cache_fd()
633 fd_limit = get_fd_limit(); in may_cache_fd()
635 if (fd_limit == RLIM_INFINITY) in may_cache_fd()
638 return fd_limit > (rlim_t) dso__data_open_cnt; in may_cache_fd()

Completed in 8 milliseconds