Searched defs:dev (Results 1 - 25 of 775) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dmknod.c41 mknod(char *path, int mode, int dev) argument
50 return (_mknod(path, mode, dev));
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dustat.c37 ustat(dev_t dev, struct ustat *buf) argument
39 if (utssys(buf, dev, UTS_USTAT) == -1)
H A Dmknod.c32 mknodat(int fd, const char *path, mode_t mode, dev_t dev) argument
34 return (syscall(SYS_mknodat, fd, path, mode, dev));
39 mknod(const char *path, mode_t mode, dev_t dev) argument
42 return (syscall(SYS_mknod, path, mode, dev));
44 return (mknodat(AT_FDCWD, path, mode, dev));
/illumos-gate/usr/src/head/
H A Ddevid.h42 dev_t dev; member in struct:devid_nmlist
/illumos-gate/usr/src/lib/libbsm/common/
H A Dgetdevicerange.c43 getdevicerange(const char *dev) argument
69 if ((da = getdanam((char *)dev)) == NULL) {
72 if ((dm = getdmapdev((char *)dev)) != NULL) {
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_drawable.c64 drm_get_drawable_info(drm_device_t *dev, drm_drawable_t id) { argument
H A Ddrm_dma.c45 drm_dma_setup(drm_device_t *dev) argument
50 dev->dma = drm_calloc(1, sizeof (*dev->dma), DRM_MEM_DMA);
51 if (dev->dma == NULL)
54 mutex_init(&dev->dma_lock, NULL, MUTEX_DRIVER, NULL);
55 pbuf = &(dev->dma->bufs[0]);
63 drm_dma_takedown(drm_device_t *dev) argument
65 drm_device_dma_t *dma = dev->dma;
103 drm_free(dev->dma, sizeof (*dev
111 drm_free_buffer(drm_device_t *dev, drm_buf_t *buf) argument
122 drm_reclaim_buffers(drm_device_t *dev, drm_file_t *fpriv) argument
[all...]
H A Ddrm_fops.c49 drm_find_file_by_proc(drm_device_t *dev, cred_t *credp) argument
54 TAILQ_FOREACH(priv, &dev->files, link)
62 drm_find_file_by_minor(drm_device_t *dev, int minor) argument
66 TAILQ_FOREACH(mp, &dev->minordevs, link) {
73 /* drm_open_helper is called whenever a process opens /dev/drm. */
76 drm_open_helper(drm_device_t *dev, drm_cminor_t *mp, int flags, argument
85 dev->flags = flags;
91 priv = drm_find_file_by_proc(dev, credp);
112 if (dev->driver->use_gem == 1)
115 if (dev
[all...]
H A Ddrm_lock.c77 drm_lock_transfer(drm_device_t *dev, drm_lock_data_t *lock_data, argument
83 dev->lock.filp = NULL;
93 drm_lock_free(drm_device_t *dev, volatile unsigned int *lock, argument
98 mutex_enter(&(dev->lock.lock_mutex));
99 dev->lock.filp = NULL;
109 mutex_exit(&(dev->lock.lock_mutex));
112 cv_broadcast(&(dev->lock.lock_cv));
113 mutex_exit(&(dev->lock.lock_mutex));
134 lock.context, DRM_CURRENTPID, dev->lock.hw_lock->lock,
136 if (dev
[all...]
H A Ddrm_scatter.c55 drm_sg_cleanup(drm_device_t *dev, drm_sg_mem_t *entry) argument
67 drm_pci_free(dev, entry->dmah_sg);
72 drm_pci_free(dev, entry->dmah_gart);
94 if (dev->sg)
114 dmah = drm_pci_alloc(dev, ptob(pages), 4096, 0xfffffffful, pages);
139 if (dev->sg) {
141 drm_sg_cleanup(dev, entry);
144 dev->sg = entry;
150 drm_sg_cleanup(dev, entry);
176 entry = dev
[all...]
/illumos-gate/usr/src/uts/i86xpv/vm/
H A Dseg_mf.h40 dev_t dev; member in struct:segmf_crargs
/illumos-gate/usr/src/boot/sys/boot/common/
H A Ddevopen.c38 struct devdesc *dev; local
41 result = archsw.arch_getdev((void **)&dev, fname, file);
46 f->f_devdata = dev;
47 result = dev->d_dev->dv_open(f, dev);
50 free(dev);
55 f->f_dev = dev->d_dev;
/illumos-gate/usr/src/boot/sys/boot/zfs/
H A Ddevicename_stubs.c35 zfs_parsedev(struct zfs_devdesc *dev, const char *devspec, const char **path) argument
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Dxstat.c73 _xmknod(int version, const char *path, mode_t mode, dev_t dev) argument
79 return (mknod(path, mode, dev));
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dconfig.c14 static int pci_probe(struct dev *dev, const char *type_name) argument
26 struct pci_probe_state *state = &dev->state.pci;
28 if (dev->how_probe == PROBE_FIRST) {
30 state->dev.driver = 0;
31 state->dev.bus = 0;
32 state->dev.devfn = 0;
33 dev->index = -1;
36 if ((dev->how_probe != PROBE_AWAKE) && state->advance) {
37 find_pci(dev
71 isa_probe(struct dev *dev, const char *type_name) argument
122 probe(struct dev *dev) argument
159 disable(struct dev *dev) argument
[all...]
/illumos-gate/usr/src/cmd/cpio/
H A Dcpiostat.c42 convert(dev_t dev) argument
46 maj = major(dev); /* get major number */
47 min = minor(dev); /* get minor number */
/illumos-gate/usr/src/cmd/devfsadm/
H A Dfssnap_link.c50 * /dev/fssnapctl -> /devices/pseudo/fssnap@0:ctl
52 * /dev/fssnap/1 -> /devices/pseudo/fssnap@0:1
53 * /dev/rfssnap/1 -> /devices/pseudo/fssnap@0:1,raw
58 dev_t dev; local
69 dev = di_minor_devt(minor);
71 (int)minor(dev));
73 (int)minor(dev));
/illumos-gate/usr/src/cmd/mdb/intel/libstand/
H A Dstat.c63 _xmknod(const int ver, const char *path, mode_t mode, dev_t dev) argument
/illumos-gate/usr/src/uts/common/os/
H A Dcopyops.c34 physio(int (*strat)(struct buf *), struct buf *bp, dev_t dev, argument
37 return (default_physio(strat, bp, dev, rw, mincnt, uio));
/illumos-gate/usr/src/uts/common/sys/
H A Dlogindmux.h37 dev_t dev; member in struct:protocol_arg
43 dev32_t dev; member in struct:protocol_arg32
/illumos-gate/usr/src/boot/sys/boot/usb/storage/
H A Dumass_common.c61 umass_probe(device_t dev) argument
63 struct usb_attach_arg *uaa = device_get_ivars(dev);
69 device_get_unit(dev) != 0)
75 umass_attach(device_t dev) argument
77 struct usb_attach_arg *uaa = device_get_ivars(dev);
83 umass_detach(device_t dev) argument
/illumos-gate/usr/src/lib/efcode/upa/
H A Dupa.c48 int dev, fn, len; local
/illumos-gate/usr/src/lib/libmail/common/
H A Dnotifyu.c67 char dev[MAXFILENAME]; local
76 /* stick /dev/ in front */
77 (void) sprintf(dev, "%s/dev/%s", etcdir, tty);
84 if ((fd = open(dev, O_WRONLY|O_NOCTTY)) == -1) {
86 "Cannot open %s.\n", dev);
103 port = fopen(dev, "w");
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dprocess.c186 char dev[MAXPATHLEN]; local
198 (void) snprintf(dev, sizeof (dev), "/dev/%.*s",
200 if ((tfd = open(dev, O_WRONLY|O_NOCTTY)) == -1) {
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/
H A Dkmdb_promif_isadep.c90 char *dev; local
97 if ((dev = kmdb_prom_get_ddi_prop(kav, "output-device")) == NULL)
100 return (strcmp(dev, "screen") == 0);

Completed in 93 milliseconds

1234567891011>>