Home
last modified time | relevance | path

Searched refs:paths (Results 1 – 25 of 84) sorted by relevance

1234

/titanic_50/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DUtility.java38 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_50/usr/src/lib/libdevinfo/
H A Ddevinfo_finddev.c53 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 Ddevfsinfo.c318 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_50/usr/src/cmd/abi/appcert/scripts/
H A Dabi_index.pl201 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_50/usr/src/lib/libdiskmgt/common/
H A Dpath.c101 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 Dcontroller.c274 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 Dcache.c204 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 Dfindevs.c757 if (add_ptr2array(pp, (void ***)&dp->paths) != 0) { in add_disk2path()
917 if (cp->paths != NULL && cp->paths[0] != NULL) { in remove_controller()
941 pp = cp->paths; in clean_paths()
996 diskp->paths = NULL; in create_disk()
1814 if (cp->paths != NULL) { in new_path()
1817 for (i = 0; cp->paths[i]; i++) { in new_path()
1818 if (libdiskmgt_str_eq(devpath, cp->paths[i]->name)) { in new_path()
1819 pp = cp->paths[i]; in new_path()
1856 if (add_ptr2array(pp, (void ***)&cp->paths) != 0) { in new_path()
H A Ddrive.c814 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()
/titanic_50/usr/src/cmd/mandoc/
H A Dmain.c121 struct manpaths paths; in main() local
152 memset(&paths, 0, sizeof(struct manpaths)); in main()
337 manpath_parse(&paths, conf_file, defpaths, auxpaths); in main()
340 if( ! mansearch(&search, &paths, argc, argv, &res, &sz)) in main()
352 fs_search(&search, &paths, argc, argv, &res, &sz); in main()
440 chdir(paths.paths[resp->ipath]); in main()
475 manpath_free(&paths); in main()
530 fs_lookup(const struct manpaths *paths, size_t ipath, in fs_lookup() argument
541 paths->paths[ipath], sec, name, sec); in fs_lookup()
547 paths->paths[ipath], sec, name); in fs_lookup()
[all …]
H A Dmanpath.c176 if (0 == strcmp(dirs->paths[i], dir)) in manpath_add()
187 dirs->paths = mandoc_reallocarray(dirs->paths, in manpath_add()
190 dirs->paths[dirs->sz++] = mandoc_strdup(cp); in manpath_add()
199 free(p->paths[i]); in manpath_free()
201 free(p->paths); in manpath_free()
H A Dmanpath.h25 char **paths; member
H A Dmansearch.h104 const struct manpaths *paths, /* manpaths */
/titanic_50/usr/src/lib/libfru/libfru/
H A DAncestor.cc47 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 DAncestor.h80 char **paths; member
/titanic_50/usr/src/lib/libdevid/
H A Ddeviceid.c227 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_50/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dasppp2pppd381 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_50/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_path.c55 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_50/usr/src/tools/scripts/
H A Dgit-pbchk.py147 def git_file_list(parent, paths=None): argument
154 (parent, ' '.join(paths)))
176 def gen_files(root, parent, paths, exclude): argument
193 for f in git_file_list(parent, paths):
281 def run_checks(root, parent, cmds, paths='', opts={}): argument
296 result = cmd(root, parent, gen_files(root, parent, paths, exclude),
305 def nits(root, parent, paths): argument
313 run_checks(root, parent, cmds, paths)
315 def pbchk(root, parent, paths): argument
H A Dhgsetup.sh99 paths="$(dirname $(dirname $(whence $0))) /opt/onbld /ws/onnv-tools/onbld"
103 for dir in $paths; do
162 [paths]
/titanic_50/usr/src/tools/findunref/
H A Dfindunref.c50 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_50/usr/src/uts/common/os/
H A Ddevid_cache.c867 char *path, **paths; in e_devid_cache_to_devt_list() local
887 paths = kmem_zalloc(nalloced * sizeof (char *), KM_SLEEP); in e_devid_cache_to_devt_list()
892 &ndevis, devis, &npaths, paths); in e_devid_cache_to_devt_list()
898 kmem_free(paths, nalloced * sizeof (char *)); in e_devid_cache_to_devt_list()
904 path = i_ddi_strdup(paths[i], KM_SLEEP); in e_devid_cache_to_devt_list()
905 paths[i] = path; in e_devid_cache_to_devt_list()
911 kmem_free(paths, nalloced * sizeof (char *)); in e_devid_cache_to_devt_list()
932 DEVID_LOG_LOOKUP((CE_CONT, "lookup %s\n", paths[i])); in e_devid_cache_to_devt_list()
933 devi = e_ddi_hold_devi_by_path(paths[i], 0); in e_devid_cache_to_devt_list()
936 devid, paths[i])); in e_devid_cache_to_devt_list()
[all …]
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_user/zfs_list/
H A Dzfs_list_004_neg.ksh52 paths="$TESTPOOL/NONEXISTFS $TESTPOOL/$TESTFS/NONEXISTFS \
57 for fs in $paths ; do
/titanic_50/usr/src/lib/libast/common/port/
H A Dmc.c71 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_50/usr/src/lib/fm/topo/modules/common/ses/
H A Dses.c1204 char **paths; in ses_create_disk() local
1243 TOPO_PROP_SAS_ADDR, &paths, &nsas, &err) != 0) in ses_create_disk()
1249 ret = disk_declare_addr(mod, pnode, &sdp->sed_devs, paths[s], in ses_create_disk()
1280 if (scsi_wwnstr_to_wwn(paths[i], &wwn) != in ses_create_disk()
1303 topo_mod_free(mod, paths[s], strlen(paths[s]) + 1); in ses_create_disk()
1304 topo_mod_free(mod, paths, nsas * sizeof (char *)); in ses_create_disk()
1318 char **paths; in ses_add_bay_props() local
1338 if ((paths = topo_mod_zalloc(mod, all_phys * sizeof (char *))) == NULL) in ses_add_bay_props()
1356 if ((paths[i] = topo_mod_alloc(mod, len)) == NULL) in ses_add_bay_props()
1359 (void) snprintf(paths[i], len, "%016llx", addr); in ses_add_bay_props()
[all …]

1234