Searched defs:paths (Results 1 - 25 of 26) sorted by relevance

12

/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/lib/libfru/libfru/
H A DAncestor.h80 char **paths; member in struct:Ancestor
/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 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...]
/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/libdiskmgt/common/
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 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 Ddisks_private.h87 struct path **paths; member in struct:controller_info
101 path_t **paths; member in struct:disk
H A Ddrive.c814 descriptor_t **paths; local
817 pp = dp->p.disk->paths;
826 paths = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *));
827 if (paths == NULL) {
839 paths[i] = cache_get_desc(DM_PATH, pp[i], dp->p.disk->device_id,
842 cache_free_descriptors(paths);
847 paths[i] = NULL;
850 return (paths);
/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/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/lib/libzfs_jni/common/
H A Dlibzfs_jni_main.c467 jobject obj, jobjectArray paths)
469 return (zjni_get_Datasets_dependents(env, paths));
466 Java_com_sun_zfs_common_model_SystemDataModel_getDependents(JNIEnv *env, jobject obj, jobjectArray paths) argument
H A Dlibzfs_jni_dataset.c736 zjni_get_Datasets_dependents(JNIEnv *env, jobjectArray paths) argument
752 npaths = (*env)->GetArrayLength(env, paths);
756 ((*env)->GetObjectArrayElement(env, paths, i));
/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/cmd/svc/svccfg/
H A Dsvccfg_engine.c617 char **paths; local
693 paths = argv+optind;
706 file = *(paths + i);
/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...]
H A Dmodctl.c1231 * return the /devices paths associated with the specified devid and
1256 * needed to hold the paths and returning the value in *ulensp. If we
1257 * are copying out paths then we get the amount of space allocated by
1258 * the caller. If the actual space needed for paths is larger, or
1320 * needed to hold all the paths
1374 /* copy out the amount of space needed to hold the paths */
2154 char *paths = NULL; local
2167 * needed to return the paths, with the value returned in *ulensp. If we
2168 * are copying out paths then we get the amount of space allocated by
2169 * the caller. If the actual space needed for paths i
[all...]
H A Dsunpm.c1981 char **paths; local
1997 /* Compact the kept paths array */
2000 paths = kmem_zalloc(length, KM_SLEEP);
2004 paths[j] = dp->pdr_kept_paths[i];
2013 dp->pdr_kept_paths = paths;
5332 char **paths; local
5366 paths = kmem_alloc(sizeof (char **),
5369 paths[0] = path;
5370 dp->pdr_kept_paths = paths;
5389 paths
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_slice.c156 * npaths - minimum required data paths
262 "\t has the requested number of data paths (%d)\n");
278 "\t rejected: not enough paths (%d requested)\n");
311 boolean_t paths = B_FALSE; local
315 (error = slice_has_n_paths(slice, npaths, &paths)) ||
337 if (paths && verbose) {
338 /* specifically asked for more paths, ... */
343 paths = B_TRUE;
381 if (paths == B_FALSE) {
382 /* not connected thru enough paths */
1844 dlist_t *paths = NULL; local
[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/lib/libzfs/common/
H A Dlibzfs.h364 char **path; /* a list of paths to search */
365 int paths; /* number of paths to search */ member in struct:importargs
/illumos-gate/usr/src/cmd/find/
H A Dfind.c259 int paths; local
302 for (paths = 0; (cp = argv[paths]) != 0; ++paths) {
309 if (paths == 0) /* no path-list */
322 if (compile(argv + paths, topnode, &action_expression) == 0) {
346 while (paths--) {
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/
H A Dses.c72 * to the same devices (multiple paths) or to different devices (managing
1155 char **paths; local
1194 TOPO_PROP_SAS_ADDR, &paths, &nsas, &err) != 0)
1200 ret = disk_declare_addr(mod, pnode, &sdp->sed_devs, paths[s],
1222 if (scsi_wwnstr_to_wwn(paths[i], &wwn) !=
1245 topo_mod_free(mod, paths[s], strlen(paths[s]) + 1);
1246 topo_mod_free(mod, paths, nsas * sizeof (char *));
1260 char **paths; local
1280 if ((paths
2195 char **paths; local
2740 char **paths; local
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_state.c771 * Form the state and oldstate paths, and read in the stable storage files.
774 rfs4_dss_readstate(int npaths, char **paths) argument
783 char *path = paths[i];
937 * It should be sufficient to write the leaf file to (all) DSS paths
943 * to all instances' paths. Start at the current instance, and
950 /* write the leaf file to all DSS paths */
1002 * one of several paths with this leaf in it.
1051 * Unpack the list of paths passed by nfsd.
1061 * If this is a "warm start", i.e. we previously had DSS paths,
1062 * preserve the old paths
[all...]

Completed in 146 milliseconds

12