Searched refs:device (Results 101 - 125 of 434) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-closetray.c80 char *device; local
95 device = getenv ("HAL_PROP_BLOCK_DEVICE");
96 if (device == NULL)
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Datapi7v3.h47 uint8_t device; member in struct:__anon8939
70 uint8_t device; member in struct:__anon8940
131 uint8_t device; member in struct:__anon8945
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/
H A Dib_verbs.h280 struct ib_device *device; member in struct:ib_event
291 struct ib_device *device; member in struct:ib_event_handler
582 struct ib_device *device; member in struct:ib_pd
589 struct ib_device *device; member in struct:ib_cq
599 struct ib_device *device; member in struct:ib_srq
607 struct ib_device *device; member in struct:ib_qp
656 void *ib_get_client_data(struct ib_device *device, struct ib_client *client);
657 void ib_set_client_data(struct ib_device *device, struct ib_client *client,
660 int ib_query_device(struct ib_device *device,
665 * @device
[all...]
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dopenfirm.c350 /* Convert a device specifier to a fully qualified pathname. */
352 OF_canon(const char *device, char *buf, int len) argument
358 cell_t device; member in struct:__anon345
368 args.device = (cell_t)device;
376 /* Return a package handle for the specified device. */
378 OF_finddevice(const char *device) argument
384 cell_t device; member in struct:__anon346
392 args.device = (cell_t)device;
496 OF_open(char *device) argument
502 cell_t device; member in struct:__anon350
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk.c81 char *device, *driver; local
127 TOPO_BINDING_OCCUPANT, &device, &err) != 0) {
135 err = disk_declare_path(mod, baynode, dlistp, device);
137 topo_mod_strfree(mod, device);
/illumos-gate/usr/src/cmd/zinject/
H A Dzinject.h60 int translate_device(const char *pool, const char *device,
/illumos-gate/usr/src/grub/grub-0.97/util/
H A Dgrub-install.in72 --recheck probe a device map even if it already exists
74 INSTALL_DEVICE can be a GRUB device name or a system device filename.
85 # Convert an OS device to the corresponding GRUB drive.
88 # First, check if the device file exists.
92 echo "$1: Not found or not a block device." 1>&2
96 # Break the device name into the disk part and the partition part.
192 # Find the real file/device that file points at
215 # Find block device on which the file resides.
217 # For now, this uses the program `df' to get the device nam
[all...]
H A Dmkbimage282 device_map=$dir/device.map
375 device='(hd0)'
378 device='(fd0)'
383 $device ${image}
386 ${GRUB_PATH}grub --device-map=$device_map --batch<<EOT
387 geometry $device $cylinders $heads $sectors
389 setup $device
390 geometry $geo_option -w $type_option $device $cylinders $heads $sectors
/illumos-gate/usr/src/cmd/hal/utils/
H A Dprinter.c56 /* parse the 1284 device id string */
116 char **command_set, char *device)
120 "description=%s, serial=%s, device=%s\n",
122 NP(serial_number), NP(device)));
143 if (device != NULL)
145 "printer.device", device);
114 add_printer_info(LibHalChangeSet *cs, char *udi, char *manufacturer, char *model, char *description, char *serial_number, char **command_set, char *device) argument
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dserial.h1 /* serial.h - serial device interface */
87 /* Return the port number for the UNITth serial device. */
90 /* Initialize a serial device. */
95 /* Set the file name of a serial device (or a pty device). This is a
97 void serial_set_device (const char *device);
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddisk_link.c392 * xVM virtual block device
394 * Xen passes device number in next format:
421 decode_xen_device(uint_t device, uint_t *disk, uint_t *plun) argument
426 if ((device >> XEN_EXT_SHIFT) > 1)
429 if (device < HD_BASE) {
430 /* legacy device address */
431 dsk = device;
436 if (device & (1 << XEN_EXT_SHIFT)) {
438 dsk = device & (~0xff);
439 lun = device
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/
H A Dusb.xcl129 msgid "device supports %d configurations\n"
134 msgid "get device path failed\n"
166 msgid "cfga_change_state: get device "
173 msgid "cfga_change_state: get device path failed\n"
215 msgid "usb_get_devicepath: get device path ioctl ok\n"
217 msgid "usb_get_devicepath: get device path ioctl failed\n"
/illumos-gate/usr/src/cmd/fwflash/common/
H A Dfwflash.h81 * the device tree snapshot using di_drv_first_node(3DEVINFO)
88 * option - read image from device to persistent storage.
92 int (*fw_readfw)(struct devicelist *device, char *filename);
96 * option - writes from persistent storage to device
100 int (*fw_writefw)(struct devicelist *device, char *filename);
149 * the device tree snapshot using di_drv_first_node(3DEVINFO)
204 * Which drivername did we find this device attached with
205 * in our device tree walk? Eg, ses or tavor or sgen...
210 * What class of device is this? For tavor-attached devices,
222 * device fo
[all...]
/illumos-gate/usr/src/cmd/lp/lib/printers/
H A Dllib-llpprt43 char *device; /* printer port full path name */
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Ddb21554_config.h183 #define DB_PCI_REG_ADDR(bus, device, function, reg) \
184 (((bus) & 0xff) << 16) | (((device & 0x1f)) << 11) \
188 #define DB_PCI_REG_ADDR_TYPE0(bus, device, function, reg) \
189 (((1 << (device & 0x1f)) << 11) \
194 #define DB_PCI_REG_ADDR_TYPE1(bus, device, function, reg) \
195 ((((bus) & 0xff) << 16) | (((device & 0x1f)) << 11) \
/illumos-gate/usr/src/cmd/fm/eversholt/files/common/
H A Dpci.esc53 engine serd.io.device.nonfatal@PCIFN,
81 * @PCIFN is the sending device while for downstream
82 * propagations it is the receiving device.
85 event fault.io.pci.device-interr-corr@PCIFN,
86 engine=serd.io.device.nonfatal@PCIFN, FITrate=PCI_DEV_FIT;
88 event fault.io.pci.device-interr-unaf@PCIFN,
91 event fault.io.pci.device-interr-deg@PCIFN, FITrate=PCI_DEV_FIT, retire=0;
93 event fault.io.pci.device-interr@PCIFN, FITrate=PCI_DEV_FIT;
95 event fault.io.pci.device-invreq@PCIFN, FITrate=PCI_DEV_FIT;
97 event fault.io.pci.device
[all...]
H A Dpciex.esc94 * bridges, everything else is consider a PCI leaf device.
116 event fault.io.pciex.device-interr@PCIEXFN, FITrate=PCIEX_DEV_FIT;
118 event fault.io.pciex.device-interr-deg@PCIEXFN, FITrate=PCIEX_DEV_FIT, retire=0;
121 event fault.io.pciex.device-interr-unaf@PCIEXFN, FITrate=PCIEX_DEV_FIT,
124 engine serd.io.device.nonfatal@PCIEXFN, N=CORRLINK_COUNT, T=CORRLINK_TIME;
125 event fault.io.pciex.device-interr-corr@PCIEXFN, FITrate=PCIEX_DEV_FIT,
126 engine=serd.io.device.nonfatal@PCIEXFN;
127 engine serd.io.device.nonfatal@PCIEXFN/PCIEXFN,
129 event fault.io.pciex.device-interr-corr@PCIEXFN/PCIEXFN, FITrate=PCIEX_DEV_FIT,
130 engine=serd.io.device
[all...]
/illumos-gate/usr/src/cmd/allocate/
H A Dmkdevalloc.c89 char *device; member in struct:tape
102 char *device; member in struct:audio
112 char *device; member in struct:cd
127 char *device; member in struct:rmdisk
137 char *device; member in struct:fp
214 * write device entries to device_allocate and device_maps.
237 char *nm; /* name/device of special device */
299 tape[i].device = nm;
301 /* get device numbe
[all...]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_intr.c30 * This file manages the interrupts for a hybrid I/O (hio) device.
76 nxge_ldg_t *group; /* The logical device group data. */
166 nxge_ldg_t *group; /* The logical device group data. */
323 nxge_ldg_t *group; /* The logical device group data. */
424 nxge_ldg_t *group; /* The logical device group data. */
544 * For each device assigned, the content of each interrupts
545 * property is its logical device group.
762 * Add a transmit device interrupt.
828 * Add a transmit device interrupt.
911 nxge_ldv_t *device; local
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Derrlist45 6 No such device or address
54 15 Block device required
57 18 Cross-device link
58 19 No such device
64 25 Inappropriate ioctl for device
67 28 No space left on device
99 60 Not a stream device
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dpci.c209 uint32_t class, uint16_t vendor, uint16_t device,
228 (device == driver->ids[i].dev_id)) {
268 uint16_t vendor, device; local
299 else if (!(hdr_type & 0x80)) /* not a multi-function device */
307 device = (l >> 16) & 0xffff;
316 vendor, device);
333 scan_drivers(type, class, vendor, device, first_driver, dev);
347 dev->dev_id = device;
390 * Set device to be a busmaster in case BIOS neglected to do so.
403 "The PCI BIOS has not enabled this device!\
207 scan_drivers( int type, uint32_t class, uint16_t vendor, uint16_t device, const struct pci_driver *last_driver, struct pci_device *dev) argument
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_request.c64 * A struct to hold device "specifications" extracted from a user
65 * specified device name. This struct is used to compare the user's
66 * available and unavailable device specifications against physical
70 * user supplied device name is parsable as a CTD name, it is parsed
73 * The CTD name space implies a device hierarchy and metassist
77 * correspond to an individual physical device depending on
145 device_spec_t *device);
149 device_spec_t *device);
152 * get_spec_for_name builds up a cached mapping of device
155 * This saves repeatedly converting the device name
2666 dm_descriptor_t device = (dm_descriptor_t)0; local
3103 spec_includes_device( device_spec_t *spec, device_spec_t *device) argument
3146 ctd_spec_includes_device( device_spec_t *spec, device_spec_t *device) argument
3243 raw_spec_includes_device( device_spec_t *spec, device_spec_t *device) argument
[all...]
/illumos-gate/usr/src/cmd/sa/
H A Dsadp.c41 usage : sadp [-th][-d device[-drive]] s [n]
71 #include <sys/scsi/conf/device.h>
96 "Invalid drive specified for device %s, valid drives are: "
97 #define ERR_NO_DEV "Please specify a device type, valid devices are: "
105 #define NAMESIZE 10 /* size of device names */
194 char device[NAMESIZE]; variable
291 strncpy(device, optarg, devlen);
460 * Make sure device and drive specified is legitimate.
496 * Get the list of scsi device pointers from kernel space.
508 * the chosen device
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dhotplug_mgr.c346 disk_split_ap_path_sata(const char *ap_path, char *device, int *target) argument
352 * /devices/rootnode/.../device:target
354 (void) strncpy(device, ap_path, MAXPATHLEN);
355 p = strrchr(device, ':');
363 disk_split_ap_path_scsi(const char *ap_path, char *device, int *target) argument
369 * /devices/rootnode/.../device:scsi::dsk/cXtXdX
372 (void) strncpy(device, ap_path, MAXPATHLEN);
373 p = strrchr(device, ':');
379 *strchr(device, ':') = '\0';
383 disk_split_ap_path(const char *ap_path, char *device, in argument
400 disk_split_device_path(const char *dev_path, char *device, int *target) argument
[all...]
/illumos-gate/usr/src/lib/libadm/common/
H A Ddevtab.c36 * Contains functions that deal with the device table and are not for
40 * _opendevtab() Opens the device table for commands
41 * _setdevtab() Rewinds the open device table
42 * _enddevtab() Closes the open device table
43 * _getdevtabent() Gets the next entry in the device table
44 * _freedevtabent() Frees memory allocated to a device-table entry
45 * _getdevrec() Gets a specific record from the device table
46 * _devtabpath() Get the pathname of the device table file
103 * to see if the two structures describe the same device.
107 * and minor device number
909 _getdevrec(char *device) argument
[all...]

Completed in 113 milliseconds

1234567891011>>