| /onnv/onnv-gate/usr/src/uts/intel/ia32/os/ |
| bootdev.c | 79 * a prom-compatible path and return the value of new_path. If the 80 * caller specifies new_path as NULL, we allocate an appropriately 81 * sized new_path on behalf of the caller. If the caller invokes this 82 * function with new_path = NULL, they must do so from a context in 89 i_convert_boot_device_name(char *cur_path, char *new_path, size_t *len) 91 if (new_path != NULL) { 92 (void) snprintf(new_path, *len, "%s", cur_path); 93 return (new_path); 96 new_path = kmem_alloc(*len, KM_SLEEP); 97 (void) snprintf(new_path, *len, "%s", cur_path) [all...] |
| /onnv/onnv-gate/usr/src/lib/libadm/common/ |
| fulldevnm.c | 152 test_if_blk(char *new_path, dev_t raw_dev) 157 if (stat64(new_path, &buf) != 0) 173 test_if_raw(char *new_path, dev_t blk_dev) 178 if (stat64(new_path, &buf) != 0) 198 char *new_path; local 205 if ((new_path = malloc(strlen(cp))) == NULL) 210 (void) strcpy(new_path, cp); /* save first part of it */ 212 (void) strcat(new_path, dp); /* copy, skipping the 'r' */ 214 if (test_if_blk(new_path, dat->st_rdev)) 215 return (new_path); 251 char *new_path; local 340 char *new_path; local 422 char *new_path; local [all...] |
| /onnv/onnv-gate/usr/src/uts/sparc/os/ |
| bootdev.c | 470 * a prom-compatible path and return the value of new_path. If the 471 * caller specifies new_path as NULL, we allocate an appropriately 472 * sized new_path on behalf of the caller. If the caller invokes this 473 * function with new_path = NULL, they must do so from a context in 477 i_convert_boot_device_name(char *cur_path, char *new_path, size_t *len) 483 ASSERT(new_path == NULL || *len >= MAXPATHLEN); 485 if (new_path == NULL) { 487 new_path = kmem_alloc(*len, KM_SLEEP); 493 rval = i_devname_to_promname(cur_path, new_path, *len); 500 (void) snprintf(new_path + strlen(new_path) [all...] |
| /onnv/onnv-gate/usr/src/cmd/prtconf/ |
| prtconf.c | 42 static char new_path[MAXPATHLEN]; variable 295 cleanup_path(path, new_path); 297 len = strlen(new_path); 303 (strcmp(new_path, "/devices") == 0)) { 307 } else if (strncmp(new_path, "/devices/", plen + 1)) { 312 opts.o_devices_path = new_path + plen;
|
| /onnv/onnv-gate/usr/src/pkgdefs/SUNWnvsata/ |
| postinstall | 215 new_path=`echo $line | $NAWK '{print $11}'` 216 arg="/`echo ${new_path} | ${CUT} -d/ -f4,5`" 240 new_path="/`echo ${new_path} | $CUT -d/ -f4-`" 241 if [ ${new_path} = ${mapped_path} ] 248 echo "setprop bootpath ${new_path}" \ 338 for new_path in `$LS -l "/dev/dsk" | $GREP ${devname} |$NAWK '{print $11}'` 340 arg2="/`echo ${new_path} | ${CUT} -d/ -f4,5`" 944 for new_path in `$LS -l "/dev/dsk" | $GREP ${devname} | $NAWK '{print $11}'` 946 arg2="/`echo ${new_path} | ${CUT} -d/ -f4,5` [all...] |
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| retire_store.c | 326 char *new_path; local 331 new_rsp->rst_devpath = new_path = i_ddi_strdup(devpath, KM_SLEEP); 347 kmem_free(new_path, strlen(new_path) + 1);
|
| /onnv/onnv-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
| netdfs.c | 354 if (param->dfs_path == NULL || param->new_path == NULL) { 374 if (param->dfs_path == NULL || param->new_path == NULL) {
|
| /onnv/onnv-gate/usr/src/uts/common/smbsrv/ndl/ |
| netdfs.ndl | 390 IN REFERENCE LPTSTR new_path; 404 IN REFERENCE LPTSTR new_path;
|
| /onnv/onnv-gate/usr/src/cmd/boot/bootadm/ |
| bootadm.c | 8626 char *new_path; local 8762 char *new_path; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/devfsadm/ |
| devfsadm.c | 4346 char new_path[PATH_MAX + 1]; local 5473 char *new_path; local [all...] |
| /onnv/onnv-gate/usr/src/lib/lvm/libmeta/common/ |
| meta_name.c | 123 char *new_path = NULL; local 130 if ((new_path = meta_dsk_to_rdsk(uname)) == NULL) 133 if (strncmp("/dev/", new_path, 5) == 0) { 134 ret = stat(new_path, &statbuf); 136 Free(new_path); 141 return (new_path); [all...] |
| /onnv/onnv-gate/usr/src/lib/libdiskmgt/common/ |
| findevs.c | 127 static path_t *new_path(controller_t *cp, disk_t *diskp, 719 if (new_path(cp, diskp, phci_node, di_path_state(pi), wwn) 1720 new_path(controller_t *cp, disk_t *dp, di_node_t node, di_path_state_t st, function [all...] |