Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Duser_pages.c74 unsigned long ulimit = rlimit(RLIMIT_MEMLOCK), pinned, cache_limit, in hfi1_can_pin_pages() local
85 cache_limit = (ulimit / usr_ctxts) / 4; in hfi1_can_pin_pages()
88 if (ulimit != (-1UL) && size > cache_limit) in hfi1_can_pin_pages()
89 size = cache_limit; in hfi1_can_pin_pages()