Home
last modified time | relevance | path

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

/freebsd/sys/vm/
H A Dvnode_pager.c832 vnode_pager_getpages(vm_object_t object, vm_page_t *m, int count, int *rbehind, in vnode_pager_getpages() argument
840 rtval = VOP_GETPAGES(vp, m, count, rbehind, rahead); in vnode_pager_getpages()
848 int *rbehind, int *rahead, vop_getpages_iodone_t iodone, void *arg) in vnode_pager_getpages_async() argument
854 rtval = VOP_GETPAGES_ASYNC(vp, m, count, rbehind, rahead, iodone, arg); in vnode_pager_getpages_async()
901 int error, before, after, rbehind, rahead, poff, i; in vnode_pager_generic_getpages() local
1006 rbehind = a_rbehind ? *a_rbehind : 0; in vnode_pager_generic_getpages()
1008 rbehind = min(rbehind, before); in vnode_pager_generic_getpages()
1015 if (rbehind + rahead + count > atop(maxphys)) { in vnode_pager_generic_getpages()
1018 trim = rbehind + rahead + count - atop(maxphys) + 1; in vnode_pager_generic_getpages()
1019 sum = rbehind + rahead; in vnode_pager_generic_getpages()
[all …]
H A Dphys_pager.c54 int count, int *rbehind, int *rahead);
176 int *rbehind, int *rahead) in default_phys_pager_getpages() argument
191 if (rbehind) in default_phys_pager_getpages()
192 *rbehind = 0; in default_phys_pager_getpages()
199 phys_pager_getpages(vm_object_t object, vm_page_t *m, int count, int *rbehind, in phys_pager_getpages() argument
203 count, rbehind, rahead)); in phys_pager_getpages()
H A Dsg_pager.c146 sg_pager_getpages(vm_object_t object, vm_page_t *m, int count, int *rbehind, in sg_pager_getpages() argument
203 if (rbehind) in sg_pager_getpages()
204 *rbehind = 0; in sg_pager_getpages()
H A Dvm_pager.c103 dead_pager_getpages(vm_object_t obj, vm_page_t *ma, int count, int *rbehind, in dead_pager_getpages() argument
319 vm_pager_get_pages(vm_object_t object, vm_page_t *m, int count, int *rbehind, in vm_pager_get_pages() argument
330 r = (*pagertab[object->type]->pgo_getpages)(object, m, count, rbehind, in vm_pager_get_pages()
357 int *rbehind, int *rahead, pgo_getpages_iodone_t iodone, void *arg) in vm_pager_get_pages_async() argument
364 count, rbehind, rahead, iodone, arg)); in vm_pager_get_pages_async()
H A Dvnode_pager.h46 int count, int *rbehind, int *rahead, vop_getpages_iodone_t iodone,
H A Dswap_pager.c1367 int i, rahead, rbehind; in swap_pager_getpages_locked() local
1381 if (!swp_pager_haspage_iter(pindex, &rbehind, &rahead, blks)) { in swap_pager_getpages_locked()
1398 rbehind = 0; in swap_pager_getpages_locked()
1401 rbehind = a_rbehind != NULL ? imin(*a_rbehind, rbehind) : 0; in swap_pager_getpages_locked()
1404 vm_object_prepare_buf_pages(object, bp->b_pages, count, &rbehind, in swap_pager_getpages_locked()
1406 bp->b_npages = rbehind + count + rahead; in swap_pager_getpages_locked()
1409 bp->b_npages, rbehind, count, rahead, (uintmax_t)PBUF_PAGES)); in swap_pager_getpages_locked()
1415 bp->b_blkno = swp_pager_meta_lookup(blks, pindex - rbehind); in swap_pager_getpages_locked()
1425 *a_rbehind = rbehind; in swap_pager_getpages_locked()
1435 bp->b_pgbefore = rbehind; in swap_pager_getpages_locked()
[all …]
H A Dvm_object.c2304 int *rbehind, int *rahead, vm_page_t *ma_src) in vm_object_prepare_buf_pages() argument
2312 if (*rbehind != 0) { in vm_object_prepare_buf_pages()
2316 *rbehind = MIN(*rbehind, in vm_object_prepare_buf_pages()
2318 for (int i = 0; i < *rbehind; i++) { in vm_object_prepare_buf_pages()
2324 ma_dst[j] = ma_dst[j + *rbehind - i]; in vm_object_prepare_buf_pages()
2325 *rbehind = i; in vm_object_prepare_buf_pages()
2329 ma_dst[*rbehind - i - 1] = m; in vm_object_prepare_buf_pages()
2333 ma_dst[*rbehind + i] = ma_src[i]; in vm_object_prepare_buf_pages()
2347 ma_dst[*rbehind + count + i] = m; in vm_object_prepare_buf_pages()
H A Ddevice_pager.c370 dev_pager_getpages(vm_object_t object, vm_page_t *ma, int count, int *rbehind, in dev_pager_getpages() argument
391 if (rbehind) in dev_pager_getpages()
392 *rbehind = 0; in dev_pager_getpages()
H A Dvm_object.h380 int count, int *rbehind, int *rahead, vm_page_t *ma_src);
H A Dvm_pager.h310 int *rbehind, int *rahead);
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Ddmu_os.c133 int *rbehind, int *rahead, int last_size) in dmu_read_pages() argument
169 for (i = 0; i < *rbehind; i++) { in dmu_read_pages()
195 *rbehind = i; in dmu_read_pages()
H A Dzfs_vnops_os.c4176 zfs_getpages(struct vnode *vp, vm_page_t *ma, int count, int *rbehind, in zfs_getpages() argument
4256 if (rbehind != NULL) { in zfs_getpages()
4258 pgsin_b = MIN(*rbehind, pgsin_b); in zfs_getpages()
4313 if (rbehind != NULL) in zfs_getpages()
4314 *rbehind = pgsin_b; in zfs_getpages()
/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dzfs_vnops_os.h36 int *rbehind, int *rahead, int last_size);
/freebsd/sys/sys/
H A Dbuf.h627 int *rbehind, int *rahead, vbg_get_lblkno_t get_lblkno,
/freebsd/sys/kern/
H A Dvnode_if.src543 IN int *rbehind;
554 IN int *rbehind;
H A Dvfs_bio.c5320 int *rbehind, int *rahead, vbg_get_lblkno_t get_lblkno, in vfs_bio_getpages() argument
5359 if (rbehind != NULL) in vfs_bio_getpages()
5360 *rbehind = pgsin_b; in vfs_bio_getpages()