Lines Matching defs:as
131 static int spec_map(struct vnode *, offset_t, struct as *, caddr_t *, size_t,
133 static int spec_addmap(struct vnode *, offset_t, struct as *, caddr_t, size_t,
135 static int spec_delmap(struct vnode *, offset_t, struct as *, caddr_t, size_t,
178 * for a fenced snode with an ENXIO or EIO as appropriate. If
823 /* try to allocate it as a controlling terminal */
945 * will be released as the new association is established by
1271 * allow ioctls() to go through even for fenced snodes, as they
1513 * SNOFLUSH as a hint.
2089 * "io_off" and "io_len" are returned as
2248 struct as *as,
2264 "specfs segmap:dev %x as %p len %lx prot %x",
2265 dev, as, len, prot);
2284 as_rangelock(as);
2286 error = choose_addr(as, addrp, len, off, ADDR_NOVACALIGN, flags);
2288 as_rangeunlock(as);
2301 error = as_map(as, *addrp, len, segdev_create, &dev_a);
2302 as_rangeunlock(as);
2310 struct as *as,
2321 int (*segmap)(dev_t, off_t, struct as *,
2361 error = devmap_setup(dev, off, as, addrp,
2370 return ((*segmap)(dev, (off_t)off, as, addrp, len, prot,
2379 struct as *as,
2405 return (spec_char_map(vp->v_rdev, off, as, addrp, len, prot,
2426 as_rangelock(as);
2427 error = choose_addr(as, addrp, len, off, ADDR_VACALIGN, flags);
2429 as_rangeunlock(as);
2444 error = as_map(as, *addrp, len, segvn_create, &vn_a);
2445 as_rangeunlock(as);
2457 struct as *as,
2496 struct as *as,