/illumos-gate/usr/src/cmd/gcore/ |
H A D | gcore.c | 198 int options; local 200 if ((options = core_get_options()) == -1) { 205 if (opt_p && !(options & CC_PROCESS_PATH)) { 211 if (opt_g && !(options & CC_GLOBAL_PATH)) {
|
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd_impl.c | 162 * Implement set/get of bus private options. 166 const char *options, char **resultsp) 173 dprintf("private_options(path=%s, connection=%s, options='%s')\n", 174 path, connection, options); 177 if ((rv = pack_properties(options, &prop)) != 0) { 257 * Given a specified set/get command and an options string, 259 * contains the specified options. 262 pack_properties(const char *options, ddi_hp_property_t *prop) argument 271 /* Do nothing if options string is empty */ 272 if ((len = strlen(options)) 165 private_options(const char *path, const char *connection, hp_cmd_t cmd, const char *options, char **resultsp) argument 347 char *name, *value, *options; local [all...] |
/illumos-gate/usr/src/cmd/iscsitsvc/ |
H A D | iscsitsvc.c | 67 /* add new options here */ 114 it_enable(int operandLen, char *operands[], cmdOptions_t *options, argument 170 it_disable(int operandLen, char *operands[], cmdOptions_t *options, argument
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | args.c | 95 options(int argc, unsigned char **argv) function 107 * if first argument is "--" then options are not
|
/illumos-gate/usr/src/cmd/sort/common/ |
H A D | options.c | 29 #include "options.h" 32 * options 37 * as "old specifiers" and the latter as "new specifiers". The options() 73 * is, before the closing -n is seen), a narrower set of options is permitted. 74 * We specify this smaller set of options in OLD_SPEC_OPTIONS_STRING. 360 options(sort_t *S, int argc, char *argv[]) function 546 * the "end-of-options" token, --, we have encountered the 557 * Process all arguments following end-of-options token
|
/illumos-gate/usr/src/cmd/stmfproxy/aluaadm/ |
H A D | aluaadm.c | 60 /* add new options here */ 89 setLuStandbyFunc(int operandLen, char *operands[], cmdOptions_t *options, argument 156 disableAluaFunc(int operandLen, char *operands[], cmdOptions_t *options, argument 170 enableAluaFunc(int operandLen, char *operands[], cmdOptions_t *options, argument
|
/illumos-gate/usr/src/cmd/stmfsvc/ |
H A D | stmfsvc.c | 62 /* add new options here */ 87 svcStop(int operandLen, char *operands[], cmdOptions_t *options, argument 147 svcStart(int operandLen, char *operands[], cmdOptions_t *options, argument
|
/illumos-gate/usr/src/cmd/svc/servinfo/ |
H A D | servinfo.c | 102 svc_getrpcinfo(char *sname, char *sproto, int options) argument 169 if (options & DEFAULT) { 176 } else if (options & PROTO) { 200 * Print the concatenated output if options is PROTO or PORT. 202 if (options & (PROTO | PORT)) 214 int options = DEFAULT; local 237 options = PROTO; 240 options = PORT; 266 return (svc_getrpcinfo(sname, sproto, options)); 275 if (options [all...] |
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | getdgrp.c | 101 * char **getdgrp(dgroups, criteria, options) 104 * int options 113 * "options" 115 * options Indicates 1) whether to "and" the criteria or to "or" 130 int options) /* Options governing the search */ 154 if (((options & DTAB_LISTALL) == 0) || (criteria && *criteria)) { 155 devlist = getdev(NULL, criteria, (options & DTAB_ANDCRITERIA)); 194 if ((options & DTAB_EXCLUDEFLAG) == 0) { 127 getdgrp( char **dgroups, char **criteria, int options) argument
|
/illumos-gate/usr/src/lib/libast/common/tm/ |
H A D | tminit.c | 55 static const Namval_t options[] = variable 385 * set the options 388 stropt(getenv("TM_OPTIONS"), options, sizeof(*options), tmopt, NiL);
|
/illumos-gate/usr/src/uts/sun4v/promif/ |
H A D | promif_node.c | 46 promif_set_nodes(pnode_t chosen, pnode_t options) argument 49 optionsnode = options; 64 } else if (strcmp("/options", path) == 0) { 152 * options, including the ':' option separator, on the end 171 /* strip off any options from the token */
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vnet_mailbox.h | 89 uint8_t options; /* options - dring mode */ member in struct:vnet_attr_msg
|
/illumos-gate/usr/src/test/zfs-tests/cmd/getholes/ |
H A D | getholes.c | 70 print_list(list_t *seg_list, char *fname, int options) argument 83 if (options & PRINT_VERBOSE) 103 if (options & PRINT_HOLE && options & PRINT_DATA) { 109 if (options & PRINT_DATA) 111 if (options & PRINT_HOLE) 119 int c, fd, options = 0, whence = SEEK_DATA; local 130 options |= PRINT_DATA; 133 options |= PRINT_HOLE; 136 options | [all...] |
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | boot.c | 298 char lbuf[128], *cp, *ep, *dev, *fstyp, *options; local 342 /* skip whitespace up to mount options */ 348 /* skip text to end of mount options and delimit */ 353 options = strdup(ep); 360 /* Don't override vfs.root.mountfrom.options if it is already set */ 361 if (getenv("vfs.root.mountfrom.options") == NULL) { 362 /* save mount options */ 363 setenv("vfs.root.mountfrom.options", options, 0); 365 free(options); [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_init.c | 364 mdcmdopts_t options, 390 return (meta_init_hsp(spp, argc, argv, options, ep)); 435 rval = meta_init_mirror(spp, argc, argv, options, ep); 438 rval = meta_init_raid(spp, argc, argv, options, ep); 441 rval = meta_init_sp(spp, argc, argv, options, ep); 444 rval = meta_init_stripe(spp, argc, argv, options, ep); 448 if (rval == -1 || !(options & MDCMD_DOIT)) { 359 meta_init_name( mdsetname_t **spp, int argc, char *argv[], char *cname, mdcmdopts_t options, md_error_t *ep ) argument
|
H A D | meta_print.c | 53 mdprtopts_t options, 70 options, NULL, lognlpp, ep)); 74 options, ep)); 78 options, ep)); 82 options, ep)); 86 options, ep)); 103 mdprtopts_t options, 114 if (meta_trans_print(sp, NULL, nlpp, fname, fp, options, 119 if (meta_logs_print(sp, lognlp, nlpp, fname, fp, options, ep) != 0) { 124 if (meta_mirror_print(sp, NULL, nlpp, fname, fp, options, e 47 meta_print_name( mdsetname_t *sp, mdname_t *namep, mdnamelist_t **nlpp, char *fname, FILE *fp, mdprtopts_t options, mdnamelist_t **lognlpp, md_error_t *ep ) argument 98 meta_print_all( mdsetname_t *sp, char *fname, mdnamelist_t **nlpp, FILE *fp, mdprtopts_t options, int *meta_print_trans_msgp, md_error_t *ep ) argument [all...] |
H A D | meta_getdevs.c | 484 * options - options from the command line 496 mdprtopts_t options, 537 ((options & PRINT_FAST) ? 1 : 0), ep); 555 ((options & PRINT_FAST) ? 1 : 0), ep); 492 meta_get_names( char *drivername, mdsetname_t *sp, mdnamelist_t **nlpp, mdprtopts_t options, md_error_t *ep ) argument
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_init.c | 205 statp->options = RES_DEFAULT; 556 if (MATCH(buf, "options")) { 557 res_setoptions(statp, buf + sizeof("options") - 1, "conf"); 602 if (statp->options & RES_DEBUG) { 613 statp->options |= RES_INIT; 628 res_setoptions(res_state statp, const char *options, const char *source) argument 630 const char *cp = options; 635 if (statp->options & RES_DEBUG) 637 options, source); 643 /* search for and process individual options */ [all...] |
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | plugin.c | 418 * sa_proto_legacy_opts(proto, grouup, options) 420 * Have the protocol specific parser parse the options string and add 425 sa_proto_legacy_opts(char *proto, sa_group_t group, char *options) argument 431 ret = ops->sa_legacy_opts(group, options);
|
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | libfsmgt.h | 89 char *options; member in struct:share_list 106 char *nml_mntopts; /* mount options */ 510 * char *mntopts - The mount options 650 * opt parameter to have the "=" character appended when searching for options 703 * char * - options string to be parsed. 870 * Description: Retrieves the share options from the dfstab 875 * options from. 878 * Returns the string containing the share options. 879 * A NULL value indicates that no options were specified in the dfstab entry. 946 * char *options [all...] |
/illumos-gate/usr/src/lib/libsum/common/ |
H A D | sumlib.c | 47 const char* options; member in struct:Method_s 370 if (methods[i].options) 371 n += sfprintf(sp, "{\n%s\n}", methods[i].options);
|
/illumos-gate/usr/src/lib/libtsnet/common/ |
H A D | misc.c | 182 rtsa_keyword(const char *options, struct rtsa_s *sp, int *errp, char **errstrp) argument 198 *errstrp = (char *)options; 200 while (*options != '\0') { 201 valptr = parse_entry(attrbuf, sizeof (attrbuf), options, ",="); 204 *errstrp = (char *)options; 212 *errstrp = (char *)options; 240 *errstrp = (char *)options; 257 *errstrp = (char *)options; 274 *errstrp = (char *)options; 292 *errstrp = (char *)options; [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | gen.c | 84 typedef struct irs_acc *(*accinit) __P((const char *options)); 131 irs_gen_acc(const char *options, const char *conf_file) { argument 146 irs->options = strdup(options); 189 if (((irs->res->options & RES_INIT) == 0U) && res_ninit(irs->res) < 0) 259 /* The options string was strdup'd. */ 260 free((void*)irs->options); 295 const char *options) 323 cp = options; 357 inst->acc = (*accs[acc])(irs->options); 293 add_rule(struct gen_p *irs, enum irs_map_id map, enum irs_acc_id acc, const char *options) argument 403 char line[1024], pattern[40], mapname[20], accname[20], options[100]; local [all...] |
H A D | irp.c | 78 * irs_acc *irs_irp_acc(const char *options); 83 irs_irp_acc(const char *options) { argument 87 UNUSED(options);
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | wait.c | 125 waitpid(int pid, int *status, int options) argument 138 if (options & ~(WNOHANG|WUNTRACED)) 141 if (options & WNOHANG) 143 if (options & WUNTRACED) 158 wait3(int *status, int options, struct rusage *rp) argument 160 return (wait4(0, status, options, rp)); 169 wait4(int pid, int *status, int options, struct rusage *rp) argument 192 if (options & ~(WNOHANG|WUNTRACED)) 195 if (options & WNOHANG) 197 if (options [all...] |