/illumos-gate/usr/src/cmd/format/ |
H A D | startup.c | 75 static void add_device_to_disklist(char *devname, char *devpath); 1580 add_device_to_disklist(char *devname, char *devpath) argument 1606 if ((search_file = open_disk(devpath, O_RDWR | O_NDELAY)) < 0) { 1785 search_disk->disk_path = alloc_string(devpath); 1797 search_disk->devfs_name = get_physical_name(devpath);
|
H A D | label.c | 501 get_disk_inquiry_prop(char *devpath, char **vid, char **pid, char **rid) argument 507 node = di_init(devpath, DINFOCPYALL);
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_list.c | 2879 char *devpath; local 2898 devpath = calloc(1, devlen); 2899 if (devpath == NULL) { 2904 (void) snprintf(devpath, devlen, "%s%s", DEVICES_DIR, client_path); 2910 S_FREE(devpath); 2946 if (devctl_cmd(devpath, FPCFGA_DEV_GETSTATE, 2958 S_FREE(devpath);
|
H A D | cfga_utils.c | 1019 hba_dev_cmp(const char *hba, const char *devpath) argument 1027 (void) snprintf(l_dev, sizeof (l_dev), "%s", devpath); 1056 /* devpath must have '/' and 1 char in addition to hba path */
|
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/ |
H A D | shp.c | 272 char *devpath; member in struct:searcharg 1097 if (strcmp(fulldevname, slotarg->devpath) == 0) { 1151 slotarg->devpath = (char *)devcomp;
|
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/ |
H A D | cfga.c | 262 char *devpath; member in struct:searcharg 1233 if (strcmp(fulldevname, slotarg->devpath) == 0) { 1287 slotarg->devpath = (char *)devcomp;
|
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fx_subr.c | 508 fab_find_rppath_by_devpath(fmd_hdl_t *hdl, const char *devpath) argument 517 * Line 4: See if the "dev" prop is parent of devpath 524 "/@value", PCIEX_ROOT, devpath);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | fm.c | 947 * devpath string <devpath> 955 const char *devpath, const char *devid, const char *tpl0) 972 err |= nvlist_add_string(fmri_dev, FM_FMRI_DEV_PATH, devpath); 954 fm_fmri_dev_set(nvlist_t *fmri_dev, int version, const nvlist_t *auth, const char *devpath, const char *devid, const char *tpl0) argument
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet.c | 2511 char *devpath; local 2516 devpath = UDP6DEV; 2521 devpath = UDPDEV; 2523 if ((fd = open(devpath, O_RDONLY)) < 0) {
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/ |
H A D | fru_access.c | 759 char devpath[PATH_MAX]; local 776 devpath, PATH_MAX); 810 (void) strlcpy(cont_hash_obj->u.cont_obj->device_pathname, devpath, 811 sizeof (devpath));
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | devtree_hba_disco.c | 637 wa.devpath = NULL;
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | drive.c | 380 * Get the drive descriptors for the given media/alias/devpath. 632 * Just open the first devpath. 636 (void) strlcpy(opath, diskp->aliases->devpaths->devpath, len); 638 return (open(diskp->aliases->devpaths->devpath, O_RDONLY|O_NDELAY));
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socksyscalls.c | 98 * First the library calls this with a NULL devpath. If this fails 101 * devpath for the kernel to use. 104 so_socket(int family, int type_w_flags, int protocol, char *devpath, argument 119 if (devpath != NULL) { 124 if ((error = copyinstr(devpath, buf, 1658 /* sockparams_create frees mod name and devpath upon failure */
|
H A D | socksubr.c | 132 sogetvp(char *devpath, vnode_t **vpp, int uioflag) argument 144 error = lookupname(devpath, uioflag, FOLLOW, NULLVPP, &vp); 155 * If devpath went through devfs, the device should already 156 * be configured. If devpath is a mknod file, however, we
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/ |
H A D | piclfrudr.c | 2313 update_disk_node(char *fruname, char *devpath) argument 2350 err = ptree_get_node_by_path(devpath, &devhdl);
|
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_brand.c | 1397 char *devpath, int version) 1404 protocol, devpath, version)); 1396 s10_so_socket(sysret_t *rval, int domain, int type, int protocol, char *devpath, int version) argument
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa.c | 3846 spa_generate_rootconf(char *devpath, char *devid, uint64_t *guid) argument 3852 if (vdev_disk_read_rootlabel(devpath, devid, &config) != 0) 3930 spa_import_rootpool(char *devpath, char *devid) argument 3942 config = spa_generate_rootconf(devpath, devid, &guid); 3945 if (strstr(devpath, "/iscsi/ssd") != NULL) { 3947 get_iscsi_bootpath_phy(devpath); 3948 config = spa_generate_rootconf(devpath, devid, &guid); 3954 devpath);
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | spa.h | 617 extern int spa_import_rootpool(char *devpath, char *devid);
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_xioctl.c | 6697 for (len = (uint32_t)strlen(ha->devpath); len; len--) { 6698 if (ha->devpath[len] == ',' || 6699 ha->devpath[len] == '@') { 6708 if (strncmp(ha->devpath, ha2->devpath, len) != 0) {
|
H A D | ql_api.c | 910 ha->devpath = kmem_zalloc(strlen(buf)+1, KM_SLEEP); 911 if (ha->devpath == NULL) { 912 EL(ha, "devpath mem alloc failed\n"); 914 (void) strcpy(ha->devpath, buf); 915 EL(ha, "devpath is: %s\n", ha->devpath); 1626 if (ha->devpath != NULL) { 1627 kmem_free(ha->devpath, 1628 strlen(ha->devpath) + 1); 1957 if (ha->devpath ! [all...] |
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_api.h | 1520 int8_t *devpath; member in struct:ql_adapter_state
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 1091 mount_one_dev(zlog_t *zlogp, char *devpath, zone_mnt_t mount_cmd) argument 1103 if (di_prof_init(devpath, &prof)) {
|