Searched refs:paths (Results 1 - 25 of 70) sorted by relevance

123

/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DUtility.java38 loadLibrary(String paths[], String name, boolean debug) argument
41 for (String p : paths) {
43 // Allows LD_LIBRARY_PATH to include relative paths
65 String[] paths = path.split(":");
71 String[] npaths = new String[paths.length * 2];
72 for (int i = 0; i < paths.length; i++) {
73 npaths[i] = root + "/" + paths[i];
74 npaths[i + paths.length] = paths[i];
76 paths
[all...]
/illumos-gate/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
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dkmem.h23 # include <paths.h>
/illumos-gate/usr/src/cmd/mandoc/
H A Dmanconf.h19 /* List of unique, absolute paths to manual trees. */
22 char **paths; member in struct:manpaths
H A Dmanpath.c177 if (0 == strcmp(dirs->paths[i], dir))
186 dirs->paths = mandoc_reallocarray(dirs->paths,
189 dirs->paths[dirs->sz++] = mandoc_strdup(cp);
198 free(conf->manpath.paths[i]);
200 free(conf->manpath.paths);
H A Dmain.c483 chdir(conf.manpath.paths[resp->ipath]);
629 fs_lookup(const struct manpaths *paths, size_t ipath, argument
640 paths->paths[ipath], sec, name, sec);
646 paths->paths[ipath], sec, name);
655 paths->paths[ipath], sec, arch, name, sec);
662 paths->paths[ipat
691 fs_search(const struct mansearch *cfg, const struct manpaths *paths, int argc, char **argv, struct manpage **res, size_t *ressz) argument
[all...]
H A Dmansearch.h103 const struct manpaths *paths, /* manpaths */
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_finddev.c53 char **paths; member in struct:finddevhdl
69 * those managed by devfsadm. For paths other than
120 handle->paths = NULL;
132 handle->paths = calloc(n, sizeof (char *));
133 if (handle->paths == NULL) {
153 handle->paths[n] = strdup(dp->d_name);
154 if (handle->paths[n] == NULL) {
170 * Note: only useable with paths mounted on an instance of the
195 handle->paths = NULL;
218 handle->paths
[all...]
H A Ddevfsinfo.c145 * frees a list of paths from devfs_get_prom_name_list
313 * Returns the number of and all OBP paths and alias variants that
318 struct devfs_prom_path **paths)
339 *paths = NULL;
345 devfs_free_all_prom_names(*paths);
350 *paths = new;
358 devfs_free_all_prom_names(*paths);
367 devfs_free_all_prom_names(*paths);
377 devfs_free_all_prom_names(struct devfs_prom_path *paths) argument
381 if (paths
317 devfs_get_all_prom_names(const char *solaris_path, uint_t flags, struct devfs_prom_path **paths) argument
[all...]
/illumos-gate/usr/src/lib/libfru/libfru/
H A DAncestor.cc47 paths = (char **)malloc(sizeof (char *)
54 if (paths != NULL) {
56 free(paths[i]);
59 free(paths);
91 paths = (char **)realloc(offsets,
96 paths[numInstances++] = strdup(path);
136 return (paths[num]);
138 return (paths[numInstances]);
H A DAncestor.h80 char **paths; member in struct:Ancestor
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dpath.c101 descriptor_t **paths; local
105 paths = cache_get_descriptors(DM_PATH, errp);
110 for (i = 0; paths[i]; i++) {
111 if (libdiskmgt_str_eq(name, paths[i]->p.path->name)) {
112 path = paths[i];
115 cache_free_descriptor(paths[i]);
118 free(paths);
144 /* There are no stat types defined for paths */
157 if (cp->paths != NULL) {
160 for (i = 0; cp->paths[
[all...]
H A Dcontroller.c274 descriptor_t **paths; local
277 pp = desc->p.controller->paths;
286 paths = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *));
287 if (paths == NULL) {
298 paths[i] = cache_get_desc(DM_PATH, pp[i], NULL, NULL, errp);
300 cache_free_descriptors(paths);
305 paths[i] = NULL;
308 return (paths);
H A Dcache.c95 * and paths. We do not cache any information related to media, partitions
144 * corresponding object. For objects we cache (controllers, paths & drives)
204 if (cp->paths != NULL) {
207 for (i = 0; cp->paths[i]; i++) {
209 cache_free_path(cp->paths[i]);
211 free(cp->paths);
268 free(dp->paths);
553 /* clear any ptrs from paths to this drive */
554 if (dp->paths != NULL) {
555 for (i = 0; dp->paths[
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dpathnames.h42 #include <paths.h>
H A Dasppp2pppd62 # Fake asppp keyword used to keep track of dial-in paths.
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)
[all...]
/illumos-gate/usr/src/lib/libdevid/
H A Ddeviceid.c215 * This is not true, we reverse engineer the paths relative to
227 char *paths = NULL; local
255 /* translate devid/minor_name to /devices paths */
258 if ((paths = (char *)malloc(lens)) == NULL)
260 if (modctl(MODDEVID2PATHS, devid, minor_name, 0, &lens, paths) != 0) {
262 free(paths);
263 paths = NULL;
290 for (path = paths; *path; path += strlen(path) + 1) {
343 if (paths)
344 free(paths);
[all...]
/illumos-gate/usr/src/tools/scripts/
H A Dgit-pbchk.py152 def git_file_list(parent, paths=None):
159 (parent, ' '.join(paths)))
183 def gen_files(root, parent, paths, exclude):
185 directory, of any file changed on this branch (limited to 'paths' if
200 for f in git_file_list(parent, paths):
313 def run_checks(root, parent, cmds, paths='', opts={}):
328 result = cmd(root, parent, gen_files(root, parent, paths, exclude),
338 def nits(root, parent, paths):
346 run_checks(root, parent, cmds, paths)
349 def pbchk(root, parent, paths)
[all...]
H A Dhgsetup.sh99 paths="$(dirname $(dirname $(whence $0))) /opt/onbld /ws/onnv-tools/onbld"
103 for dir in $paths; do
162 [paths]
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A Dabi_index.pl59 # paths to skip outright.
201 my (%list, $paths, $path, $cnt);
204 # record info about the library paths and construct the list of
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";
[all...]
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_path.c55 ibt_path_info_t *paths; member in struct:ibcm_path_tqargs_s
86 ibt_path_flags_t flags, uint8_t max_paths, ibt_path_info_t *paths,
373 * max_paths The size of the "paths" array argument. Also, this
374 * is the limit on the number of paths returned.
375 * max_paths indicates the number of requested paths to
378 * paths An array of ibt_path_info_t structs filled in by
381 * num_paths_p If non-NULL, return the actual number of paths found.
393 ibt_path_attr_t *attrp, uint8_t max_paths, ibt_path_info_t *paths,
398 ASSERT(paths != NULL);
403 if (paths
392 ibt_get_paths(ibt_clnt_hdl_t ibt_hdl, ibt_path_flags_t flags, ibt_path_attr_t *attrp, uint8_t max_paths, ibt_path_info_t *paths, uint8_t *num_paths_p) argument
426 ibcm_handle_get_path(ibt_path_attr_t *attrp, ibt_path_flags_t flags, uint8_t max_paths, ibt_path_info_t *paths, uint8_t *num_path_p, ibt_path_handler_t func, void *arg) argument
1069 ibcm_update_pri(sa_path_record_t *pr_resp, ibtl_cm_port_list_t *sl, ibcm_dinfo_t *dinfo, ibt_path_info_t *paths) argument
1113 ibcm_get_single_pathrec(ibcm_path_tqargs_t *p_arg, ibtl_cm_port_list_t *sl, ibcm_dinfo_t *dinfo, uint8_t idx, uint8_t *num_path, ibt_path_info_t *paths) argument
1375 ibcm_get_multi_pathrec(ibcm_path_tqargs_t *p_arg, ibtl_cm_port_list_t *sl, ibcm_dinfo_t *dinfo, uint8_t *num_path, ibt_path_info_t *paths) argument
3010 ibt_path_info_t *paths; member in struct:ibcm_ip_path_tqargs_s
3125 ibcm_ip_update_pri(sa_path_record_t *pr_resp, ibtl_cm_port_list_t *sl, ibt_path_info_t *paths) argument
3157 ibcm_get_ip_spr(ibcm_ip_path_tqargs_t *p_arg, ibtl_cm_port_list_t *sl, ibcm_ip_dinfo_t *dinfo, uint8_t *num_path, ibt_path_info_t *paths) argument
3376 ibcm_get_ip_mpr(ibcm_ip_path_tqargs_t *p_arg, ibtl_cm_port_list_t *sl, ibcm_ip_dinfo_t *dinfo, uint8_t *num_path, ibt_path_info_t *paths) argument
4114 ibcm_get_ip_path(ibt_clnt_hdl_t ibt_hdl, ibt_path_flags_t flags, ibt_ip_path_attr_t *attrp, ibt_path_info_t *paths, uint8_t *num_path_p, ibt_path_ip_src_t *src_ip_p, ibt_ip_path_handler_t func, void *arg) argument
4221 ibt_get_ip_paths(ibt_clnt_hdl_t ibt_hdl, ibt_path_flags_t flags, ibt_ip_path_attr_t *attrp, ibt_path_info_t *paths, uint8_t *num_paths_p, ibt_path_ip_src_t *src_ip_p) argument
4684 ibcm_dummy_path_handler(void *arg, ibt_status_t retval, ibt_path_info_t *paths, uint8_t num_path) argument
4697 ibcm_dummy_ip_path_handler(void *arg, ibt_status_t retval, ibt_path_info_t *paths, uint8_t num_path, ibt_path_ip_src_t *src_ip) argument
[all...]
/illumos-gate/usr/src/tools/findunref/
H A Dfindunref.c50 char **paths; member in struct:__anon4476
366 * The manifest paths are relative to the manifest root; skip past it.
506 newpaths = realloc(pnsetp->paths, sizeof (char *) * maxpaths);
509 pnsetp->paths = newpaths;
513 pnsetp->paths[pnsetp->npath] = strdup(path);
514 if (pnsetp->paths[pnsetp->npath] == NULL)
530 if (fnmatch(pnsetp->paths[i], path, 0) == 0)
543 free(pnsetp->paths[pnsetp->npath]);
545 free(pnsetp->paths);
/illumos-gate/usr/src/lib/libast/common/port/
H A Dmc.c71 char* paths[5]; local
92 paths[i++] = p;
94 paths[i++] = "share/lib/locale/%l/%C/%N";
95 paths[i++] = "share/locale/%l/%C/%N";
96 paths[i++] = "lib/locale/%l/%C/%N";
97 paths[i] = 0;
99 for (i = 0; p = paths[i]; i += next)
/illumos-gate/usr/src/uts/common/os/
H A Ddevid_cache.c588 * may map to multiple paths but one path
645 * arising from both pHCI and vHCI paths.
858 * device paths mapping to the device identified by the
867 char *path, **paths; local
887 paths = kmem_zalloc(nalloced * sizeof (char *), KM_SLEEP);
892 &ndevis, devis, &npaths, paths);
898 kmem_free(paths, nalloced * sizeof (char *));
904 path = i_ddi_strdup(paths[i], KM_SLEEP);
905 paths[i] = path;
911 kmem_free(paths, nalloce
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/i386/
H A DMakefile33 malloc.o paths.o setup.o util.o \

Completed in 149 milliseconds

123