Searched refs:devlen (Results 1 - 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_cvt.c | 199 int count, *lunnump, devlen, local 398 devlen = strlen(DEVICES_DIR) + 400 if ((pathp = calloc(1, devlen)) 405 (void) snprintf(pathp, devlen, 436 int count, devlen; local 484 devlen = strlen(DEVICES_DIR) + strlen(path_name) + 1; 486 if ((pathp = calloc(1, devlen)) 491 (void) snprintf(pathp, devlen, "%s%s", DEVICES_DIR, path_name); 714 int is_scsi_vhci_dev, di_ret, devlen; local 770 devlen [all...] |
H A D | cfga_list.c | 2878 size_t devlen; local 2897 devlen = strlen(DEVICES_DIR) + strlen(client_path) + 1; 2898 devpath = calloc(1, devlen); 2904 (void) snprintf(devpath, devlen, "%s%s", DEVICES_DIR, client_path);
|
/illumos-gate/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); 1142 if (strncmp(device, devnm[j], devlen) ! [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_cvt.c | 461 size_t devlen; local 485 devlen = strlen(DEVICES_DIR) + strlen(physpath) + 1; 487 devpath = calloc(1, devlen); 499 (void) snprintf(devpath, devlen, "%s%s", DEVICES_DIR, physpath);
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | g_adm.c | 6388 int found = 0, err, devlen; local 6447 if (strlen(my_hba_path) > (devlen = strlen("/devices"))) { 6448 cptr = &my_hba_path[devlen];
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | linkprop.c | 1516 i_dladm_get_zone_dev(char *zone_name, char *dev, size_t devlen) argument 1535 (void) snprintf(dev, devlen, "%s%s", root, "/dev");
|
Completed in 125 milliseconds