Searched refs:devlen (Results 1 – 6 of 6) sorted by relevance
/titanic_50/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_cvt.c | 199 int count, *lunnump, devlen, in is_apid_configured() local 398 devlen = strlen(DEVICES_DIR) + in is_apid_configured() 400 if ((pathp = calloc(1, devlen)) in is_apid_configured() 405 (void) snprintf(pathp, devlen, in is_apid_configured() 436 int count, devlen; in insert_lun_to_lunlist() local 484 devlen = strlen(DEVICES_DIR) + strlen(path_name) + 1; in insert_lun_to_lunlist() 486 if ((pathp = calloc(1, devlen)) in insert_lun_to_lunlist() 491 (void) snprintf(pathp, devlen, "%s%s", DEVICES_DIR, path_name); in insert_lun_to_lunlist() 714 int is_scsi_vhci_dev, di_ret, devlen; in construct_nodepath_from_dinode() local 770 devlen = strlen(DEVICES_DIR) + strlen(path_name) + 1; in construct_nodepath_from_dinode() [all …]
|
H A D | cfga_list.c | 2878 size_t devlen; in init_ldata_for_mpath_dev() local 2897 devlen = strlen(DEVICES_DIR) + strlen(client_path) + 1; in init_ldata_for_mpath_dev() 2898 devpath = calloc(1, devlen); in init_ldata_for_mpath_dev() 2904 (void) snprintf(devpath, devlen, "%s%s", DEVICES_DIR, client_path); in init_ldata_for_mpath_dev()
|
/titanic_50/usr/src/cmd/sa/ |
H A D | sadp.c | 225 int n1, dleng, dashb, k, devlen; variable 288 devlen = strchr(optarg, '-') ? 291 strncpy(device, optarg, devlen); 293 if (dleng == (devlen+1)) { 297 if (dleng > devlen) { 298 for (i = (devlen+1), n1 = (devlen+1); i < dleng; i++){ 374 if (dleng != devlen){ 1099 devlen = strlen(device); in validate_device() 1142 if (strncmp(device, devnm[j], devlen) != 0) in validate_drive() 1245 if (strncmp(devnm[i], device, devlen))
|
/titanic_50/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_cvt.c | 461 size_t devlen; in do_drv_dyn_to_devpath() local 485 devlen = strlen(DEVICES_DIR) + strlen(physpath) + 1; in do_drv_dyn_to_devpath() 487 devpath = calloc(1, devlen); in do_drv_dyn_to_devpath() 499 (void) snprintf(devpath, devlen, "%s%s", DEVICES_DIR, physpath); in do_drv_dyn_to_devpath()
|
/titanic_50/usr/src/cmd/luxadm/ |
H A D | g_adm.c | 6388 int found = 0, err, devlen; in get_host_controller_pwwn() local 6447 if (strlen(my_hba_path) > (devlen = strlen("/devices"))) { in get_host_controller_pwwn() 6448 cptr = &my_hba_path[devlen]; in get_host_controller_pwwn()
|
/titanic_50/usr/src/lib/libdladm/common/ |
H A D | linkprop.c | 1566 i_dladm_get_zone_dev(char *zone_name, char *dev, size_t devlen) in i_dladm_get_zone_dev() argument 1585 (void) snprintf(dev, devlen, "%s%s", root, "/dev"); in i_dladm_get_zone_dev()
|