Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/hfi1/
Duser_pages.c32 unsigned long ulimit = rlimit(RLIMIT_MEMLOCK), pinned, cache_limit, in hfi1_can_pin_pages() local
43 cache_limit = (ulimit / usr_ctxts) / 4; in hfi1_can_pin_pages()
46 if (ulimit != (-1UL) && size > cache_limit) in hfi1_can_pin_pages()
47 size = cache_limit; in hfi1_can_pin_pages()