Searched refs:sh (Results 1 - 25 of 206) sorted by relevance

123456789

/osnet-11/usr/src/lib/libsuri/common/
H A Dsuri_err.c101 suri_err_check_null_warnings(struct suri_handle *sh) argument
104 for (i = 0; i < UU_NELEM(sh->sh_warnings); ++i) {
105 if (sh->sh_warn[i] != NULL || sh->sh_warnings[i][0] != '\0')
115 suri_err_clear_warnings(struct suri_handle *sh) argument
117 (void) memset(sh->sh_warn, '\0', sizeof (sh->sh_warn));
118 (void) memset(sh->sh_warnings, '\0', sizeof (sh->sh_warnings));
125 suri_err_check_null_errors(struct suri_handle *sh) argument
143 struct suri_handle *sh = (struct suri_handle *)h; local
153 struct suri_handle *sh = (struct suri_handle *)h; local
172 struct suri_handle *sh = (struct suri_handle *)h; local
191 struct suri_handle *sh = (struct suri_handle *)h; local
203 suri_err_set_action(struct suri_handle *sh, const char *fmt, ...) argument
231 suri_err_set_desc(struct suri_handle *sh, const char *fmt, ...) argument
257 suri_err_set_static_desc(struct suri_handle *sh, suri_err_t err) argument
290 suri_set_warn(struct suri_handle *sh, const char *fmt, ...) argument
322 suri_err_clear(struct suri_handle *sh) argument
[all...]
H A Dsuri.c91 suri_file_map_and_lookup_mapping(struct suri_handle *sh, boolean_t lookup_only) argument
94 suri_file_t *suri_file = SURIH2FILE(sh);
97 ret = suri_enforce_reg_file(sh, suri_file->sf_prop_path);
100 return (suri_lofi_map(sh, lookup_only));
104 suri_file_map(struct suri_handle *sh) argument
106 return (suri_file_map_and_lookup_mapping(sh, B_FALSE));
110 suri_file_lookup_mapping(struct suri_handle *sh) argument
112 return (suri_file_map_and_lookup_mapping(sh, B_TRUE));
121 suri_file_lookup_uri(struct suri_handle *sh, struct suri_handle ***ppsh) argument
124 suri_file_t *suri_file = SURIH2FILE(sh);
155 suri_file_unmap(struct suri_handle *sh) argument
176 suri_file_dev_prop_defined(struct suri_handle *sh, suri_prop_t sp) argument
199 suri_common_set_prop_str(struct suri_handle *sh, suri_prop_t sp, const char *str) argument
215 suri_common_set_prop_uint64(struct suri_handle *sh, suri_prop_t sp, uint64_t n) argument
230 suri_common_set_prop_bool(struct suri_handle *sh, suri_prop_t sp, boolean_t b) argument
241 suri_file_get_prop_str(struct suri_handle *sh, suri_prop_t sp) argument
258 suri_file_get_prop_bool(struct suri_handle *sh, suri_prop_t sp) argument
279 suri_create_get_nvprop_int64(struct suri_handle *sh, nvlist_t *l, char *name, int64_t *propval, int64_t defval) argument
322 suri_file_create(struct suri_handle *sh, uint64_t size, nvlist_t *create_props) argument
400 suri_file_destroy(struct suri_handle *sh) argument
427 suri_lu_map(struct suri_handle *sh) argument
436 suri_lu_lookup_uri(struct suri_handle *sh, struct suri_handle ***ppsh) argument
456 suri_lu_get_prop_str(struct suri_handle *sh, suri_prop_t sp) argument
477 suri_lu_get_prop_bool(struct suri_handle *sh, suri_prop_t sp) argument
497 suri_lu_prop_defined(struct suri_handle *sh, suri_prop_t sp) argument
535 suri_iscsi_map(struct suri_handle *sh) argument
574 suri_iscsi_lookup_mapping(struct suri_handle *sh) argument
583 suri_iscsi_lookup_uri(struct suri_handle *sh, struct suri_handle ***ppsh) argument
640 suri_iscsi_unmap(struct suri_handle *sh) argument
686 suri_iscsi_prop_defined(struct suri_handle *sh, suri_prop_t sp) argument
716 suri_iscsi_get_prop_str(struct suri_handle *sh, suri_prop_t sp) argument
734 suri_iscsi_get_prop_uint64(struct suri_handle *sh, suri_prop_t sp) argument
751 suri_iscsi_get_prop_bool(struct suri_handle *sh, suri_prop_t sp) argument
780 suri_dev_map(struct suri_handle *sh) argument
815 suri_dev_lookup_uri(struct suri_handle *sh, struct suri_handle ***ppsh) argument
849 suri_dev_get_prop_str(struct suri_handle *sh, suri_prop_t sp) argument
866 suri_dev_get_prop_bool(struct suri_handle *sh, suri_prop_t sp) argument
892 suri_init(struct suri_handle *sh, const suri_gen_uri_t *gen_uri) argument
991 suri_alloc_init(struct suri_handle *sh) argument
1007 struct suri_handle *sh; local
1021 struct suri_handle *sh = (struct suri_handle *)h; local
1032 struct suri_handle *sh = (struct suri_handle *)h; local
1044 struct suri_handle *sh = (struct suri_handle *)h; local
1068 suri_clean(struct suri_handle *sh) argument
1089 struct suri_handle *sh = (struct suri_handle *)h; local
1136 struct suri_handle *sh = (struct suri_handle *)h; local
1168 struct suri_handle *sh = (struct suri_handle *)h; local
1198 struct suri_handle *sh = (struct suri_handle *)h; local
1230 suri_lookup_uri_common(struct suri_handle *sh, const char *mdev) argument
1308 struct suri_handle *sh, **tmp_psh = NULL; local
1395 struct suri_handle *sh; local
1493 struct suri_handle *sh = (struct suri_handle *)h; local
1528 struct suri_handle *sh = (struct suri_handle *)h; local
1557 struct suri_handle *sh = (struct suri_handle *)h; local
1588 struct suri_handle *sh = (struct suri_handle *)h; local
1627 struct suri_handle *sh = (struct suri_handle *)h; local
1641 struct suri_handle *sh = (struct suri_handle *)h; local
1653 struct suri_handle *sh = (struct suri_handle *)h; local
1660 suri_set_prop_check(struct suri_handle *sh, suri_prop_t sp) argument
1677 struct suri_handle *sh = (struct suri_handle *)h; local
1690 struct suri_handle *sh = (struct suri_handle *)h; local
1702 struct suri_handle *sh = (struct suri_handle *)h; local
1775 suri_clone(struct suri_handle *sh, struct suri_handle **cloned_sh) argument
1933 suri_notsup_op(struct suri_handle *sh) argument
1946 suri_create_notsup_op(struct suri_handle *sh, uint64_t s, nvlist_t *props) argument
1959 suri_null_get_prop_uint64(struct suri_handle *sh, suri_prop_t sp) argument
[all...]
H A Dsuri_parser.c366 suri_parse_generic_uri(struct suri_handle *sh, suri_gen_uri_t *gen_uri) argument
372 assert(sh->sh_uri[0] != '\0');
373 assert(strlen(sh->sh_uri) < SURI_MAX_URI_LEN);
376 return (suri_err_set_static_desc(sh, ESURI_NOMEM));
384 ret = regexec(&suri_re_uri, sh->sh_uri, 10, pm, 0);
387 pmatch_copy(gen_uri->sgu_scheme, sh->sh_uri, pm, 1);
389 pmatch_copy(gen_uri->sgu_authority, sh->sh_uri, pm, 3);
391 pmatch_copy(gen_uri->sgu_path, sh->sh_uri, pm, 5);
393 pmatch_copy(gen_uri->sgu_query, sh->sh_uri, pm, 6);
395 pmatch_copy(gen_uri->sgu_fragment, sh
435 suri_query_nonempty(struct suri_handle *sh, const suri_gen_uri_t *gen_uri) argument
446 suri_fragment_nonempty(struct suri_handle *sh, const suri_gen_uri_t *gen_uri) argument
457 suri_path_empty(struct suri_handle *sh, const suri_gen_uri_t *gen_uri) argument
478 suri_get_uri_type(struct suri_handle *sh, suri_gen_uri_t *gen_uri) argument
517 check_guid(struct suri_handle *sh, const char *name, const char *s) argument
580 suri_file_dev_parse(struct suri_handle *sh, const suri_gen_uri_t *gen_uri) argument
679 suri_lu_parse(struct suri_handle *sh, const suri_gen_uri_t *gen_uri) argument
767 suri_iscsi_parse(struct suri_handle *sh, const suri_gen_uri_t *gen_uri) argument
[all...]
H A Dsuri_aux.c51 suri_getsvcstate(struct suri_handle *sh, int *status, char *svcname) argument
59 suri_err_set_desc(sh, "%s: \"%s\"",
77 suri_enable_service(struct suri_handle *sh, char *svcname) argument
83 if ((ret = suri_getsvcstate(sh, &status, svcname)) != ESURI_OK)
93 return (suri_err_set_static_desc(sh, ESURI_NOMEM));
98 suri_err_set_desc(sh, "%s \"%s\": %s",
109 suri_err_set_desc(sh, "%s \"%s\"",
119 suri_err_set_desc(sh, "%s \"%s\": %s %d",
128 if ((ret = suri_getsvcstate(sh, &status, svcname)) != ESURI_OK)
132 suri_err_set_desc(sh, "
167 suri_enforce_real_devpath(struct suri_handle *sh, const char *path, boolean_t devpath_in_action) argument
257 suri_enforce_reg_file(struct suri_handle *sh, const char *path) argument
290 suri_enforce_block_dev(struct suri_handle *sh, const char *path, boolean_t devpath_in_action) argument
340 suri_open_lofictl(struct suri_handle *sh, int *lfd, major_t *major) argument
375 suri_wait_until_dev_complete(struct suri_handle *sh, int minor) argument
429 suri_lofi_map(struct suri_handle *sh, boolean_t lookup_only) argument
473 devname_to_major_minor(struct suri_handle *sh, major_t *major, minor_t *minor) argument
495 suri_lofi_lookup_uri(struct suri_handle *sh) argument
536 suri_lofi_unmap(struct suri_handle *sh) argument
719 suri_resolve_hostname(struct suri_handle *sh, struct addrinfo **res) argument
[all...]
/osnet-11/usr/src/lib/libast/common/comp/
H A Dsystem.c46 char* sh[4]; local
50 sh[0] = "sh";
51 sh[1] = "-c";
52 sh[2] = (char*)cmd;
53 sh[3] = 0;
54 return procrun(NiL, sh, 0);
/osnet-11/usr/src/lib/libast/common/path/
H A Dpathshell.c53 register char* sh; local
62 if ((sh = getenv("SHELL")) && *sh == '/' && strmatch(sh, "*/(sh|*[!cC]sh)*([[:digit:]])?(-+([.[:alnum:]]))?(.exe)"))
66 if (stat(sh, &st))
68 if (ru != st.st_uid && !strmatch(sh, "?(/usr)?(/local)/?([ls])bin/?([[:lower:]])sh?(.exe)"))
81 s = sh;
[all...]
/osnet-11/usr/src/lib/libshare/common/
H A Dsharetab.c58 static share_t *sh = NULL; local
68 if (sh == NULL) {
69 sh = (share_t *)malloc(sizeof (*sh));
70 if (sh == NULL)
79 sh->sh_path = (char *)strtok_r(p, w, &lasts);
80 if (sh->sh_path == NULL)
82 sh->sh_res = (char *)strtok_r(NULL, w, &lasts);
83 if (sh->sh_res == NULL)
85 sh
100 sharedup(share_t *sh) argument
142 sharefree(share_t *sh) argument
[all...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Ddefs.c32 Shell_t sh = {0}; variable
35 Shell_t *_imp__sh = &sh;
/osnet-11/usr/src/lib/libshell/
H A DMakefile.com69 sh/args.o \
70 sh/arith.o \
71 sh/array.o \
72 sh/defs.o \
73 sh/deparse.o \
74 sh/expand.o \
75 sh/fault.o \
76 sh/fcin.o \
77 sh/init.o \
78 sh/i
[all...]
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/
H A Dsh_syscalls.d4 * Written for the sh DTrace provider.
49 sh$target:::function-entry,
50 sh$target:::builtin-entry,
51 sh$target:::command-entry
57 sh$target:::function-entry
62 sh$target:::builtin-entry
67 sh$target:::command-entry
H A Dsh_calls.d4 * Written for the sh DTrace provider.
9 * running with sh provider support.
47 sh*:::function-entry
52 sh*:::builtin-entry
57 sh*:::command-entry
62 sh*:::subshell-entry
H A Dsh_flowinfo.d4 * Written for the sh DTrace provider.
9 * running with sh provider support.
59 sh*:::function-entry,
60 sh*:::function-return,
61 sh*:::builtin-entry,
62 sh*:::builtin-return,
63 sh*:::command-entry,
64 sh*:::command-return,
65 sh*:::subshell-entry,
66 sh*
[all...]
H A Dsh_flowtime.d4 * Written for the sh DTrace provider.
9 * running with sh provider support.
73 sh*:::function-entry,
74 sh*:::function-return,
75 sh*:::builtin-return,
76 sh*:::command-return
82 sh*:::function-entry
92 sh*:::function-return
102 sh*:::builtin-return
111 sh*
[all...]
H A Dsh_flow.d4 * Written for the sh DTrace provider.
9 * running with sh provider support.
61 sh*:::function-entry
68 sh*:::function-return
75 sh*:::builtin-entry
81 sh*:::command-entry
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Shell/
H A Dsh_syscalls.d4 * Written for the sh DTrace provider.
49 sh$target:::function-entry,
50 sh$target:::builtin-entry,
51 sh$target:::command-entry
57 sh$target:::function-entry
62 sh$target:::builtin-entry
67 sh$target:::command-entry
H A Dsh_calls.d4 * Written for the sh DTrace provider.
9 * running with sh provider support.
47 sh*:::function-entry
52 sh*:::builtin-entry
57 sh*:::command-entry
62 sh*:::subshell-entry
H A Dsh_flowinfo.d4 * Written for the sh DTrace provider.
9 * running with sh provider support.
59 sh*:::function-entry,
60 sh*:::function-return,
61 sh*:::builtin-entry,
62 sh*:::builtin-return,
63 sh*:::command-entry,
64 sh*:::command-return,
65 sh*:::subshell-entry,
66 sh*
[all...]
H A Dsh_flowtime.d4 * Written for the sh DTrace provider.
9 * running with sh provider support.
73 sh*:::function-entry,
74 sh*:::function-return,
75 sh*:::builtin-return,
76 sh*:::command-return
82 sh*:::function-entry
92 sh*:::function-return
102 sh*:::builtin-return
111 sh*
[all...]
H A Dsh_flow.d4 * Written for the sh DTrace provider.
9 * running with sh provider support.
61 sh*:::function-entry
68 sh*:::function-return
75 sh*:::builtin-entry
81 sh*:::command-entry
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Ddotsh.pl35 local(@sh) = @_;
39 $dotsh = shift(@sh);
43 $vars = join ("\n", @sh);
46 $shell = "$1 -c" if ($_ =~ /^\#\!\s*(\S+(\/sh|\/ksh|\/zsh|\/csh))\s*$/);
49 if ($ENV{'SHELL'} =~ /\/sh$|\/ksh$|\/zsh$|\/bash$|\/csh$/) {
52 print "SHELL not recognized!\nUsing /bin/sh...\n";
53 $shell = "/bin/sh -c";
/osnet-11/usr/src/lib/libadt_jni/com/sun/audit/
H A DAuditSession.java74 private byte[] sh; // current session handle field in class:AuditSession
91 sh = new byte[8]; // NULL pointer in C
96 sh = startSession(context, 0);
100 sh = new byte[8];
104 sh = new byte[8];
112 // If you think you need this C pointer (sh), see
118 return sh;
126 sessionId = getSessionId(sh);
157 endSession(sh);
174 exportedData = exportSessionData(sh);
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/
H A DMakefile40 MACH_CONFIG_FILES = config.sh
45 # Generated Makefiles, derived from config.sh.
76 # Modify config.sh to refer to the compiler used for the build.
77 distrib/config.sh: $(MACH)/config.sh
78 $(SED) $(SED_CC) $(SED_CC_E) $(MACH)/config.sh > $@
80 Makefile.perlcfg: extract_config $(MACH)/config.sh
81 ./extract_config $(MACH)/config.sh > Makefile.perlcfg
83 distrib/ext/Makefile: extract_makeext $(MACH)/config.sh
84 ./extract_makeext $(MACH)/config.sh > distri
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/x2p/
H A Dcflags.SH3 if test -f config.sh; then TOP=.;
4 elif test -f ../config.sh; then TOP=..;
5 elif test -f ../../config.sh; then TOP=../..;
6 elif test -f ../../../config.sh; then TOP=../../..;
7 elif test -f ../../../../config.sh; then TOP=../../../..;
9 echo "Can't find config.sh."; exit 1
11 . $TOP/config.sh
39 if test -f config.sh; then TOP=.;
40 elif test -f ../config.sh; then TOP=..;
41 elif test -f ../../config.sh; the
[all...]
/osnet-11/usr/src/lib/fm/topo/libtopo/
H A DMakefile.com120 ../common/topo_error.c: ../common/mkerror.sh ../common/topo_error.h
121 sh ../common/mkerror.sh liberrors < ../common/topo_error.h > $@
122 sh ../common/mkerror.sh properrors < ../common/libtopo.h >> $@
123 sh ../common/mkerror.sh methoderrors < ../common/libtopo.h >> $@
124 sh ../common/mkerror.sh fmrierrors < ../common/libtopo.h >> $@
125 sh
[all...]
/osnet-11/usr/src/lib/scsi/plugins/ses/libses/
H A DMakefile.com39 ../common/libses_elemtype.c: ../common/mkelemtype.sh $(SES2HDR) $(SUNPLUGINHDR)
40 sh ../common/mkelemtype.sh $(SES2HDR) $(SUNPLUGINHDR) > $@

Completed in 75 milliseconds

123456789