Searched refs:page_limit (Results 1 – 2 of 2) sorted by relevance
/linux/io_uring/ |
H A D | rsrc.c | 37 unsigned long page_limit, cur_pages, new_pages; in __io_account_mem() local 43 page_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in __io_account_mem() 48 if (new_pages > page_limit) in __io_account_mem()
|
/linux/mm/ |
H A D | slub.c | 2484 unsigned long page_limit, in next_freelist_entry() argument 2498 } while (unlikely(idx >= page_limit)); in next_freelist_entry() 2509 unsigned long idx, pos, page_limit, freelist_count; in shuffle_freelist() local 2517 page_limit = slab->objects * s->size; in shuffle_freelist() 2521 cur = next_freelist_entry(s, &pos, start, page_limit, freelist_count); in shuffle_freelist() 2526 next = next_freelist_entry(s, &pos, start, page_limit, in shuffle_freelist()
|