Searched defs:devname (Results 1 - 25 of 120) sorted by relevance

12345

/illumos-gate/usr/src/head/
H A Ddevid.h42 char *devname; member in struct:devid_nmlist
H A Ddevmgmt.h127 * char *devname Alias of the reserved device
132 char *devname; member in struct:reservdev
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_memory.c39 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 Dacpidev_scope.c37 char *devname, int maxlen);
151 acpidev_scope_filter(acpidev_walk_info_t *infop, char *devname, int maxlen) argument
161 devname, maxlen);
H A Dacpidev_device.c39 char *devname, int maxlen);
174 acpidev_filter_rule_t *afrp, char *devname, int len)
220 acpidev_device_filter(acpidev_walk_info_t *infop, char *devname, int maxlen) argument
230 devname, maxlen);
173 acpidev_device_filter_usb(acpidev_walk_info_t *infop, ACPI_HANDLE hdl, acpidev_filter_rule_t *afrp, char *devname, int len) argument
H A Dacpidev_usbport.c109 acpidev_filter_rule_t *afrp, char *devname, int len)
128 (void) snprintf(devname, len, "usbroothub");
130 (void) snprintf(devname, len, "port");
137 acpidev_usbport_filter(acpidev_walk_info_t *infop, char *devname, int maxlen) argument
147 devname, maxlen);
108 acpidev_usbport_filter_cb(acpidev_walk_info_t *infop, ACPI_HANDLE hdl, acpidev_filter_rule_t *afrp, char *devname, int len) argument
H A Dacpidev_container.c68 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/boot/sys/boot/efi/libefi/
H A Defizfs.c96 char devname[SPECNAMELEN + 1]; local
111 snprintf(devname, sizeof(devname), "%s%dp%d:",
114 if (zfs_probe_dev(devname, &guid) == 0) {
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddlink_common.c55 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 Dsetboot.c96 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/cmd/mdb/common/modules/genunix/
H A Dirm.c107 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/lib/libpcp/common/
H A Dpcp_utils.c81 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/lib/libdevinfo/
H A Ddevinfo_finddev.c73 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 Dinuse_lu.c65 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/cmd/ndmpd/ndmp/
H A Dndmpd_scsi.c54 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 Ddisk_discovery.c178 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/addbadsec/
H A Daddbadsec.c55 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 Dni.c50 char devname[20] = "37"; variable
56 char devname[20] = "post"; /* default typesetter */ variable
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmexpress.c51 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/io/ib/clients/rds/
H A Drdsib_sc.c315 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 Drdsv3_sc.c311 rdsv3_if_lookup_by_name(char *devname) argument
320 if (strcmp(devname, sc_device_name) == 0) {
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dinstall.c190 const char *devname; local
199 devname = "net0";
205 devname = "pxe0";
208 devname = "disk1";
238 if (strlen(devname) + strlen(pkgname) + 2 > sizeof(buf)) {
242 sprintf(buf, "%s:%s", devname, pkgname);
H A Ddev_net.c127 const char *devname; /* Device part of file name (or NULL). */ local
134 devname = dev->d_dev->dv_name;
136 if (netdev_sock >= 0 && strcmp(devname, netdev_name) != 0)
148 netdev_name = strdup(devname);
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevalloc.c173 * Note: devname is a /devices link in the REMOVE case.
177 _update_devalloc_db(devlist_t *devlist, int devflag, int action, char *devname, argument
231 devname);
234 (void) da_rm_list_entry(devlist, devname,
246 if (strcmp(entry->devinfo.devname, devname) == 0)
249 (void) _update_dev(entry, action, NULL, devname, NULL);
260 * devname: short name (i.e. rmdisk5, cdrom0) of device if known
274 * a char * to strdup'd devname of the device removed.
282 _update_dev(deventry_t *dentry, int action, const char *devtype, char *devname, argument
[all...]
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_printer.c675 * devname - device associated w/ this printer
683 update_dev_dbs(char *prtname, char *devname, char *func) argument
703 "-n", prtname, "-t", "lp", "-l", devname,

Completed in 82 milliseconds

12345