/illumos-gate/usr/src/head/ |
H A D | devid.h | 41 char *devname; member in struct:devid_nmlist
|
H A D | devmgmt.h | 129 * char *devname Alias of the reserved device 134 char *devname; member in struct:reservdev
|
/illumos-gate/usr/src/cmd/lvm/util/ |
H A D | metarecover.c | 66 char *devname; local 138 devname = Strdup(argv[0]); 142 if ((namep = metaname(&sp, devname, UNKNOWN, ep)) == NULL) {
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_device.c | 37 char *devname, int maxlen); 155 acpidev_device_filter(acpidev_walk_info_t *infop, char *devname, int maxlen) argument 165 devname, maxlen);
|
H A D | acpidev_memory.c | 39 acpidev_walk_info_t *infop, char *devname, int maxlen); 155 acpidev_memory_filter(acpidev_walk_info_t *infop, char *devname, int maxlen) argument 165 devname, maxlen);
|
H A D | acpidev_scope.c | 37 char *devname, int maxlen); 151 acpidev_scope_filter(acpidev_walk_info_t *infop, char *devname, int maxlen) argument 161 devname, maxlen);
|
H A D | acpidev_container.c | 68 acpidev_walk_info_t *infop, char *devname, int maxlen); 72 char *devname, int devnamelen); 198 acpidev_filter_rule_t *rulep, char *devname, int devnamelen) 211 res = acpidev_filter_default(infop, hdl, rulep, devname, devnamelen); 213 if (devname == NULL || res == ACPIDEV_FILTER_FAILED || 236 buf.Pointer = devname; 243 (void) strlcpy(devname, ACPIDEV_NODE_NAME_MODULE_CPU, 247 (void) strlcpy(devname, ACPIDEV_NODE_NAME_MODULE_SBD, 255 (void) strlcpy(devname, ACPIDEV_NODE_NAME_CONTAINER, 263 acpidev_container_filter(acpidev_walk_info_t *infop, char *devname, in argument 197 acpidev_container_filter_func(acpidev_walk_info_t *infop, ACPI_HANDLE hdl, acpidev_filter_rule_t *rulep, char *devname, int devnamelen) argument [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dlink_common.c | 55 const char *devname = "/dev/dtrace/helper"; variable 138 devname = p; 140 if ((fd = open64(devname, O_RDWR)) < 0) { 141 dprintf(1, "failed to open helper device %s", devname); 150 devname = olddevname; 152 if ((fd = open64(devname, O_RDWR)) < 0) { 153 dprintf(1, "failed to open helper device %s", devname);
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | setboot.c | 96 char *devname; local 102 devname = bootfs; 139 devname = m.mnt_special; 142 if (devfs_dev_to_prom_name(devname, bdev) != 0) { 143 perror(devname);
|
/illumos-gate/usr/src/lib/lvm/libsvm/common/ |
H A D | metaconf.c | 137 char *devname; local 201 if ((devname = strstr(targname, DISK_DIR)) == NULL) { 205 if (_map_to_effective_dev((char *)devname, (char *)&edevname)
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | irm.c | 107 char devname[MODMAXNAMELEN + 1] = ""; local 150 mdb_snprintf(devname, sizeof (devname), "%s#%d", driver, 153 mdb_snprintf(devname, sizeof (devname), "%s", driver); 155 mdb_printf("%0?p %-18s %-8s %-6d %-9d %-8d\n", addr, devname, 194 char devname[MODMAXNAMELEN + 1] = ""; local 227 mdb_snprintf(devname, sizeof (devname), "%s#%d", driver, 231 addr, devname, irm_get_typ [all...] |
/illumos-gate/usr/src/uts/common/io/lvm/raid/ |
H A D | raid_hotspare.c | 139 char devname[MD_MAX_CTDLEN]; local 293 (void) md_devname(setno, col->un_orig_dev, devname, 294 sizeof (devname)); 299 md_shortname(mnum), devname, hs_devname);
|
/illumos-gate/usr/src/lib/lvm/libpreen/common/ |
H A D | mdpreen.c | 247 char *devname; local 263 devname = devnp->rname; 289 devname = Strdup(nm_list->devname); 295 if ((fd = open(devname, O_RDONLY, 0)) < 0) { 296 (void) mdsyserror(ep, errno, devname); 308 (void) mdsyserror(ep, errno, devname); 321 if (preen_subdev(devname, &cinfo, dp) != 0) {
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_finddev.c | 73 device_exists(const char *devname) argument 78 if (GLOBAL_DEV_PATH(devname)) { 79 rv = modctl(MODDEVEXISTS, devname, strlen(devname)); 82 if (stat(devname, &st) == 0)
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_lu.c | 65 static int add_use_record(char *devname, char *name); 124 add_use_record(char *devname, char *name) argument 133 if ((sp->slice = strdup(devname)) == NULL) {
|
/illumos-gate/usr/src/lib/libpcp/common/ |
H A D | pcp_utils.c | 81 char *devname, *s; local 86 devname = basename(pathname); 87 s = strrchr(devname, ':'); 93 if ((strncmp(devname, VCHAN, strlen(VCHAN)) == 0) || 94 (strncmp(devname, VCHAN_C, strlen(VCHAN_C)) == 0)) { 135 char *devname, *substr, *t; local 141 devname = basename(pathname); 142 substr = strstr(devname, GLVC); 149 if ((t = strrchr(devname, '@')) == NULL) { 154 len = t - devname; 182 platsvc_extract_svc_name(char *devname) argument [all...] |
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_scsi.c | 54 static void common_open(ndmp_connection_t *connection, char *devname); 406 * devname (input) - device name to open. 412 common_open(ndmp_connection_t *connection, char *devname) argument 428 NDMP_LOG(LOG_DEBUG, "Adapter device found: %s", devname); 429 (void) strlcpy(adptnm, devname, SCSI_MAX_NAME-2); 433 scsi_find_sid_lun(sa, devname, &sid, &lun); 434 if (ndmp_open_list_find(devname, sid, lun) == NULL && 435 (devid = open(devname, O_RDWR | O_NDELAY)) < 0) { 437 devname); 441 NDMP_LOG(LOG_ERR, "%s: No such SCSI adapter.", devname); 576 scsi_find_sid_lun(scsi_adapter_t *sa, char *devname, int *sid, int *lun) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | disk_discovery.c | 178 char devname[256]; local 182 (void) snprintf(devname, sizeof (devname), "/devices%s:a,raw", 185 diskname = device_get_disk_name_from_dir("/dev/rdsk", devname);
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devalloc.c | 172 * Note: devname is a /devices link in the REMOVE case. 176 _update_devalloc_db(devlist_t *devlist, int devflag, int action, char *devname, argument 230 devname); 233 (void) da_rm_list_entry(devlist, devname, 245 if (strcmp(entry->devinfo.devname, devname) == 0) 248 (void) _update_dev(entry, action, NULL, devname, NULL); 259 * devname: short name (i.e. rmdisk5, cdrom0) of device if known 273 * a char * to strdup'd devname of the device removed. 281 _update_dev(deventry_t *dentry, int action, const char *devtype, char *devname, argument [all...] |
/illumos-gate/usr/src/cmd/addbadsec/ |
H A D | addbadsec.c | 55 char *devname; /* name of device */ variable 133 devname = argv[optind]; 135 if (stat(devname, &statbuf)) { 137 progname, devname); 143 " special\n", progname, devname); 153 " slice\n", progname, devname); 159 " device\n", progname, devname); 163 if ((devfd = open(devname, O_RDWR)) == -1) { 165 progname, devname); 232 l = strlen(devname); [all...] |
/illumos-gate/usr/src/cmd/troff/ |
H A D | ni.c | 50 char devname[20] = "37"; variable 56 char devname[20] = "post"; /* default typesetter */ variable
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmexpress.c | 51 static char *devname; variable 114 devname = find_ttyname(0); 115 if ((devname == NULL) || (*devname == '\0')) { 119 pmtab->p_device = devname; 121 debug("ttymon_express: devname = %s", devname); 392 * - number of fd and devname from utmpx match.
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | systeminfo.c | 329 get_netif_name(char *devname, char *ifname) argument 336 dip = path_to_devinfo(devname); 339 "can't bind driver for '%s'\n", devname); 346 "no driver bound to '%s'\n", devname);
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsib_sc.c | 315 rds_if_lookup_by_name(char *devname) argument 324 if (strcmp(devname, sc_device_name) == 0) {
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rdsv3_sc.c | 311 rdsv3_if_lookup_by_name(char *devname) argument 320 if (strcmp(devname, sc_device_name) == 0) {
|