/titanic_41/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | Utility.java | 38 loadLibrary(String paths[], String name, boolean debug) in loadLibrary() argument 41 for (String p : paths) { in loadLibrary() 65 String[] paths = path.split(":"); in loadLibrary() local 71 String[] npaths = new String[paths.length * 2]; in loadLibrary() 72 for (int i = 0; i < paths.length; i++) { in loadLibrary() 73 npaths[i] = root + "/" + paths[i]; in loadLibrary() 74 npaths[i + paths.length] = paths[i]; in loadLibrary() 76 paths = npaths; in loadLibrary() 80 loadLibrary(paths, name, debug); in loadLibrary()
|
/titanic_41/usr/src/lib/libdevinfo/ |
H A D | devinfo_finddev.c | 53 char **paths; member 120 handle->paths = NULL; in finddev_readdir_alt() 132 handle->paths = calloc(n, sizeof (char *)); in finddev_readdir_alt() 133 if (handle->paths == NULL) { in finddev_readdir_alt() 153 handle->paths[n] = strdup(dp->d_name); in finddev_readdir_alt() 154 if (handle->paths[n] == NULL) { in finddev_readdir_alt() 195 handle->paths = NULL; in finddev_readdir_devfs() 218 handle->paths = calloc(n, sizeof (char *)); in finddev_readdir_devfs() 219 if (handle->paths == NULL) { in finddev_readdir_devfs() 226 handle->paths[n] = strdup(p); in finddev_readdir_devfs() [all …]
|
H A D | devfsinfo.c | 318 struct devfs_prom_path **paths) in devfs_get_all_prom_names() argument 339 *paths = NULL; in devfs_get_all_prom_names() 345 devfs_free_all_prom_names(*paths); in devfs_get_all_prom_names() 350 *paths = new; in devfs_get_all_prom_names() 358 devfs_free_all_prom_names(*paths); in devfs_get_all_prom_names() 367 devfs_free_all_prom_names(*paths); in devfs_get_all_prom_names() 377 devfs_free_all_prom_names(struct devfs_prom_path *paths) in devfs_free_all_prom_names() argument 381 if (paths == NULL) in devfs_free_all_prom_names() 384 devfs_free_all_prom_names(paths->next); in devfs_free_all_prom_names() 386 if (paths->obp_path != NULL) in devfs_free_all_prom_names() [all …]
|
/titanic_41/usr/src/cmd/abi/appcert/scripts/ |
H A D | abi_index.pl | 201 my (%list, $paths, $path, $cnt); 208 $paths = ''; 211 $paths .= ' ' if ($paths ne ''); 221 $paths .= "'$path'"; 233 open($file_fh, "/usr/bin/file $paths 2>&1 |") || die "$!\n"; 249 $paths .= " $paths"; 257 open($pvs_fh, "/usr/bin/pvs -dn $paths 2>&1 |") || die "$!\n";
|
/titanic_41/usr/src/lib/libdiskmgt/common/ |
H A D | path.c | 101 descriptor_t **paths; in path_get_descriptor_by_name() local 105 paths = cache_get_descriptors(DM_PATH, errp); in path_get_descriptor_by_name() 110 for (i = 0; paths[i]; i++) { in path_get_descriptor_by_name() 111 if (libdiskmgt_str_eq(name, paths[i]->p.path->name)) { in path_get_descriptor_by_name() 112 path = paths[i]; in path_get_descriptor_by_name() 115 cache_free_descriptor(paths[i]); in path_get_descriptor_by_name() 118 free(paths); in path_get_descriptor_by_name() 157 if (cp->paths != NULL) { in path_make_descriptors() 160 for (i = 0; cp->paths[i]; i++) { in path_make_descriptors() 161 cache_load_desc(DM_PATH, cp->paths[i], NULL, NULL, &error); in path_make_descriptors()
|
H A D | controller.c | 274 descriptor_t **paths; in get_assoc_paths() local 277 pp = desc->p.controller->paths; in get_assoc_paths() 286 paths = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *)); in get_assoc_paths() 287 if (paths == NULL) { in get_assoc_paths() 298 paths[i] = cache_get_desc(DM_PATH, pp[i], NULL, NULL, errp); in get_assoc_paths() 300 cache_free_descriptors(paths); in get_assoc_paths() 305 paths[i] = NULL; in get_assoc_paths() 308 return (paths); in get_assoc_paths()
|
H A D | cache.c | 204 if (cp->paths != NULL) { in cache_free_controller() 207 for (i = 0; cp->paths[i]; i++) { in cache_free_controller() 209 cache_free_path(cp->paths[i]); in cache_free_controller() 211 free(cp->paths); in cache_free_controller() 268 free(dp->paths); in cache_free_disk() 554 if (dp->paths != NULL) { in del_drive() 555 for (i = 0; dp->paths[i]; i++) { in del_drive() 556 clr_path_disk_ptr(dp->paths[i], dp); in del_drive() 990 pp = newctrlp->paths; in update_desc_pathp()
|
H A D | findevs.c | 756 if (add_ptr2array(pp, (void ***)&dp->paths) != 0) { in add_disk2path() 916 if (cp->paths != NULL && cp->paths[0] != NULL) { in remove_controller() 940 pp = cp->paths; in clean_paths() 995 diskp->paths = NULL; in create_disk() 1813 if (cp->paths != NULL) { in new_path() 1816 for (i = 0; cp->paths[i]; i++) { in new_path() 1817 if (libdiskmgt_str_eq(devpath, cp->paths[i]->name)) { in new_path() 1818 pp = cp->paths[i]; in new_path() 1855 if (add_ptr2array(pp, (void ***)&cp->paths) != 0) { in new_path()
|
H A D | drive.c | 814 descriptor_t **paths; in get_assoc_paths() local 817 pp = dp->p.disk->paths; in get_assoc_paths() 826 paths = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *)); in get_assoc_paths() 827 if (paths == NULL) { in get_assoc_paths() 839 paths[i] = cache_get_desc(DM_PATH, pp[i], dp->p.disk->device_id, in get_assoc_paths() 842 cache_free_descriptors(paths); in get_assoc_paths() 847 paths[i] = NULL; in get_assoc_paths() 850 return (paths); in get_assoc_paths()
|
H A D | disks_private.h | 87 struct path **paths; member 101 path_t **paths; member
|
/titanic_41/usr/src/lib/libfru/libfru/ |
H A D | Ancestor.cc | 47 paths = (char **)malloc(sizeof (char *) in Ancestor() 54 if (paths != NULL) { in ~Ancestor() 56 free(paths[i]); in ~Ancestor() 59 free(paths); in ~Ancestor() 91 paths = (char **)realloc(offsets, in addInstance() 96 paths[numInstances++] = strdup(path); in addInstance() 136 return (paths[num]); in getPath() 138 return (paths[numInstances]); in getPath()
|
H A D | Ancestor.h | 80 char **paths; member
|
/titanic_41/usr/src/lib/libdevid/ |
H A D | deviceid.c | 227 char *paths = NULL; in devid_deviceid_to_nmlist() local 258 if ((paths = (char *)malloc(lens)) == NULL) in devid_deviceid_to_nmlist() 260 if (modctl(MODDEVID2PATHS, devid, minor_name, 0, &lens, paths) != 0) { in devid_deviceid_to_nmlist() 262 free(paths); in devid_deviceid_to_nmlist() 263 paths = NULL; in devid_deviceid_to_nmlist() 290 for (path = paths; *path; path += strlen(path) + 1) { in devid_deviceid_to_nmlist() 343 if (paths) in devid_deviceid_to_nmlist() 344 free(paths); in devid_deviceid_to_nmlist()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | asppp2pppd | 381 local($paths, $options, $defref) = @_; 400 if defined($paths{$peer}); 404 $paths{$peer} = $options; 439 local($words,$word,$prevword,$i,$errors,%defaults,%ifconfig,%paths); 465 savepath(\%paths, $options, \%defaults); 471 savepath(\%paths, $options, \%defaults); 504 savepath(\%paths, $options, \%defaults); 505 die "No paths defined for aspppd.\n" if 0+(keys %paths) == 0; 508 nof 0+(keys %paths), "path", " and "; 512 ( \%ifconfig, \%paths ); [all …]
|
/titanic_41/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_path.c | 55 ibt_path_info_t *paths; member 86 ibt_path_flags_t flags, uint8_t max_paths, ibt_path_info_t *paths, 393 ibt_path_attr_t *attrp, uint8_t max_paths, ibt_path_info_t *paths, in ibt_get_paths() argument 398 ASSERT(paths != NULL); in ibt_get_paths() 403 if (paths == NULL) { in ibt_get_paths() 412 if (ibcm_path_cache_check(flags, attrp, max_paths, paths, in ibt_get_paths() 416 retval = ibcm_handle_get_path(attrp, flags, max_paths, paths, in ibt_get_paths() 420 ibcm_path_cache_add(flags, attrp, max_paths, paths); in ibt_get_paths() 427 uint8_t max_paths, ibt_path_info_t *paths, uint8_t *num_path_p, in ibcm_handle_get_path() argument 474 path_tq->paths = paths; in ibcm_handle_get_path() [all …]
|
/titanic_41/usr/src/tools/scripts/ |
H A D | git-pbchk.py | 151 def git_file_list(parent, paths=None): argument 158 (parent, ' '.join(paths))) 182 def gen_files(root, parent, paths, exclude): argument 199 for f in git_file_list(parent, paths): 301 def run_checks(root, parent, cmds, paths='', opts={}): argument 316 result = cmd(root, parent, gen_files(root, parent, paths, exclude), 326 def nits(root, parent, paths): argument 334 run_checks(root, parent, cmds, paths) 337 def pbchk(root, parent, paths): argument
|
H A D | hgsetup.sh | 99 paths="$(dirname $(dirname $(whence $0))) /opt/onbld /ws/onnv-tools/onbld" 103 for dir in $paths; do 162 [paths]
|
/titanic_41/usr/src/tools/findunref/ |
H A D | findunref.c | 50 char **paths; member 506 newpaths = realloc(pnsetp->paths, sizeof (char *) * maxpaths); in pnset_add() 509 pnsetp->paths = newpaths; in pnset_add() 513 pnsetp->paths[pnsetp->npath] = strdup(path); in pnset_add() 514 if (pnsetp->paths[pnsetp->npath] == NULL) in pnset_add() 530 if (fnmatch(pnsetp->paths[i], path, 0) == 0) in pnset_check() 543 free(pnsetp->paths[pnsetp->npath]); in pnset_empty() 545 free(pnsetp->paths); in pnset_empty()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | devid_cache.c | 868 char *path, **paths; in e_devid_cache_to_devt_list() local 888 paths = kmem_zalloc(nalloced * sizeof (char *), KM_SLEEP); in e_devid_cache_to_devt_list() 893 &ndevis, devis, &npaths, paths); in e_devid_cache_to_devt_list() 899 kmem_free(paths, nalloced * sizeof (char *)); in e_devid_cache_to_devt_list() 905 path = i_ddi_strdup(paths[i], KM_SLEEP); in e_devid_cache_to_devt_list() 906 paths[i] = path; in e_devid_cache_to_devt_list() 912 kmem_free(paths, nalloced * sizeof (char *)); in e_devid_cache_to_devt_list() 933 DEVID_LOG_LOOKUP((CE_CONT, "lookup %s\n", paths[i])); in e_devid_cache_to_devt_list() 934 devi = e_ddi_hold_devi_by_path(paths[i], 0); in e_devid_cache_to_devt_list() 937 devid, paths[i])); in e_devid_cache_to_devt_list() [all …]
|
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_user/zfs_list/ |
H A D | zfs_list_004_neg.ksh | 52 paths="$TESTPOOL/NONEXISTFS $TESTPOOL/$TESTFS/NONEXISTFS \ 57 for fs in $paths ; do
|
/titanic_41/usr/src/lib/libast/common/port/ |
H A D | mc.c | 71 char* paths[5]; in mcfind() local 92 paths[i++] = p; in mcfind() 94 paths[i++] = "share/lib/locale/%l/%C/%N"; in mcfind() 95 paths[i++] = "share/locale/%l/%C/%N"; in mcfind() 96 paths[i++] = "lib/locale/%l/%C/%N"; in mcfind() 97 paths[i] = 0; in mcfind() 99 for (i = 0; p = paths[i]; i += next) in mcfind()
|
/titanic_41/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses.c | 1137 char **paths; in ses_create_disk() local 1175 TOPO_PROP_SAS_ADDR, &paths, &nsas, &err) != 0) in ses_create_disk() 1181 ret = disk_declare_addr(mod, pnode, &sdp->sed_devs, paths[s], in ses_create_disk() 1203 if (scsi_wwnstr_to_wwn(paths[i], &wwn) != in ses_create_disk() 1226 topo_mod_free(mod, paths[s], strlen(paths[s]) + 1); in ses_create_disk() 1227 topo_mod_free(mod, paths, nsas * sizeof (char *)); in ses_create_disk() 1241 char **paths; in ses_add_bay_props() local 1261 if ((paths = topo_mod_zalloc(mod, all_phys * sizeof (char *))) == NULL) in ses_add_bay_props() 1279 if ((paths[i] = topo_mod_alloc(mod, len)) == NULL) in ses_add_bay_props() 1282 (void) snprintf(paths[i], len, "%016llx", addr); in ses_add_bay_props() [all …]
|
/titanic_41/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_slice.c | 311 boolean_t paths = B_FALSE; in choose_slice() local 315 (error = slice_has_n_paths(slice, npaths, &paths)) || in choose_slice() 337 if (paths && verbose) { in choose_slice() 343 paths = B_TRUE; in choose_slice() 381 if (paths == B_FALSE) { in choose_slice() 1844 dlist_t *paths = NULL; in slice_has_n_paths() local 1847 (error = disk_get_paths(disk, &paths)); in slice_has_n_paths() 1849 if ((error == 0) && (dlist_length(paths) == npaths)) { in slice_has_n_paths() 1852 dlist_free_items(paths, NULL); in slice_has_n_paths()
|
/titanic_41/usr/src/tools/onbld/Scm/ |
H A D | WorkSpace.py | 412 def as_text(self, paths): argument 433 if paths and self.ws.filepath(entry.name) not in paths: 686 for paths, change in zip(chngs, states): 687 ret.update((f, change) for f in paths)
|
/titanic_41/usr/src/cmd/sgs/rtld/i386/ |
H A D | Makefile | 33 malloc.o paths.o setup.o util.o \
|