Searched refs:device (Results 276 - 300 of 434) sorted by relevance

<<1112131415161718

/illumos-gate/usr/src/uts/common/io/pciex/hotplug/
H A Dpcie_hp.c347 * 1. remove all child device nodes
395 * Parse the string of a pci Port name and get the device number
421 * Parse the string of a pci Port name and get the device number
435 /* Control structure used to find a device in the devinfo tree */
437 uint_t device; member in struct:pcie_hp_find_ctrl
443 * find a devinfo node with specified device and function number
444 * in the device tree under 'dip'
447 pcie_hp_devi_find(dev_info_t *dip, uint_t device, uint_t function) argument
452 ctrl.device = device;
[all...]
/illumos-gate/usr/src/uts/intel/io/hotplug/pcicfg/
H A Dpcicfg.c145 uint_t device; member in struct:pcicfg_find_ctrl
152 * design is to look for a device in this list during the configure
153 * operation, and if the device is listed here, then it is a nontransparent
538 * opens on the nexus which is in the device tree path above the node
543 * This entry point is called to configure a device (and
545 * a new device is added to the PCI domain. This routine
546 * will create the device tree and program the devices
550 pcicfg_configure(dev_info_t *devi, uint_t device, uint_t function, argument
571 * Start probing at the device specified in "device" o
786 pcicfg_configure_ntbridge(dev_info_t *new_device, uint_t bus, uint_t device) argument
1453 pcicfg_unconfigure(dev_info_t *devi, uint_t device, uint_t function, pcicfg_flags_t flags) argument
2847 pcicfg_devi_find(dev_info_t *dip, uint_t device, uint_t function) argument
3673 pcicfg_probe_children(dev_info_t *parent, uint_t bus, uint_t device, uint_t func, uint_t *highest_bus, pcicfg_flags_t flags, boolean_t is_pcie) argument
5075 pcicfg_add_config_reg(dev_info_t *dip, uint_t bus, uint_t device, uint_t func) argument
[all...]
/illumos-gate/usr/src/lib/efcode/engine/
H A Dproperties.c139 d = MYSELF->device;
228 * First, we look thru the in-memory device tree for the property.
238 dev = ih->device;
263 p = stack_find_property(env, MYSELF->device);
488 CHECK_DEPTH(env, 2, "device-name");
504 CHECK_DEPTH(env, 2, "device-type");
551 log_message(MSG_WARN, "No device context\n");
712 { "device-id", print_integer },
764 log_message(MSG_INFO, "No device context\n");
791 P1275(0x11a, 0, "device
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_hsp.c390 * Iterate each device and its components and see if the
394 * If a spare cannot be found for any device component,
397 * If spares are found for all device components, add
491 * examine device component slices and see if the HSP already
499 devconfig_t *device = (devconfig_t *)iter->obj; local
500 dlist_t *components = devconfig_get_components(device);
505 error = get_hbas_and_disks_used_by_volume(device, &hbas, &disks);
556 * and associate the HSP with each device in the input list.
622 * PURPOSE: Examine each device's slice components and build a list
675 * large enough for the device component
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkginfo/
H A Dpkginfo.c65 "%s -d device [-q] [-x|l] [options] [pkg ...]\n" \
97 static char *device = NULL; variable
188 /* -d could specify stream or mountable device */
189 device = flex_device(optarg, 1);
286 /* convert device appropriately */
287 if (pkghead(device))
293 * device is not NULL.
308 * device is not NULL.
/illumos-gate/usr/src/cmd/lvm/metassist/controller/
H A Dmetassist.c685 char *device; local
695 /* For each device in the string list... */
696 while ((device = strtok(stringdup, DEVICELISTDELIM)) != NULL) {
698 /* Duplicate the device string */
699 if ((dup = strdup(device)) == NULL) {
704 /* Create new dlist_t for this device */
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_check.c143 * check whether device is swapped on
235 * check whether device is a dump device
246 char device[MAXPATHLEN]; local
252 if (ioctl(dump_fd, DIOCGETDEV, device) != -1) {
255 if ((dump_np = metaname(&sp, device, UNKNOWN, ep)) == NULL) {
264 } else { /* not a dump device - but does it overlap? */
278 * check whether device is mounted
330 } else { /* device isn't in mnttab - does it overlap? */
406 * with a device alread
[all...]
/illumos-gate/usr/src/boot/sys/boot/sparc64/boot1/
H A Dboot1.c63 static int domount(const char *device);
365 printf("usage: boot device [/path/to/loader]\n");
500 domount(const char *device) argument
503 if ((bootdev = ofw_open(device)) == -1) {
504 printf("domount: can't open device\n");
/illumos-gate/usr/src/uts/i86pc/io/psm/
H A Dpsm_common.c153 * If the interrupt link device is already configured,
158 * ACPI_PSM_SUCCESS if the interrupt link device is already configured.
162 * When two devices share the same interrupt link device, and the
163 * link device is already configured (i.e. found in the irq cache)
165 * the link device.
176 * Convert the passed-in link device name to a handle
183 * Assume that the link device is invalid if no _CRS method
195 " for device %s, instance #%d, irq no %d\n",
230 get_bdf(dev_info_t *dip, int *bus, int *device, int *func) argument
245 if (device !
[all...]
/illumos-gate/usr/src/cmd/listen/
H A Dlisten.c96 char *Minor_prefix; /* prefix for minor device names */
1348 char device[20]; local
1378 *device = '\0';
1382 sprintf(device, "%.9s%02d", Minor_prefix,
1385 sprintf(device, "%.8s%03d", Minor_prefix,
1387 DEBUG((9, "Device: %s", device));
1398 strncpy(utline.ut_line, device, sizeof (utline.ut_line) - 1);
1535 * as a minor device prefix. THIS SHOULD BE DOCUMENTED!
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcieb.c418 /* create special properties for device identification */
585 cmn_err(CE_CONT, "?PCIE-device: %s@%s, %s%d\n",
636 * Attach failed for the child device. The child
640 * associated with the child device.
734 uint_t device, func; local
763 * the function and device number.
770 /* copy the device identifications */
771 device = PCI_REG_DEV_G(pci_rp[0].pci_phys_hi);
776 func = (device << 3) | func;
777 device
[all...]
/illumos-gate/usr/src/lib/libbsm/common/
H A Ddevalloc.c72 * reads /etc/logindevperm and checks if specified device is in the file.
73 * returns 1 if specified device found in /etc/logindevperm, else returns 0
84 char *ptr, *device; local
123 /* empty device list */
143 device = strtok_r(fbuf, ":", &lasts);
144 while (device != NULL) {
146 * device and devname may be one of these types -
153 if (strcmp(device, devname) == 0) {
158 if ((ptr = strrchr(device, KV_WILDCHAR)) != NULL) {
161 if (strncmp(device, devnam
[all...]
/illumos-gate/usr/src/cmd/biosdev/
H A Dbiosdev.c45 * structure used for searching device tree for a node matching
56 * structure used for searching device tree for a node matching
69 int matchcount; /* number of matches per this device number */
81 * array to hold mappings. Element at index X corresponds to BIOS device
87 * Cache copy of kernel device tree snapshot root handle, includes devices
93 * kernel device tree snapshot with currently attached devices. Detached
104 static char **disk_list = NULL; /* array of physical device pathnames */
176 /* only take p0 raw device */
355 * Construct a physical device pathname from EDD and verify the
393 bd->interfacepath.pci.device,
[all...]
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/
H A Dscsi_vhci.h317 * to prevent unnecessary failover when a device is
438 * scsi device associated with this
550 * vectors for device specific failover related operations
573 * identify device
746 char ret_ct[MAXPATHLEN]; /* client device */
747 char ret_phci[MAXPATHLEN]; /* pHCI device */
748 } device; member in struct:sv_path_info32
750 char ret_addr[MAXNAMELEN]; /* device address */
759 caddr32_t addr; /* device address */
766 caddr32_t client; /* client device devf
809 } device; member in struct:sv_path_info
[all...]
/illumos-gate/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Drdsv3_impl.h334 #define RDSV3_IBDEV2HCAHDL(device) (device)->hca_hdl
/illumos-gate/usr/src/uts/intel/io/pciex/hotplug/
H A Dpciehpc_acpi.c66 static void pciehpc_acpi_notify_handler(ACPI_HANDLE device, uint32_t val,
342 /* make sure the slot has a device present */
407 /* make sure the slot has a device present */
431 * as device function (dev=0,func=0).
456 * Install event hanlder for events on the device function object.
457 * (Note: Eject device event (hot-remove) is delivered on this object)
460 * on all of the 8 possible device functions so, subscribing to
475 pciehpc_acpi_notify_handler(ACPI_HANDLE device, uint32_t val, void *context) argument
489 * get the state of the device (from _STA method)
494 cmn_err(CE_WARN, "failed to get device statu
[all...]
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-printers.c193 "device-uri", tmp->device);
469 "device-uri", &tmp->device);
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/
H A Ddb88f6281.dts90 device-width = <1>;
H A Ddreamplug-1001N.dts95 device-width = <1>;
/illumos-gate/usr/src/lib/efcode/include/fcode/
H A Dengine.h95 * device.
135 device_t *device; member in struct:INSTANCE
137 * These are copies of the same structures from the device definition
/illumos-gate/usr/src/cmd/pcitool/
H A Dpcitool_ui.c135 /* 1st arg is not a device name. */
240 &parsed_args->bus, &parsed_args->device,
313 &parsed_args->bus, &parsed_args->device,
349 * since this means write then read back for device and
371 * For device and nexus, get a single register value
767 * Other fields: bus, device, function, offset, default to
796 /* getopt wasn't even called. Bad device spec. */
799 "%s: device spec must start with %s or %s...\n", argv[0],
1038 * Parse device options. This includes:
1522 (void) printf("device
[all...]
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dlpstat.c141 char *keys[] = { "device-uri", NULL };
149 "device-uri", &result);
206 char *device = NULL; local
229 device = get_device_uri(svc, name);
231 if (device != NULL) {
232 printf(gettext("device for %s: %s\n"), name, device);
1011 "output-device-assigned", &destination);
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_impl.h155 int type; /* resource(device) type */
156 char device[MAXPATHLEN]; /* name of device or resource */ member in struct:__anon1307::__anon1308
/illumos-gate/usr/src/cmd/hal/tools/
H A DMakefile28 HAL_PROG = hal-device hal-find-by-capability hal-find-by-property \
136 hal-device: hal-device.c
137 $(LINK.c) -o $@ hal-device.c $(LDLIBS)
/illumos-gate/usr/src/cmd/tsol/labeld/
H A Dsvc-labeld55 # Comment out audio, usb, removable-media, and hotpluggable device
92 # Ensure auditing and device allocation are enabled by
95 /usr/sbin/svcadm enable -s svc:/system/device/allocate:default
101 /usr/sbin/svcadm enable -s svc:/system/device/allocate:default
444 # Uncomment audio, usb, removable-media, and hotpluggable device

Completed in 175 milliseconds

<<1112131415161718