/titanic_51/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() 43 // Allows LD_LIBRARY_PATH to include relative 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 in loadLibrary() [all...] |
/titanic_51/usr/src/lib/libdevinfo/ |
H A D | devinfo_finddev.c | 53 char **paths; member 69 * those managed by devfsadm. For paths other than 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() 170 * Note: only useable with paths mounted on an instance of the 195 handle->paths = NULL; in finddev_readdir_devfs() 218 handle->paths in finddev_readdir_devfs() [all...] |
H A D | devfsinfo.c | 145 * 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) 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 in devfs_free_all_prom_names() [all...] |
/titanic_51/usr/src/cmd/abi/appcert/scripts/ |
H A D | abi_index.pl | 59 # 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...] |
/titanic_51/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() 144 /* There are no stat types defined for paths */ in path_get_stats() 157 if (cp->paths != NULL) { in path_make_descriptors() 160 for (i = 0; cp->paths[ in path_make_descriptors() [all...] |
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 | 95 * 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) { 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() 553 /* clear any ptrs from paths to this drive */ in del_drive() 554 if (dp->paths != NULL) { in del_drive() 555 for (i = 0; dp->paths[ in del_drive() [all...] |
H A D | findevs.c | 137 * disks, controllers and paths on the system. This model is returned in the 702 * Set up paths for mpxio controlled drives. in add_disk2controller() 757 if (add_ptr2array(pp, (void ***)&dp->paths) != 0) { in add_disk2path() 917 if (cp->paths != NULL && cp->paths[0] != NULL) { in remove_controller() 929 * take that controller out of the list since nodes that are paths are not 941 pp = cp->paths; in clean_paths() 996 diskp->paths = NULL; in create_disk() 1290 * disks w/ multiple paths. in fix_cluster_devpath() 1814 if (cp->paths ! in new_path() [all...] |
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()
|
/titanic_51/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_51/usr/src/cmd/mandoc/ |
H A D | main.c | 121 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 in fs_lookup() 595 fs_search(const struct mansearch * cfg,const struct manpaths * paths,int argc,char ** argv,struct manpage ** res,size_t * ressz) fs_search() argument [all...] |
H A D | manpath.c | 176 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 D | manpath.h | 20 * Unsorted list of unique, absolute paths to be searched for manual 25 char **paths; member
|
H A D | mansearch.h | 104 const struct manpaths *paths, /* manpaths */
|
/titanic_51/usr/src/lib/libdevid/ |
H A D | deviceid.c | 215 * This is not true, we reverse engineer the paths relative to 227 char *paths = NULL; in devid_deviceid_to_nmlist() local 255 /* translate devid/minor_name to /devices paths */ in devid_deviceid_to_nmlist() 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() [all...] |
/titanic_51/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | asppp2pppd | 62 # 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...] |
/titanic_51/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, 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, in ibt_get_paths() argument 398 ASSERT(paths != NULL); in ibt_get_paths() 403 if (paths in ibt_get_paths() 427 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) ibcm_handle_get_path() argument 1070 ibcm_update_pri(sa_path_record_t * pr_resp,ibtl_cm_port_list_t * sl,ibcm_dinfo_t * dinfo,ibt_path_info_t * paths) ibcm_update_pri() argument 1114 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) ibcm_get_single_pathrec() argument 1376 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) ibcm_get_multi_pathrec() argument 3010 ibt_path_info_t *paths; global() member 3126 ibcm_ip_update_pri(sa_path_record_t * pr_resp,ibtl_cm_port_list_t * sl,ibt_path_info_t * paths) ibcm_ip_update_pri() argument 3158 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) ibcm_get_ip_spr() argument 3377 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) ibcm_get_ip_mpr() argument 4115 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) ibcm_get_ip_path() argument 4222 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) ibt_get_ip_paths() argument 4684 ibcm_dummy_path_handler(void * arg,ibt_status_t retval,ibt_path_info_t * paths,uint8_t num_path) ibcm_dummy_path_handler() argument 4698 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) ibcm_dummy_ip_path_handler() argument [all...] |
/titanic_51/usr/src/tools/scripts/ |
H A D | git-pbchk.py | 147 def git_file_list(parent, paths=None): argument 154 (parent, ' '.join(paths))) 176 def gen_files(root, parent, paths, exclude): argument 178 directory, of any file changed on this branch (limited to 'paths' if 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 [all...] |
/titanic_51/usr/src/tools/findunref/ |
H A D | findunref.c | 50 char **paths; member 366 * The manifest paths are relative to the manifest root; skip past it. in check_scmdata() 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_51/usr/src/uts/common/os/ |
H A D | devid_cache.c | 588 * may map to multiple paths but one path in e_devid_cache_register_cmn() 645 * arising from both pHCI and vHCI paths. 858 * device paths mapping to the device identified by the 867 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, nalloce in e_devid_cache_to_devt_list() [all...] |
/titanic_51/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_51/usr/src/contrib/ast/src/lib/libast/port/ |
H A D | mc.c | 71 char* paths[5]; in mcfind() local 91 paths[i++] = p; in mcfind() 92 paths[i++] = "share/lib/locale/%l/%C/%N"; in mcfind() 93 paths[i++] = "share/locale/%l/%C/%N"; in mcfind() 94 paths[i++] = "lib/locale/%l/%C/%N"; in mcfind() 95 paths[i] = 0; in mcfind() 97 for (i = 0; p = paths[i]; i += next) in mcfind()
|
/titanic_51/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_51/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses.c | 72 * to the same devices (multiple paths) or to different devices (managing 1204 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 in ses_add_bay_props() 2253 char **paths; ses_create_subchassis() local 2798 char **paths; ses_create_chassis() local [all...] |