Lines Matching refs:upl
421 /* upl invocation flags */
422 /* top nibble is used by super upl */
458 /* upl abort error flags */
468 /* upl pages check flags */
473 * upl pagein/pageout flags
533 /* upl commit flags */
589 #define UPL_DEVICE_PAGE(upl) \
590 (((upl)[0].phys_addr != 0) ? ((upl)[0].device) : FALSE)
592 #define UPL_PAGE_PRESENT(upl, index) \
593 ((upl)[(index)].phys_addr != 0)
595 #define UPL_PHYS_PAGE(upl, index) \
596 ((upl)[(index)].phys_addr)
598 #define UPL_SPECULATIVE_PAGE(upl, index) \
599 (((upl)[(index)].phys_addr != 0) ? ((upl)[(index)].speculative) : FALSE)
601 #define UPL_DIRTY_PAGE(upl, index) \
602 (((upl)[(index)].phys_addr != 0) ? ((upl)[(index)].dirty) : FALSE)
604 #define UPL_PRECIOUS_PAGE(upl, index) \
605 (((upl)[(index)].phys_addr != 0) ? ((upl)[(index)].precious) : FALSE)
607 #define UPL_VALID_PAGE(upl, index) \
608 (((upl)[(index)].phys_addr != 0) ? (!((upl)[(index)].absent)) : FALSE)
610 #define UPL_PAGEOUT_PAGE(upl, index) \
611 (((upl)[(index)].phys_addr != 0) ? ((upl)[(index)].pageout) : FALSE)
613 #define UPL_SET_PAGE_FREE_ON_COMMIT(upl, index) \
614 (((upl)[(index)].phys_addr != 0) ? \
615 ((upl)[(index)].pageout = TRUE) : FALSE)
617 #define UPL_CLR_PAGE_FREE_ON_COMMIT(upl, index) \
618 (((upl)[(index)].phys_addr != 0) ? \
619 ((upl)[(index)].pageout = FALSE) : FALSE)
623 #define UPL_SET_CS_VALIDATED(upl, index, value) \
624 ((upl)[(index)].cs_validated = ((value) ? TRUE : FALSE))
626 #define UPL_SET_CS_TAINTED(upl, index, value) \
627 ((upl)[(index)].cs_tainted = ((value) ? TRUE : FALSE))
637 #define UPL_GET_INTERNAL_PAGE_LIST(upl) \
639 (unsigned int)upl + (unsigned int)(upl_offset_to_pagelist = upl_get_internal_pagelist_offset()): \
640 (unsigned int)upl + (unsigned int)upl_offset_to_pagelist))
644 extern ppnum_t upl_phys_page(upl_page_info_t *upl, int index);
645 extern boolean_t upl_device_page(upl_page_info_t *upl);
646 extern boolean_t upl_speculative_page(upl_page_info_t *upl, int index);
647 extern void upl_clear_dirty(upl_t upl, boolean_t value);
655 extern boolean_t upl_page_present(upl_page_info_t *upl, int index);
656 extern boolean_t upl_dirty_page(upl_page_info_t *upl, int index);
657 extern boolean_t upl_valid_page(upl_page_info_t *upl, int index);
658 extern void upl_deallocate(upl_t upl);