Searched defs:dev (Results 1 - 25 of 669) 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.h43 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/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/uts/i86xpv/vm/
H A Dseg_mf.h41 dev_t dev; member in struct:segmf_crargs
/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/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/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/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/tools/smatch/src/validation/
H A Dsm_netdevice.c10 struct net_device dev; local
11 struct net_device *dev2 = &dev;
/illumos-gate/usr/src/cmd/fs.d/smbclnt/fksmbcl/
H A Dfkdev.c57 dev32_t dev; local
61 rc = nsmb_drv_open(&dev, 0, 0);
67 assert((dev & 0xFFFF0000) != 0);
68 fd = (int)dev;
76 dev32_t dev; local
79 dev = (dev32_t)fd;
80 assert((dev & 0xFFFF0000) != 0);
81 err = nsmb_drv_ioctl(dev, cmd, (intptr_t)arg, 0);
92 dev32_t dev; local
94 dev
[all...]
/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/uts/common/io/ib/clients/eoib/
H A Denx_ctl.c48 eibnx_devctl_close(dev_t dev, int flags, int otyp, cred_t *credp) argument
55 eibnx_devctl_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument
/illumos-gate/usr/src/uts/common/syscall/
H A Dmknod.c56 * dev = device number - b/c specials only
59 mknodat(int fd, char *fname, mode_t fmode, dev_t dev) argument
86 dev = expldev(dev);
87 if (dev == NODEV || (getemajor(dev)) == (major_t)NODEV)
89 vattr.va_rdev = dev;
112 mknod(char *fname, mode_t fmode, dev_t dev) argument
114 return (mknodat(AT_FDCWD, fname, fmode, dev));
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxenbus_probe.c105 free_otherend_details(struct xenbus_device *dev) argument
107 if (dev->otherend != NULL) {
108 kmem_free((void *)dev->otherend, strlen(dev->otherend) + 1);
109 dev->otherend = NULL;
115 free_otherend_watch(struct xenbus_device *dev) argument
117 if (dev->otherend_watch.node) {
118 unregister_xenbus_watch(&dev->otherend_watch);
119 kmem_free((void *)dev->otherend_watch.node,
120 strlen(dev
130 struct xenbus_device *dev = watch->dev; local
157 talk_to_otherend(struct xenbus_device *dev) argument
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_mq.c34 * dev - software handle to the device
48 struct oce_dev *dev; local
53 dev = mq->parent;
71 mac_link_update(dev->mac_handle, link_status);
72 dev->link_status = link_status;
73 dev->link_speed = -1;
82 oce_arm_cq(dev, cq->cq_id, num_cqe, B_TRUE);
98 struct oce_dev *dev; local
103 dev = mq->parent;
113 oce_arm_cq(dev, c
[all...]
H A Doce_stat.c52 struct oce_dev *dev; local
61 dev = ksp->ks_private;
63 port_stats = &dev->hw_stats->params.rsp.rx.port[dev->port_id];
65 mutex_enter(&dev->dev_lock);
66 if (dev->suspended) {
67 mutex_exit(&dev->dev_lock);
70 ret = oce_get_hw_stats(dev);
72 oce_log(dev, CE_WARN, MOD_CONFIG,
74 mutex_exit(&dev
195 oce_stat_init(struct oce_dev *dev) argument
332 oce_stat_fini(struct oce_dev *dev) argument
347 struct oce_dev *dev = arg; local
[all...]
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfake_ddi.c53 getmajor(dev_t dev) argument
56 return ((major_t)((dev >> NBITSMINOR64) & MAXMAJ64));
58 return ((major_t)((dev >> NBITSMINOR) & MAXMAJ));
67 getminor(dev_t dev) argument
70 return ((minor_t)(dev & MAXMIN64));
72 return ((minor_t)(dev & MAXMIN));
96 cmpldev(dev32_t *dst, dev_t dev) argument
99 if (dev == NODEV) {
102 major_t major = dev >> L_BITSMINOR;
103 minor_t minor = dev
[all...]

Completed in 322 milliseconds

1234567891011>>