Searched defs:devices (Results 1 - 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/cmd/hal/hald/
H A Ddevice_store.h40 GSList *devices; member in struct:_HalDeviceStore
/illumos-gate/usr/src/boot/sys/boot/efi/boot1/
H A Dboot_module.h80 * load should select the best out of a set of devices that probe
91 /* status outputs information about the probed devices. */
94 /* valid devices as found by probe. */
95 dev_info_t *(*devices)(void); member in struct:boot_module_t
H A Dufs_module.c44 static dev_info_t *devices; variable
90 add_device(&devices, dev);
150 for (dev = devices, i = 0; dev != NULL; dev = dev->next, i++)
170 return (devices);
179 .devices = _devices
H A Dzfs_module.c41 static dev_info_t *devices; variable
88 add_device(&devices, dev);
185 return (devices);
195 .devices = _devices
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_dim.c35 * information into /devices and /dev paths. It does this using interfaces to
36 * the kernel instance tree so that it can provide translations for devices
82 char *devices; local
88 /* find the length of the devices path given major,instance */
100 if ((devices = (char *)malloc(mlen)) == NULL)
103 if (modctl(MODGETDEVFSPATH_MI, major, instance, len, devices) != 0) {
104 free(devices);
109 /* add ':<minot_name>' to the end of /devices path */
110 (void) strcat(devices, ":");
111 (void) strcat(devices, minor_nam
132 char *devices; local
[all...]
/illumos-gate/usr/src/cmd/devmgmt/cmds/
H A Dlistdgrp.c37 * listdgrp Writes on the standard output stream a list of devices
124 * List the devices that belong to the device group <dgroup>.
143 char **devices; /* List of devices in the group */
217 * Get the list of devices associated with the device group.
223 if (devices = listdgrp(dgroup)) {
224 for (pp = devices ; *pp ; pp++) (void) puts(*pp);
140 char **devices; /* List of devices in the group */ local
/illumos-gate/usr/src/cmd/availdevs/
H A Davaildevs.c125 nvlist_t *devices; local
135 nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, &devices) ||
137 devices, ZPOOL_CONFIG_VDEV_STATS, (uint64_t **)&vs, &n)) {
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_hsp.c50 dlist_t *devices,
55 dlist_t *devices,
61 dlist_t *devices);
66 dlist_t *devices);
69 dlist_t *devices,
94 * dlist_t *devices, dlist_t **results)
98 * devices - pointer to a list of devices to be served by the HSP
101 * to service the input list of devices needs to be
108 * single HSP to service the list of devices
120 layout_hsp( devconfig_t *request, devconfig_t *hsprequest, dlist_t *devices, dlist_t **results) argument
181 layout_default_hsp( devconfig_t *request, dlist_t *devices, devconfig_t **hsp) argument
295 layout_explicit_hsp( devconfig_t *hsprequest, dlist_t *devices, devconfig_t **hsp) argument
401 populate_hsp( devconfig_t *request, devconfig_t *hsp, dlist_t *devices) argument
559 assemble_hsp( devconfig_t *hsp, dlist_t *newspares, dlist_t *devices) argument
626 get_uniquely_sized_slices( dlist_t *devices, dlist_t **unique) argument
[all...]
H A Dlayout.c64 * stuff for making/updating the HSP to service devices
94 dlist_t *devices,
263 /* discover known physical and logical devices */
488 * FUNCTION: convert_device_names(devconfig_t request, dlist_t *devices)
491 * devices - a list of devconfig_t devices
506 dlist_t *devices)
511 for (iter = devices;
642 * Iterates the input list of devices and determines which
688 * FUNCTION: add_modified_disks_to_diskset(dlist_t *devices,
504 convert_device_names( devconfig_t *request, dlist_t *devices) argument
[all...]
H A Dlayout_discovery.c86 static void print_device_list(dlist_t *devices);
90 * These devices must still pass the user specified available/unavailable
234 * SIDEEFFECT: populates the module private lists of known devices
237 * All known devices will also have had their CTD
243 * PURPOSE: Load physical devices discovered thru libdiskmgt.
276 * physical devices.
306 * SIDEEFFECT: Traverses the lists of known devices and populates the
307 * module private lists of usable devices (_usable_slices,
314 * PURPOSE: Process the known devices and determine which of them are
336 gettext("\nDetermining usable physical devices "
2114 print_device_list( dlist_t *devices) argument
[all...]
/illumos-gate/usr/src/cmd/hal/tools/
H A Dlshal.c4 * lshal.c : Show devices managed by HAL
48 * @defgroup HalLsHal List HAL devices
52 * monitor the devices managed by the HAL daemon. Uses libhal.
60 #define UDI_BASE "/org/freedesktop/Hal/devices/"
203 * @param num_devices Total number of devices in device list
204 * @param devices List of devices
209 dump_children (char *udi, int num_devices, struct Device *devices, int depth) argument
215 if (devices[i].parent)
219 if (!devices[
254 struct Device *devices; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/
H A Dglue.c202 * devices
208 static struct device_info devices[UB_MAX_DEV]; variable in typeref:struct:device_info
214 return ((i < 0 || i >= UB_MAX_DEV) ? NULL : &devices[i]);
218 * Enumerates the devices: fills out device_info elements in the devices[]
221 * returns: number of devices found
229 memset(&devices, 0, sizeof(struct device_info) * UB_MAX_DEV);
230 di = &devices[0];
244 di->cookie = devices[n - 1].cookie;
267 di = &devices[handl
[all...]
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/
H A Ddrmach_acpi.h135 drmach_array_t *devices; member in struct:__anon9358
/illumos-gate/usr/src/lib/libadm/common/
H A Dgetdev.c38 * getdev() List devices that match certain criteria.
122 * list by examining the devices list and
124 * initdevicelist() Initializes the linked list of devices
127 * list of devices
128 * addtodevicelist() Adds an entry to the linked list of devices
133 * buildreturnlist() Builds the list of devices to return from the
134 * linked list of devices we've accumulated
136 * devices presented by the caller
138 * devices aliases
169 * devicelisthead The first item (dummy) in the linked list of devices
208 getdev( char **devices, char **criteria, int options) argument
291 oktoaddtolist( char *devtabentry, char **devices, char **aliases, int options) argument
669 makealiaslist(char **devices) argument
[all...]
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dbcache.c61 * supports up to 31 (0x1f) devices. Classic setup would use single disk
75 static u_int bcache_units; /* number of devices with cache */
106 * add number of devices to bcache. we have to divide cache space
107 * between the devices, so bcache_add_dev() can be used to set up the
110 * assumption is, devsw dv_init is called for plain devices first, and
114 bcache_add_dev(int devices) argument
116 bcache_numdev += devices;
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_dataset.c364 nvlist_t *devices = zjni_get_root_vdev(zphp); local
366 if (devices == NULL ||
367 populate_DeviceStatsBean(env, devices, dev_stats, object)) {
H A Dlibzfs_jni_pool.c383 nvlist_t *devices; local
393 nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, &devices) ||
394 populate_DeviceStatsBean(env, devices, dev_stats, object)) {
/illumos-gate/usr/src/cmd/rmvolmgr/
H A Drmm_common.c70 char **devices; local
131 if (!(devices = libhal_get_all_devices(ctx, &nr, error))) {
139 libhal_free_string_array(devices);
265 /* get all devices with property=value */
272 /* find volumes and drives among these devices */
/illumos-gate/usr/src/cmd/audio/audioctl/
H A Daudioctl.c153 static device_t *devices = NULL; variable
183 dpp = &devices;
204 device_t *d = devices;
206 while ((d = devices) != NULL) {
210 devices = NULL;
215 * adds to the end of global devices and returns a pointer to the new entry
227 if (devices == NULL) {
228 devices = d;
230 for (p = devices; p->nextp != NULL; p = p->nextp) {}
314 if (devices !
[all...]
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_storage.c3 * devinfo_storage.c : storage devices
46 /* some devices,especially CDROMs, may take a while to be probed (values in ms) */
310 * but also for hotpluggable devices, because when a disk is
722 GSList *devices; local
726 devices = hal_device_store_match_multiple_key_value_string (hald_get_gdl(),
728 for (i = devices; i != NULL; i = g_slist_next (i)) {
734 g_slist_free (devices);
1302 * For removable media devices, check for "storage.removable.media_available".
1303 * For non-removable media devices, assume media is always there.
1696 /* enumerate all storage devices o
[all...]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipmon.c1451 int fdt[3], devices = 0, make_daemon = 0; local
1602 devices++;
1712 if (!nr && ((opts & OPT_TAIL) || devices))
/illumos-gate/usr/src/cmd/sysdef/
H A Dsysdef.c119 void devices(void);
351 devices();
517 * Handle the configured devices
520 devices(void) function
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/
H A Dpsvcpolicy.c80 #define I2C_PATH "/devices/pci@9,700000/ebus@1/i2c@1,30"
1513 static i2c_hp_t devices[3][3] = { variable
1681 devices[ps_instance][1].addr[1]);
1683 devices[ps_instance][0].addr[1]);
1685 devices[ps_instance][2].addr[1]);
1743 * devices in the event that picld was started without a power
1744 * supply present. This call makes the devices available
1765 ddef_hdl = devctl_ddef_alloc(devices[ps_instance][i].name, 0);
1768 devices[ps_instance][i].name, errno);
1772 devices[ps_instanc
[all...]
/illumos-gate/usr/src/cmd/fs.d/
H A Dmount.c655 int devices = 1; local
659 return ("read/write/setuid/devices");
683 devices = 1;
686 devices = 0;
709 if (devices)
710 strcat(mntflags, "/devices");
/illumos-gate/usr/src/uts/common/xen/os/
H A Dxvdi.c274 * devices that do not need to interact with xenstore
286 * PV devices that need to probe xenstore
324 * The unit-address for frontend devices is the name of the
327 * VIF devices are named using an incrementing integer.
328 * VBD devices are either named using the 16-bit dev_t value
329 * for linux 'hd' and 'xvd' devices, or a simple integer value
642 * allocate Xen inter-domain communications ring for Xen virtual devices
715 * Release ring buffers allocated for Xen devices
879 * devices - don't attempt to iterate over the store.
956 /* Console and soft devices hav
1842 char **devices; local
[all...]

Completed in 107 milliseconds

12