Searched refs:page_limit (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/target/arm/tcg/ |
H A D | helper-a64.c | 1060 static uint64_t page_limit(uint64_t addr) in page_limit() function 1091 setsize = MIN(setsize, page_limit(toaddr)); in set_step() 1143 setsize = MIN(setsize, page_limit(toaddr)); in set_step_tags() 1277 stagesetsize = MIN(setsize, page_limit(toaddr)); in do_setp() 1452 copysize = MIN(copysize, page_limit(toaddr)); in copy_step() 1453 copysize = MIN(copysize, page_limit(fromaddr)); in copy_step() 1647 stagecopysize = MIN(copysize, page_limit(toaddr)); in do_cpyp() 1648 stagecopysize = MIN(stagecopysize, page_limit(fromaddr)); in do_cpyp()
|
/openbmc/linux/arch/s390/kvm/ |
H A D | pci.c | 207 unsigned long page_limit, cur_pages, new_pages; in account_mem() local 209 page_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in account_mem() 214 if (new_pages > page_limit) in account_mem()
|
/openbmc/linux/io_uring/ |
H A D | rsrc.c | 43 unsigned long page_limit, cur_pages, new_pages; in __io_account_mem() local 49 page_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in __io_account_mem() 54 if (new_pages > page_limit) in __io_account_mem()
|
/openbmc/linux/mm/ |
H A D | slub.c | 1937 unsigned long page_limit, in next_freelist_entry() argument 1951 } while (unlikely(idx >= page_limit)); in next_freelist_entry() 1962 unsigned long idx, pos, page_limit, freelist_count; in shuffle_freelist() local 1970 page_limit = slab->objects * s->size; in shuffle_freelist() 1974 cur = next_freelist_entry(s, slab, &pos, start, page_limit, in shuffle_freelist() 1980 next = next_freelist_entry(s, slab, &pos, start, page_limit, in shuffle_freelist()
|