Searched defs:dev (Results 76 - 100 of 775) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/i86xpv/io/
H A Dballoon_drv.c97 balloon_open(dev_t *dev, int flag, int otyp, cred_t *cr) argument
99 return (getminor(*dev) == BALLOON_MINOR ? 0 : ENXIO);
107 balloon_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cr, argument
H A Ddomcaps.c97 domcaps_open(dev_t *dev, int flag, int otyp, cred_t *cr) argument
99 return (getminor(*dev) == DOMCAPS_MINOR ? 0 : ENXIO);
104 domcaps_read(dev_t dev, uio_t *uio, cred_t *cr) argument
/illumos-gate/usr/src/cmd/lp/filter/postscript/common/
H A Ddev.h39 dev.h: characteristics of a typesetter
42 struct dev { struct
44 /* excluding dev part */
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_intr.c37 * dev - software handle to the device
42 oce_setup_intr(struct oce_dev *dev) argument
53 ret = ddi_intr_get_supported_types(dev->dip, &intr_types);
55 oce_log(dev, CE_WARN, MOD_CONFIG, "%s",
62 dev->intr_type = DDI_INTR_TYPE_MSIX;
64 nreqd = dev->rx_rings + 1;
67 dev->intr_type = DDI_INTR_TYPE_FIXED;
72 ret = ddi_intr_get_nintrs(dev->dip, dev->intr_type, &nsupported);
74 oce_log(dev, CE_WAR
159 oce_teardown_intr(struct oce_dev *dev) argument
183 oce_setup_handlers(struct oce_dev *dev) argument
210 oce_remove_handler(struct oce_dev *dev) argument
219 oce_chip_ei(struct oce_dev *dev) argument
236 oce_ei(struct oce_dev *dev) argument
258 oce_chip_di(struct oce_dev *dev) argument
275 oce_di(struct oce_dev *dev) argument
311 struct oce_dev *dev; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dmd.c90 struct devdesc *dev = (struct devdesc *)devdata; local
93 if (dev->d_unit != 0)
125 struct devdesc *dev; local
128 dev = va_arg(ap, struct devdesc *);
131 if (dev->d_unit != 0)
140 struct devdesc *dev; local
142 dev = (struct devdesc *)(f->f_devdata);
143 return ((dev->d_unit != 0) ? ENXIO : 0);
/illumos-gate/usr/src/boot/sys/boot/efi/boot1/
H A Dufs_module.c52 lba = lba / (devinfo->dev->Media->BlockSize / DEV_BSIZE);
55 status = devinfo->dev->ReadBlocks(devinfo->dev,
56 devinfo->dev->Media->MediaId, lba, size, buf);
59 DPRINTF("dskread: failed dev: %p, id: %u, lba: %lu, size: %d, "
60 "status: %lu\n", devinfo->dev,
61 devinfo->dev->Media->MediaId, lba, size,
74 init_dev(dev_info_t* dev) argument
77 devinfo = dev;
84 probe(dev_info_t* dev) argument
96 load(const char *filepath, dev_info_t *dev, void **bufp, size_t *bufsize) argument
148 dev_info_t *dev; local
[all...]
H A Dzfs_module.c51 lba = off / devinfo->dev->Media->BlockSize;
53 status = devinfo->dev->ReadBlocks(devinfo->dev,
54 devinfo->dev->Media->MediaId, lba, bytes, buf);
56 DPRINTF("vdev_read: failed dev: %p, id: %u, lba: %zu, size: %zu,"
57 " status: %lu\n", devinfo->dev,
58 devinfo->dev->Media->MediaId, lba, bytes,
67 probe(dev_info_t *dev) argument
73 /* ZFS consumes the dev on success so we need a copy. */
74 if ((status = bs->AllocatePool(EfiLoaderData, sizeof(*dev),
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Ddevicename.c37 static int i386_parsedev(struct i386_devdesc **dev, const char *devspec, const char **path);
40 * Point (dev) at an allocated device specifier for the device matching the
47 struct i386_devdesc **dev = (struct i386_devdesc **)vdev; local
58 if (((rv = i386_parsedev(dev, getenv("currdev"), NULL)) == 0) &&
67 return(i386_parsedev(dev, devspec, path));
71 * Point (dev) at an allocated device specifier matching the string version
85 i386_parsedev(struct i386_devdesc **dev, const char *devspec, const char **path) argument
153 if (dev == NULL) {
156 *dev = idev;
169 struct i386_devdesc *dev local
[all...]
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Ddevicename.c39 * Point (dev) at an allocated device specifier for the device matching the
46 struct ofw_devdesc **dev = (struct ofw_devdesc **)vdev; local
57 if (((rv = ofw_parsedev(dev, getenv("currdev"), NULL)) == 0) &&
66 return(ofw_parsedev(dev, devspec, path));
70 * Point (dev) at an allocated device specifier matching the string version
75 ofw_parsedev(struct ofw_devdesc **dev, const char *devspec, const char **path) argument
127 if (dev == NULL) {
130 *dev = idev;
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/
H A Ddevicename.c37 static int uboot_parsedev(struct uboot_devdesc **dev, const char *devspec,
41 * Point (dev) at an allocated device specifier for the device matching the
48 struct uboot_devdesc **dev = (struct uboot_devdesc **)vdev; local
58 if (((rv = uboot_parsedev(dev, getenv("currdev"), NULL)) == 0)
67 return (uboot_parsedev(dev, devspec, path));
71 * Point (dev) at an allocated device specifier matching the string version
85 uboot_parsedev(struct uboot_devdesc **dev, const char *devspec, argument
151 if (dev == NULL) {
154 *dev = idev;
167 struct uboot_devdesc *dev local
[all...]
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Ddevicename.c41 static int userboot_parsedev(struct disk_devdesc **dev, const char *devspec, const char **path);
44 * Point (dev) at an allocated device specifier for the device matching the
51 struct disk_devdesc **dev = (struct disk_devdesc **)vdev; local
62 if (((rv = userboot_parsedev(dev, getenv("currdev"), NULL)) == 0) &&
71 return(userboot_parsedev(dev, devspec, path));
75 * Point (dev) at an allocated device specifier matching the string version
89 userboot_parsedev(struct disk_devdesc **dev, const char *devspec, const char **path) argument
163 if (dev == NULL) {
166 *dev = idev;
179 struct disk_devdesc *dev local
[all...]
/illumos-gate/usr/src/lib/pam_modules/timestamp/
H A Dpam_timestamp.c36 dev_t dev; /* ID of device tty resides on */ member in struct:user_info
86 if (strchr(ttyn, '/') == NULL || strncmp(ttyn, "/dev/", 5) == 0) {
290 if (info.dev != tty.st_dev || info.ino != tty.st_ino ||
387 info.dev = tty.st_dev;
/illumos-gate/usr/src/lib/scsi/plugins/smp/usmp/common/
H A Dusmp.c52 dev_t dev; member in struct:di_walk_arg
65 if (di_minor_devt(minor) == wp->dev) {
121 walk.dev = st.st_rdev;
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dconnect.c168 char *dev = "/dev/tcp6"; local
184 fd = t_open(dev, O_RDWR, NULL);
188 perror(dev);
229 char *dev = "/dev/tcp"; local
245 fd = t_open(dev, O_RDWR, NULL);
249 perror(dev);
/illumos-gate/usr/src/lib/libvolmgt/common/
H A Dvolmgt.c83 * path - the name of the device in /dev. For example,
84 * "/dev/rdiskette".
114 * path - the name of the device in /dev. For example,
115 * /dev/rdiskette. If path is NULL, all "checkable" devices are
186 static const char *vold_root = "/dev";
202 * what the symbolic name (e.g. "floppy0") for the /dev/rdiskette
206 * path - a string containing the /dev device name. For example,
207 * "/dev/diskette" or "/dev/rdiskette".
248 * pointer to a string containing the /dev nam
359 volmgt_acquire(char *dev, char *id, int ovr, char **err, pid_t *pidp) argument
389 volmgt_release(char *dev) argument
[all...]
/illumos-gate/usr/src/common/lvm/
H A Dmd_convert.c72 * INPUT: dev a 64 bit container holding either a 32 bit or a 64 bit device
77 md_expldev(md_dev64_t dev) argument
80 major_t major = (major_t)(dev >> NBITSMINOR64) & MAXMAJ64;
82 /* Here we were given a 64bit dev, return unchanged */
84 return (dev);
85 /* otherwise we were given a 32 bit dev */
86 major = (major_t)dev >> NBITSMINOR32 & MAXMAJ32;
87 minor = (minor_t)dev & MAXMIN32;
93 * INPUT: dev a 64 bit container holding either a 32 bit or a 64 bit device
98 md_cmpldev(md_dev64_t dev) argument
[all...]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Ddev.h24 struct pci_device dev; member in struct:pci_probe_state
46 struct dev struct
48 void (*disable)P((struct dev *));
80 extern int probe(struct dev *dev);
81 extern void disable(struct dev *dev);
H A Dpnic.c183 static void pnic_disable(struct dev *dev) argument
185 struct nic *nic = (struct nic *)dev;
214 static int pnic_probe(struct dev *dev, struct pci_device *pci) argument
216 struct nic *nic = (struct nic *)dev;
248 dev->disable = pnic_disable;
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DValid.java66 System.out.println(device("/dev/term/a"));
178 public static boolean device(String dev) argument
184 Debug.message("SVR: device=" + dev);
186 if (dev == null)
188 if (dev.length() == 0)
190 if (dev.indexOf("://") != 0) // don't test if it's a URI
194 syscmd.exec("/usr/bin/test -w " + dev);
/illumos-gate/usr/src/cmd/ptools/pmap/
H A Dpmap_common.c103 dev_t dev = statb.st_dev; local
105 (void) snprintf(buf, bufsz, "dev:%lu,%lu ino:%lu",
106 (ulong_t)major(dev), (ulong_t)minor(dev), ino);
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dttymux_rcm_impl.h64 dev_t dev; member in struct:rsrc
/illumos-gate/usr/src/cmd/mdb/common/modules/specfs/
H A Dspecfs.c171 uintptr_t major = 0, dev = 0; local
179 'd', MDB_OPT_UINTPTR, &dev, NULL) != argc)
182 if (dev != 0) {
183 sd.sd_major = getmajor(dev);
184 sd.sd_minor = getminor(dev);
/illumos-gate/usr/src/cmd/cdrw/
H A Dcopycd.c51 int read_audio_track(cd_device *dev, struct track_info *ti, bstreamhandle h);
61 read_data_track(cd_device *dev, struct track_info *ti, bstreamhandle h) argument
78 if (dev->d_blksize == 512) {
106 if (read10(dev->d_fd, cblk, read_chunk, buf, read_size)) {
H A Ddae.c124 read_audio_track(cd_device *dev, struct track_info *ti, bstreamhandle h) argument
144 if (dev->d_cap & DEV_CAP_ACCURATE_CDDA) {
164 if ((dev->d_cap & DEV_CAP_EXTRACT_CDDA) == 0) {
166 dev->d_name ? dev->d_name : gettext("CD drive"));
175 if (dev->d_speed_ctrl(dev, SET_READ_SPEED,
183 speed = dev->d_speed_ctrl(dev, GET_READ_SPEED, 0);
223 if (dev
[all...]
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_acpi.c23 #include <sys/sysevent/dev.h>
70 dev_t dev; local
99 dev = di_minor_devt(minor);
100 if ((major != major(dev)) ||
109 devinfo_acpi_add_minor(d, node, minor_path, dev);
121 dev_t dev)
120 devinfo_acpi_add_minor(HalDevice *parent, di_node_t node, char *minor_path, dev_t dev) argument

Completed in 99 milliseconds

1234567891011>>