Lines Matching refs:hat

65 #include <vm/hat.h>
117 * hat layers implement HAT_NOFAULT.
166 static faultcode_t segdev_fault(struct hat *, struct seg *, caddr_t, size_t,
226 static void segdev_softunlock(struct hat *, struct seg *, caddr_t,
229 static faultcode_t segdev_faultpage(struct hat *, struct seg *, caddr_t,
232 static faultcode_t segdev_faultpages(struct hat *, struct seg *, caddr_t,
1322 struct hat *hat, /* the hat */
1338 hat_unlock(hat, addr, len);
1408 struct hat *hat, /* the hat */
1532 * However, not all hat layers implement this
1562 * This is because hat figures it out DEVMEM mappings
1565 hat_devload(hat, addr, PAGESIZE, pfnum,
1585 * we need to fix this. prot should include other hat attributes
1587 if (ddi_map_fault(dip, hat, seg, addr, NULL, pfnum, prot & PROT_ALL,
1596 struct hat *hat, /* the hat */
1624 return (segdev_faultpages(hat, seg, addr, len, type, rw, NULL));
1828 err = segdev_faultpages(hat, seg, laddr, llen,
1849 (void) segdev_fault(hat, seg, addr, done,
1901 struct hat *hat, /* the hat */
1936 segdev_softunlock(hat, seg, addr, len, rw);
2010 hat_devload(hat, addr, len, pfnum, sdp->prot | dhp->dh_hat_attr,
2025 if (err = segdev_faultpage(hat, seg, a, vpage, type, rw, dhp)) {
2036 segdev_softunlock(hat, seg, addr, done, S_OTHER);
2577 * devmap uses dhp->dh_hat_attr for hat.
3652 * we pass HAT_LOAD_NOCONSIST _only_ in cases where hat tries to
3656 * DEVMEM: hat figures it out it's DEVMEM and creates non-consistent
3659 * kernel exported memory: hat figures it out it's memory and always
3665 * MAP_FIXED. We _explicitly_ tell hat to create non-consistent