/illumos-gate/usr/src/uts/intel/io/heci/ |
H A D | heci.h | 57 * heci device ID 93 struct iamt_heci_device *device); 94 void fini_heci_device(struct iamt_heci_device *device); 122 int heci_ioctl_get_version(struct iamt_heci_device *device, int if_num, 131 int heci_ioctl_wd(struct iamt_heci_device *device, int if_num, 135 int heci_ioctl_bypass_wd(struct iamt_heci_device *device, int if_num, 139 int heci_start_read(struct iamt_heci_device *device, int if_num, 142 int pthi_write(struct iamt_heci_device *device, 145 int pthi_read(struct iamt_heci_device *device, int if_num, 149 struct iamt_heci_device *device, struc [all...] |
H A D | heci_main.c | 103 static int heci_initialize(dev_info_t *dip, struct iamt_heci_device *device); 221 struct iamt_heci_device *device; local 240 device = ddi_get_soft_state(heci_soft_state_p, instance); 241 ASSERT(device != NULL); /* can't fail - we only just allocated it */ 243 device->dip = dip; 245 status = heci_initialize(dip, device); 270 heci_initialize(dev_info_t *dip, struct iamt_heci_device *device) argument 275 err = ddi_get_iblock_cookie(dip, 0, &device->sc_iblk); 281 /* initializes the heci device structure */ 282 init_heci_device(dip, device); 482 struct iamt_heci_device *device; local 1329 struct iamt_heci_device *device = NULL; local 1443 struct iamt_heci_device *device; local 1511 struct iamt_heci_device *device; local [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/common/ |
H A D | volume_devconfig.c | 130 * Check the type of the given device. 132 * @param device 133 * the device whose type to check 136 * the type of the device against which to compare 138 * @return B_TRUE if the device is of the given type, B_FALSE 143 devconfig_t *device, 148 if (device == NULL) { 152 if (devconfig_get_type(device, &curtype) != 0) { 180 devconfig_t *device, 191 /* For each component of this device 142 devconfig_isA( devconfig_t *device, component_type_t type) argument 179 devconfig_get_component( devconfig_t *device, component_type_t type, devconfig_t **component, boolean_t create) argument 238 devconfig_set_available( devconfig_t *device, char **available) argument 255 devconfig_get_available( devconfig_t *device) argument 272 devconfig_set_unavailable( devconfig_t *device, char **unavailable) argument 289 devconfig_get_unavailable( devconfig_t *device) argument 305 devconfig_set_components( devconfig_t *device, dlist_t *components) argument 321 devconfig_get_components( devconfig_t *device) argument 344 devconfig_set_name( devconfig_t *device, char *name) argument 460 devconfig_get_name( devconfig_t *device, char **name) argument 492 devconfig_set_type( devconfig_t *device, component_type_t type) argument 516 devconfig_get_type( devconfig_t *device, component_type_t *type) argument 559 devconfig_set_size( devconfig_t *device, uint64_t size_in_bytes) argument 597 devconfig_get_size( devconfig_t *device, uint64_t *size_in_bytes) argument 630 devconfig_set_size_in_blocks( devconfig_t *device, uint64_t size_in_blocks) argument 663 devconfig_get_size_in_blocks( devconfig_t *device, uint64_t *size_in_blocks) argument 1550 devconfig_dump( devconfig_t *device, char *prefix) argument [all...] |
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | device_store.h | 4 * device.c : HalDevice methods 32 #include "device.h" 48 HalDevice *device, 52 HalDevice *device, 58 HalDevice *device, 76 HalDevice *device, 81 HalDevice *device, 89 HalDevice *device); 91 HalDevice *device);
|
H A D | hald.c | 68 * @brief The HAL daemon manages persistent device objects available through 78 addon_terminated (HalDevice *device, guint32 exit_type, argument 82 HAL_INFO (("in addon_terminated for udi=%s", device->udi)); 89 if (hal_device_inc_num_ready_addons (device)) { 90 if (hal_device_are_all_addons_ready (device)) { 91 manager_send_signal_device_added (device); 100 gdl_store_changed (HalDeviceStore *store, HalDevice *device, argument 106 HAL_INFO (("Added device to GDL; udi=%s", hal_device_get_udi(device))); 108 if ((addons = hal_device_property_get_strlist (device, "inf 145 gdl_property_changed(HalDeviceStore *store, HalDevice *device, const char *key, gboolean added, gboolean removed, gpointer user_data) argument 159 gdl_capability_added(HalDeviceStore *store, HalDevice *device, const char *capability, gpointer user_data) argument [all...] |
H A D | device_store.c | 109 hal_device_store_init (HalDeviceStore *device) argument 149 emit_device_property_changed (HalDevice *device, argument 158 device, key, added, removed); 162 emit_device_capability_added (HalDevice *device, argument 169 device, capability); 173 hal_device_store_add (HalDeviceStore *store, HalDevice *device) argument 177 if (strncmp(device->udi, buf, sizeof (buf) - 1) != 0) { 184 g_object_ref (device)); 186 g_signal_connect (device, "property_changed", 188 g_signal_connect (device, "capability_adde 198 hal_device_store_remove(HalDeviceStore *store, HalDevice *device) argument 256 hal_device_store_print_foreach_fn(HalDeviceStore *store, HalDevice *device, gpointer user_data) argument 396 match_device_async(HalDeviceStore *store, HalDevice *device, const char *key, gboolean removed, gboolean added, gpointer user_data) argument 421 store_changed(HalDeviceStore *store, HalDevice *device, gboolean added, gpointer user_data) argument 461 HalDevice *device; local [all...] |
H A D | hald_runner.c | 57 HalDevice *device; member in struct:__anon622 73 HalDevice *device = user_data; local 75 if (rp->device == device) { 84 running_processes_remove_device (HalDevice *device) argument 86 g_hash_table_foreach_remove (running_processes, rprd_foreach, device); 90 runner_device_finalized (HalDevice *device) argument 92 running_processes_remove_device (device); 124 rp->cb (rp->device, 0, 0, NULL, rp->data1, rp->data2); 236 add_property_to_msg (HalDevice *device, HalPropert argument 340 add_first_part(DBusMessageIter *iter, HalDevice *device, const gchar *command_line, char **extra_env) argument 365 hald_runner_start(HalDevice *device, const gchar *command_line, char **extra_env, HalRunTerminatedCB cb, gpointer data1, gpointer data2) argument 481 hald_runner_run_method(HalDevice *device, const gchar *command_line, char **extra_env, gchar *input, gboolean error_on_stderr, guint32 timeout, HalRunTerminatedCB cb, gpointer data1, gpointer data2) argument 532 hald_runner_run(HalDevice *device, const gchar *command_line, char **extra_env, guint timeout, HalRunTerminatedCB cb, gpointer data1, gpointer data2) argument 544 hald_runner_kill_device(HalDevice *device) argument 574 hald_runner_kill_all(HalDevice *device) argument [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cache/ |
H A D | cache.kshlib | 72 # Verify the given cache device have correct type and status 75 # $2 device name 76 # $3 device status 77 # $4 device type 82 typeset device=$2 86 if [[ -z $pool || -z $device || -z $status ]]; then 87 log_fail "Usage: verify_cache_device <pool> <device> " \ 115 stripe:$device) 128 mirror:$device) 145 log_note "Can not find device [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/ |
H A D | slog.kshlib | 73 # Verify the give slog device have correct type and status 76 # $2 device name 77 # $3 device status 78 # $4 device type 83 typeset device=$2 87 if [[ -z $pool || -z $device || -z $status ]]; then 88 log_fail "Usage: verify_slog_device <pool> <device> " \ 116 stripe:$device) 129 mirror:$device) 147 log_note "Can not find device [all...] |
/illumos-gate/usr/src/cmd/fm/eversholt/files/sparc/sun4v/ |
H A D | n2piu.esc | 145 event ereport.io.device.inval_state@niu/niufn{within(5s)}; 146 event ereport.io.device.no_response@niu/niufn{within(5s)}; 147 event ereport.io.device.stall@niu/niufn{within(5s)}; 148 event ereport.io.device.badint_limit@niu/niufn{within(5s)}; 149 event ereport.io.device.intern_corr@niu/niufn{within(5s)}; 150 event ereport.io.device.intern_uncorr@niu/niufn{within(5s)}; 151 event ereport.io.device.nf-device@niu/niufn; 225 event error.io.device.f-device [all...] |
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_dump.c | 53 * Check the dump device against the input slice. 60 char device[MAXPATHLEN]; local 84 if (ioctl(fd, DIOCGETDEV, device) != -1) { 85 if (strcmp(slice, device) == 0) {
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | pci_orion.c | 87 /* nc82454 Found - store device no. */ 132 * device ID registers on the nc82454. This is probabilistic, of course, 133 * because the nc82454 *could* be pointing at a register on some device 181 pci_orion_getb(int bus, int device, int function, int reg) argument 187 val = pci_mech1_getb(bus, device, function, reg); 194 pci_orion_getw(int bus, int device, int function, int reg) argument 200 val = pci_mech1_getw(bus, device, function, reg); 207 pci_orion_getl(int bus, int device, int function, int reg) argument 213 val = pci_mech1_getl(bus, device, function, reg); 220 pci_orion_putb(int bus, int device, in argument 230 pci_orion_putw(int bus, int device, int function, int reg, uint16_t val) argument 240 pci_orion_putl(int bus, int device, int function, int reg, uint32_t val) argument [all...] |
/illumos-gate/usr/src/cmd/hal/tools/sunos/ |
H A D | hal-system-power-hibernate-sunos.sh | 25 for device in $devices 28 $device org.freedesktop.Hal.Device.Rescan
|
/illumos-gate/usr/src/cmd/fm/eversholt/files/common/ |
H A D | storage.esc | 35 event fault.device.controller.fail@controller; 36 event fault.device.ethernet.fail@controller; 37 event fault.device.ethernet.fail@sas-expander; 38 event fault.device.fan.fail@fan; 39 event fault.device.fan.fail@fanmodule; 40 event fault.device.psu.fail@psu; 41 event fault.device.psu.fail@psu; 42 event fault.device.sas-expander.fail@sas-expander; 43 event fault.device.unusable-chassis-id@fanboard; 77 event ereport.chassis.device [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | dcopy.c | 55 /* device state for register/unregister */ 57 /* DMA device drivers private pointer */ 60 /* to track list of channels from this DMA device */ 66 * before it's safe to allow the DMA device driver to detach. 91 /* shortcut to device callbacks */ 96 * it's safe to free up this channel so the DMA device driver can 113 /* pointer back to our device */ 155 static void dcopy_device_cleanup(dcopy_device_handle_t device, 218 /* Initialize the list we use to track device register/unregister */ 298 * can happen if there aren't any DMA device registere 328 dcopy_device_handle_t device; local 605 struct dcopy_device_s *device; local 724 dcopy_device_handle_t device; local 777 dcopy_device_cleanup(dcopy_device_handle_t device, boolean_t do_callback) argument [all...] |
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | getvol.c | 63 static char *cdevice; /* character device name */ 64 static char *pname; /* device presentation name */ 72 * 1 - device not accessable 73 * 2 - unknown device (devattr failed) 94 getvol(char *device, char *label, int options, char *prompt) argument 96 return (_getvol(device, label, options, prompt, NULL)); 100 _getvol(char *device, char *label, int options, char *prompt, char *norewind) argument 106 cdevice = devattr(device, "cdevice"); 108 cdevice = devattr(device, "pathname"); 110 return (2); /* bad device */ 287 insert(char *device, char *label, int options, char *prompt) argument 459 doremovecmd(char *device, int echo) argument [all...] |
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | dstream.c | 51 extern char *devattr(char *device, char *attribute); 54 extern int getvol(char *device, char *label, int options, char *prompt); 61 /* device types */ 75 #define G_FILE 28 /* file, not a device */ 76 #define G_NO_DEV 29 /* device does not require special treatment */ 77 #define G_DEV_MAX 30 /* last valid device type */ 95 int ds_next(char *device, char *instdir); 96 int ds_ginit(char *device); 100 static int ds_realfd = -1; /* file descriptor for real device */ 111 static int ds_getnextvol(char *device); 183 ds_readbuf(char *device) argument 203 logerr(pkg_gt(MSG_OPEN), device, errno); local 292 ds_init(char *device, char **pkg, char *norewind) argument 307 logerr(pkg_gt(MSG_OPEN), device, errno); local 322 logerr(pkg_gt(MSG_OPEN), device, errno); local 361 logerr(pkg_gt(MSG_OPEN), device, errno); local 370 logerr(pkg_gt(MSG_OPEN), device, errno); local 519 ds_findpkg(char *device, char *pkg) argument 583 ds_getpkg(char *device, int n, char *dstdir) argument 615 ds_getnextvol(char *device) argument 642 ds_skip(char *device, int nskip) argument 670 ds_skiptoend(char *device) argument 677 ds_next(char *device, char *instdir) argument 734 BIO_ds_dump(PKG_ERR *err, char *device, BIO *bio) argument 793 ds_ginit(char *device) argument [all...] |
/illumos-gate/usr/src/lib/libcontract/common/ |
H A D | device_dump.c | 28 #include <sys/contract/device.h> 51 char *device; local 60 statfd = contract_open(ctid, "device", "status", O_RDONLY); 71 if (ct_dev_status_get_minor(stathdl, &device) != 0) { 79 s = dgettext(TEXT_DOMAIN, "device %s offlining\n"); 82 s = dgettext(TEXT_DOMAIN, "device %s degrading\n"); 85 s = dgettext(TEXT_DOMAIN, "device %s online\n"); 92 s = dgettext(TEXT_DOMAIN, "device %s sent an unknown event\n"); 98 (void) fprintf(file, s, device);
|
/illumos-gate/usr/src/cmd/devmgmt/data/ |
H A D | Makefile | 27 FILES= device.tab dgroup.tab
|
/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | printer.h | 21 char **command_set, char *device);
|
/illumos-gate/usr/src/test/zfs-tests/cmd/devname2devid/ |
H A D | devname2devid.c | 48 * device id. 60 char *minor_name, *devidstr, *device; local 72 device = argv[1]; 74 if ((fd = open(device, O_RDONLY|O_NDELAY)) < 0) { 75 perror(device); 108 /* loop through list and process device names and numbers */
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmutil.c | 53 * check_device - check to see if the device exists, 54 * - and if it is a character device 58 check_device(char *device) argument 62 if ((device == NULL) || (*device == '\0')) { 63 log("error -- device field is missing"); 66 if (*device != '/') { 67 log("error -- must specify full path name for \"%s\".", device); 70 if (access(device, 0) == 0) { 71 if (stat(device, [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_kverbs.c | 109 ib_device_t *device; local 119 device = entry->ptr; 120 if (device->node_guid == htonll(guid)) { 121 ASSERT(device->reg_state == IB_DEV_CLOSE); 122 ASSERT(device->node_type == RDMA_NODE_IB_CA); 123 ASSERT(device->clnt_hdl == (ofs_client_p_t)ofs_client); 124 return (device); 203 ib_device_t *device; local 206 /* re-use the device once it was created */ 208 device 262 struct ib_device *device; local 317 ib_device_t *device; local 514 ib_device_t *device; local 612 ib_get_client_data(struct ib_device *device, struct ib_client *client) argument 666 ib_set_client_data(struct ib_device *device, struct ib_client *client, void *data) argument 714 ib_query_device(struct ib_device *device, struct ib_device_attr *attr) argument 807 ib_alloc_pd(struct ib_device *device) argument 938 ib_create_cq(struct ib_device *device, ib_comp_handler comp_handler, void (*event_handler)(struct ib_event *, void *), void *cq_context, int cqe, void *comp_vector) argument 2314 ib_get_ibt_hca_hdl(struct ib_device *device) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | ndievents.c | 39 dip_to_pathname(struct dev_info *device, char *path, int buflen) { argument 47 if (!device) { 52 if (device->devi_parent == NULL) { 54 (uintptr_t)device->devi_node_name) == -1) { 67 (uintptr_t)device->devi_parent) == -1) { 69 (uintptr_t)device->devi_parent); 78 (uintptr_t)device->devi_node_name) == -1) { 82 if (device->devi_node_state < DS_INITIALIZED) { 85 addr = device->devi_addr;
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_lock.c | 56 int type; /* resource(device) type */ 58 char device[MAXPATHLEN]; /* name of device or resource */ member in struct:__anon1311 175 find_req_entry(char *device, uint_t flag, int seq_num, req_list_t *list) argument 197 if ((strcmp(device, list->req[i].device) != 0) || 254 (void) strcpy((*listp)->req[i].device, ""); 266 if (((*listp)->req[i].device[0] == '\0') || 290 char *device; local 296 device 365 check_lock(char *device, uint_t flag, int cflag, rcm_info_t **info) argument 441 char *device; local 478 dr_req_update_entry(char *device, pid_t pid, uint_t flag, int state, int seq_num, timespec_t *interval, rcm_info_t **infop) argument 675 char *device; local 759 char *device = resolve_name(rsrcname); local 824 char *device = resolve_name(rsrcname); local [all...] |