Lines Matching defs:device
32 * uvm_device.c: the device pager.
49 * we keep a list of active device objects in the system.
84 * get a VM object that is associated with a device. allocate a new
92 udv_attach(dev_t device, vm_prot_t accessprot, voff_t off, vsize_t size)
101 * before we do anything, ensure this device supports mmap
103 mapfn = cdevsw[major(device)].d_mmap;
116 obj = udv_attach_drm(device, accessprot, off, size);
122 * Check that the specified range of the device allows the
128 if ((*mapfn)(device, off, accessprot) == -1)
142 if (device == lcv->u_device)
195 if (device == lcv->u_device)
215 udv->u_device = device;
299 * udv_fault: non-standard fault routine for device "pages"
322 dev_t device;
329 * we do not allow device mappings to be mapped copy-on-write
338 * get device map function.
340 device = udv->u_device;
341 mapfn = cdevsw[major(device)].d_mmap;
366 paddr = (*mapfn)(device, curr_offset, access_type);