Lines Matching defs:upl
3690 upl_t upl;
3776 kret = ubc_create_upl(vp, ap->a_f_offset, ap->a_size, &upl, &pl, UPL_UBC_PAGEIN | UPL_RET_ONLY_ABSENT);
3778 if ((kret != KERN_SUCCESS) || (upl == (upl_t) NULL)) {
3782 ubc_upl_range_needed(upl, ap->a_pl_offset / PAGE_SIZE, 1);
3799 ubc_upl_abort_range(upl, 0, isize, UPL_ABORT_FREE_ON_EMPTY);
3865 ap->a_pl = upl;
3892 ubc_upl_abort_range(upl, (upl_offset_t) offset, xsize, UPL_ABORT_FREE_ON_EMPTY | UPL_ABORT_RESTART);
3910 * we need to abort the upl, retake the truncate lock, recreate the UPL and start over
3917 ubc_upl_abort_range(upl, (upl_offset_t) offset, isize, UPL_ABORT_FREE_ON_EMPTY);
3929 error = cluster_pagein(vp, upl, offset, f_offset, xsize, (off_t)fp->ff_size, ap->a_flags);
4005 upl_t upl;
4031 if ((upl = ap->a_pl) == NULL) {
4064 kret = ubc_create_upl(vp, ap->a_f_offset, ap->a_size, &upl, &pl, request_flags);
4066 if ((kret != KERN_SUCCESS) || (upl == (upl_t) NULL)) {
4072 * from this point forward upl points at the UPL we're working with
4113 ubc_upl_abort_range(upl, 0, isize, UPL_ABORT_FREE_ON_EMPTY);
4148 panic ("hfs_vnop_pageout: unforeseen clean page @ index %d for UPL %p\n", pg_index, upl);
4181 ubc_upl_abort_range(upl,
4202 if ((error = cluster_pageout(vp, upl, offset, f_offset,
4225 ubc_upl_abort_range(upl,
4251 retval = cluster_pageout(vp, upl, a_pl_offset, ap->a_f_offset,