/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_scsi.h | 189 char *path; /* for apid with device dyn comp. */ member in struct:__anon2432 400 scfga_ret_t make_path_dyncomp(di_path_t path, char **dyncomp, int *l_errnop);
|
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/ |
H A D | shp.c | 1299 * returns an allocated string containing the full path to the devlink for 1307 char *path = NULL; local 1315 (void *)&path, findlink_cb); 1318 return (path); 1516 (void) strcpy((*cs)->ap_phys_id, ap_id); /* physical path of AP */
|
/illumos-gate/usr/src/lib/hal/libhal-storage/common/ |
H A D | libhal-storage.c | 62 char *path; member in struct:IconMappingEntry_s 93 free (i->path); 101 libhal_storage_policy_set_icon_path (LibHalStoragePolicy *policy, LibHalStoragePolicyIcon icon, const char *path) argument 108 free (i->path); 109 i->path = strdup (path); 118 i->path = strdup (path); 140 const char *path; local 142 path [all...] |
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | common.c | 85 static int _sasl_getpath(void *context __attribute__((unused)), const char **path); 2698 const char **path) 2700 if (! path) 2706 *path = getenv(SASL_PATH_ENV_VAR); 2707 if (! *path) 2709 *path = PLUGINDIR; 2717 _sasl_getpath(void *context __attribute__((unused)), const char **path) argument 2757 *path = PLUGINDIR; 2878 *path = return_value; 2882 if (! *path) 2697 _sasl_getpath(void *context __attribute__((unused)), const char **path) argument [all...] |
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare.c | 130 ret = dgettext(TEXT_DOMAIN, "path doesn't exist"); 139 ret = dgettext(TEXT_DOMAIN, "bad path"); 187 ret = dgettext(TEXT_DOMAIN, "invalid path"); 208 ret = dgettext(TEXT_DOMAIN, "path is a subpath of share"); 211 ret = dgettext(TEXT_DOMAIN, "path is parent of a share"); 226 ret = dgettext(TEXT_DOMAIN, "path or file is already shared"); 332 * set_legacy_timestamp(root, path, timevalue) 340 set_legacy_timestamp(xmlNodePtr root, char *path, uint64_t tval) argument 354 /* a possible legacy node for this path */ 355 lpath = xmlGetProp(node, (xmlChar *)"path"); 461 char *path; local 528 char *path = NULL; local 556 validpath(sa_handle_t handle, char *path, int strictness) argument 1220 xmlChar *path; local 1303 char *path; local 1383 sa_check_path(sa_group_t group, char *path, int strictness) argument 1671 char *path; local [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | init.c | 36 #include "path.h" 185 * Invalidate all path name bindings 863 static int newconf(const char *name, const char *path, const char *value) argument 907 * return SH_TYPE_* bitmask for path 910 int sh_type(register const char *path) argument 915 if (s = (const char*)strrchr(path, '/')) 917 if (*path == '-') 922 s = path;
|
H A D | io.c | 36 #include "path.h" 207 inetopen(const char* path, int server, Inetintr_f onintr, void* handle) argument 219 switch (path[0]) 223 if (path[1]!='c' || path[2]!='t' || path[3]!='p' || path[4]!='/') 230 path += 5; 234 if (path[1]!='c' || path[ 665 sh_open(register const char *path, int flags, ...) argument [all...] |
H A D | name.c | 30 #include "path.h" 47 pathnative(const char* path, char* buf, size_t siz) argument 49 return uwin_path(path, buf, siz); 1961 /* L_ARGNOD gets generated automatically as full path name of command */
|
H A D | xec.c | 32 #include "path.h" 2984 char **arge, *path; local 3006 path = nv_name(np); 3009 else if(strcmp(path,"echo")==0 || memcmp(path,"print",5)==0) 3017 path = tchild->com.comarg->argval; 3019 path = 0; 3022 path = ((struct dolnod*)tchild->com.comarg)->dolval[ARG_SPARE]; 3023 if(!np && path && !nv_search(path,sh [all...] |
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsinfo.c | 187 * get the prom path name 225 * inexact aliases, prom device path name. If multiple matches occur 260 * get the prom path name 311 * Get a list prom-path translations for a solaris device. 314 * reference the Solaris device path passed in. 407 * path name (but not an alias) or performing no conversion at all; 938 /* now we have a prom device path - convert to a devfs name */ 950 * store the physical device path for now - when 958 * physical device path in /devices to a logical device path 994 char path[MAXPATHLEN]; local [all...] |
H A D | devfsmap.c | 789 * lookup mpxio-disabled property setting for the given path in the given 792 * conf_file the path name of either fp.conf, qlc.conf or scsi_vhci.conf 793 * path /devices node path without the /devices prefix. 794 * If the conf_file is fp.conf, path must be a fp node path 795 * if the conf_file is qlc.conf, path must be a qlc node path. 796 * if the conf_file is scsi_vhci.conf, path must be NULL. 806 lookup_in_conf_file(char *rootdir, char *conf_file, char *path) argument 1048 is_root_controller(char *rootdir, char *path) argument 1122 file_exists(char *rootdir, char *path) argument 1152 is_mpxio_disabled(char *rootdir, char *path) argument [all...] |
/illumos-gate/usr/src/lib/libfru/libfru/ |
H A D | libfru.cc | 34 * 4) The PayloadReader which given a payload and a path definition can extract 78 #define IS_UNKNOWN_PATH(path) \ 79 ((strcmp(path, "/UNKNOWN") == 0) || (strcmp(path, "UNKNOWN") == 0)) 644 * process_node() has available the handle, path (in the subtree from the root 655 const char *path, 663 char *name = NULL, *path; local 674 /* Build node's path */ 681 path = (char *)alloca(prior_length + sizeof ("/") + strlen(name)); 682 (void) sprintf(path, " 653 fru_walk_tree(fru_nodehdl_t node, const char *prior_path, fru_errno_t (*process_node)(fru_nodehdl_t node, const char *path, const char *name, void *args, end_node_fp_t *end_node, void **end_args), void *args) argument 725 fru_pathmatch(const char *path, const char *searchpath) argument [all...] |
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_ncp.c | 212 nwam_ncp_file_to_name(const char *path, char **name) argument 217 assert(path != NULL && name != NULL); 220 (void) strlcpy(path_copy, path, MAXPATHLEN);
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgweb.c | 241 * Description: Checks a string for being a valid path 243 * Arguments: path - path to validate 246 * B_FALSE means path was null, too long (>PATH_MAX), 250 path_valid(char *path) argument 252 if (path == NULL) { 254 } else if (strlen(path) > PATH_MAX) { 256 } else if (strlen(path) >= 1) { 259 /* path < 1 */ 523 char path[PATH_MA local 1211 char *host = NULL, *portstr = NULL, *path = "/", *p, *q, *r; local 1714 char *path; local 2461 get_startof_string(char *path, char token) argument 2499 get_endof_string(char *path, char token) argument 2756 replace_token(char *path, char oldtoken, char newtoken) argument 2955 remove_dwnld_file(char *path) argument [all...] |
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool_xml.c | 153 static int dtd_exists(const char *path); 540 xmlXPathObjectPtr path; local 556 path = xmlXPathEval(BAD_CAST buf, ctx); 558 if (path && (path->type == XPATH_NODESET) && 559 (path->nodesetval->nodeNr == 1)) { 560 xmlUnlinkNode(path->nodesetval->nodeTab[0]); 561 xmlFreeNode(path->nodesetval->nodeTab[0]); 567 xmlXPathFreeObject(path); 728 xmlXPathObjectPtr path; local 826 xmlXPathObjectPtr path; local 941 xmlXPathObjectPtr path; local 2486 dtd_exists(const char *path) argument [all...] |
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | pplib.h | 229 char* path; /* file path */ member in struct:pathid 293 char* path; /* full path of last #include */ \ 299 char* include; /* saved path of last #include */ \
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | devalloc.c | 1180 char path[MAXPATHLEN]; local 1181 int size = sizeof (path); 1186 path[0] = '\0'; 1187 if (snprintf(path, size, "%s%s", rootdir, DA_DB_LOCK) >= size) 1189 lockfile = path; 1246 char path[MAXPATHLEN]; local 1266 path[0] = '\0'; 1274 if (snprintf(path, sizeof (path), "%s%s", rootdir, 1275 DEVALLOC) >= sizeof (path)) { [all...] |
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | scalls.c | 822 openat(int fd, const char *path, int oflag, ...) argument 831 PERFORM(__openat(fd, path, oflag, mode)) 835 open(const char *path, int oflag, ...) argument 844 PERFORM(__open(path, oflag, mode)) 848 creat(const char *path, mode_t mode) argument 850 return (open(path, O_WRONLY | O_CREAT | O_TRUNC, mode)); 855 openat64(int fd, const char *path, int oflag, ...) argument 864 PERFORM(__openat64(fd, path, oflag, mode)) 868 open64(const char *path, int oflag, ...) argument 877 PERFORM(__open64(path, ofla 881 creat64(const char *path, mode_t mode) argument [all...] |
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | certop.c | 1410 char *path = NULL; local 1454 path = malloc(data->Length + 1); 1455 if (path == NULL) { 1459 (void) strncpy(path, uri, data->Length); 1460 *retn_uri = path;
|
H A D | generalop.c | 147 char *path; member in struct:__anon3482 228 plugin_list[i].path, &pluginrec); 254 * Get the absolute path of the module. 255 * - If modulepath is not a full path, then prepend it 257 * - If modulepath is a full path and contain $ISA, then 258 * subsitute the architecture dependent path. 308 InitializePlugin(KMF_KEYSTORE_TYPE kstype, char *path, KMF_PLUGIN **plugin) argument 313 if (path == NULL || plugin == NULL) 323 p->path = strdup(path); [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_fp.h | 201 char *path; member in struct:luninfo_list 529 char *pathdup(const char *path, int *l_errnop);
|
H A D | cfga_list.c | 101 static fpcfga_ret_t init_ldata_for_mpath_dev(di_path_t path, char *port_wwn, 285 * if path is null that guatantees the node is not 286 * configured. if node is detached the path 327 * path indicates if the node exists in dev tree. 341 * path indicates if the node exists in dev tree. 417 * scsi_vhci node and path info node the snap shot of the 635 * if path is null that guatantees the node is not 636 * configured. if node is detached the path 681 * path indicates if the node exists in dev tree. 785 * scsi_vhci node and path inf 1934 di_path_t path = DI_PATH_NIL; local 2128 di_path_t path = DI_PATH_NIL; local 2873 init_ldata_for_mpath_dev(di_path_t path, char *pwwn, int *l_errnop, fpcfga_list_t *lap) argument [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/ |
H A D | cfga.c | 1453 * returns an allocated string containing the full path to the devlink for 1461 char *path = NULL; local 1469 (void *)&path, findlink_cb); 1472 return (path); 1677 (void) strcpy((*cs)->ap_phys_id, ap_id); /* physical path of AP */
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_tar3.c | 74 * If path is defined. 80 * Component boundary means end of path or on a '/'. At this 406 * Check for clients that send original path as "."(like 432 * It gets a path, a selection (with which the path has matched) a new 433 * name and makes a new name for the path. 434 * All the components of the path and the selection are skipped as long 435 * as they are the same. If either of the path or selection are not on 437 * is generated(Except the situation in which both path and selection 438 * end with trailing '/' and selection is the prefix of the path) 508 mknewname(struct rs_name_maker *rnp, char *buf, int idx, char *path) argument 616 voliswr(char *path) argument [all...] |
H A D | ndmpd_util.c | 2089 * Check if the log path exists 2092 * path (input) - log path 2099 fs_is_valid_logvol(char *path) argument 2103 if (stat64(path, &st) < 0) 2113 * Make a temporary file using the working directory path and the 2117 * buf (output) - the temporary file name path 2134 NDMP_LOG(LOG_DEBUG, "NDMP work path not specified"); 2140 "Log file path cannot be on system volumes."); 2146 NDMP_LOG(LOG_DEBUG, "NDMP work path no 2176 char path[PATH_MAX]; local 2204 ndmp_is_chkpnt_root(char *path) argument [all...] |