/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/ |
H A D | cfga_ib.c | 123 "Hardware specific options not supported " }, 186 * these are the only valid sub-options for services. 533 * options - command options passed by the cfgadm(1M) 540 * Check if "options" and "errstring" are valid and if ap_id is 544 ib_verify_params(const char *ap_id, const char *options, char **errstring) argument 550 if (options != NULL) { 551 DPRINTF("ib_verify_params: h/w-specific options not " 845 * options - State Change command options passe 860 cfga_change_state(cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1048 cfga_private_func(const char *func, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1529 cfga_test(const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1639 cfga_list_ext(const char *ap_id, cfga_list_data_t **ap_id_list, int *nlistp, const char *options, const char *listopts, char **errstring, cfga_flags_t flags) argument 2043 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument [all...] |
/illumos-gate/usr/src/cmd/power/ |
H A D | powerd.c | 97 typedef enum {root, options} prom_node_t; enumerator in enum:__anon32 212 * Process options 796 if (get_prom(prom_fd, options, "#power-cycles", 823 if (get_prom(prom_fd, options, "system-board-date", 1090 * Gets the value of a prom property at either root or options node. It 1147 case options: 1161 logerror("Only root node and options node are supported.\n");
|
/illumos-gate/usr/src/boot/sys/boot/sparc64/loader/ |
H A D | main.c | 747 phandle_t aliases, options; local 759 options = OF_finddevice("/options"); 760 len = OF_getproplen(options, "boot-device"); 766 if (OF_getprop(options, "boot-device", bdev, len) <= 0)
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libsharecore.c | 83 char *options; member in struct:sharelist 267 item->options = strdup(optarg); 423 item->options = sa_proto_legacy_format(proto, share, 1); 424 if (item->options != NULL && strlen(item->options) == 0) { 425 free(item->options); 426 item->options = NULL; 466 (item->options != NULL) ? " -o " : "", 467 (item->options != NULL) ? 468 item->options 908 sa_parse_legacy_options(sa_group_t group, char *options, char *proto) argument 1804 sa_optionset_t options; local [all...] |
H A D | libshare.c | 2364 * as a group of properties (like NFS security options). 4173 sa_optionset_t options; local 4181 options = (sa_optionset_t)xmlNewNode(NULL, (xmlChar *)"optionset"); 4182 if (options == NULL) 4200 ret = get_protocol_list(options, resource); 4202 ret = get_protocol_list(options, share); 4204 ret = get_protocol_list(options, group); 4212 sa_free_protoset(options); 4213 options = NULL; 4215 return (options); [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_mount.c | 328 zfs_mount(zfs_handle_t *zhp, const char *options, int flags) argument 335 if (options == NULL) 338 (void) strlcpy(mntopts, options, sizeof (mntopts)); 704 * zfs_parse_options(options, proto) 707 * options using the NULL arg to indicate that this is a "parse" only. 710 zfs_parse_options(char *options, zfs_share_proto_t proto) argument 713 return (_sa_parse_legacy_options(NULL, options, 762 * Share the given filesystem according to the options in the specified 783 * Return success if there are no share options.
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_name.c | 3699 int options, 3710 if (meta_get_hsp_names(sp, &hspnlp, options, ep) < 0) { 3696 meta_get_hotspare_names( mdsetname_t *sp, mdnamelist_t **nlpp, int options, md_error_t *ep ) argument
|
H A D | meta_raid.c | 48 * options - options from the command line 59 int options, 63 return (meta_get_names(MD_RAID, sp, nlpp, options, ep)); 142 /* get options */ 351 mdchkopts_t options = (MDCHK_ALLOW_MDDB); local 370 if (meta_check_inmeta(sp, np, options, 0, -1, ep) != 0) 385 mdprtopts_t options, 393 if (options & PRINT_LARGEDEVICES) { 400 if (options 56 meta_get_raid_names( mdsetname_t *sp, mdnamelist_t **nlpp, int options, md_error_t *ep ) argument 381 raid_print( md_raid_t *raidp, char *fname, FILE *fp, mdprtopts_t options, md_error_t *ep ) argument 639 display_raid_device_info( mdsetname_t *sp, md_raidcol_t *colp, char *fname, FILE *fp, mdprtopts_t options, int print_len, uint_t top_tstate, md_error_t *ep ) argument 778 raid_report( mdsetname_t *sp, md_raid_t *raidp, char *fname, FILE *fp, mdprtopts_t options, md_error_t *ep ) argument 1077 meta_raid_print( mdsetname_t *sp, mdname_t *raidnp, mdnamelist_t **nlpp, char *fname, FILE *fp, mdprtopts_t options, md_error_t *ep ) argument 1189 attach_raid_col( mdsetname_t *sp, mdname_t *raidnp, mr_unit_t *mr, mr_column_t *mdc, mdname_t *colnp, rcs_state_t state, mdnamelist_t **keynlpp, mdcmdopts_t options, md_error_t *ep ) argument 1297 meta_raid_attach( mdsetname_t *sp, mdname_t *raidnp, mdnamelist_t *colnlp, mdcmdopts_t options, md_error_t *ep ) argument 1570 meta_raid_replace( mdsetname_t *sp, mdname_t *raidnp, mdname_t *oldnp, mdname_t *newnp, mdcmdopts_t options, md_error_t *ep ) argument 1727 meta_raid_enable( mdsetname_t *sp, mdname_t *raidnp, mdname_t *colnp, mdcmdopts_t options, md_error_t *ep ) argument 1919 meta_check_raid( mdsetname_t *sp, md_raid_t *raidp, mdcmdopts_t options, md_error_t *ep ) argument 2140 meta_create_raid( mdsetname_t *sp, md_raid_t *raidp, mdcmdopts_t options, md_error_t *ep ) argument 2409 meta_init_raid( mdsetname_t **spp, int argc, char *argv[], mdcmdopts_t options, md_error_t *ep ) argument 2625 meta_raid_reset( mdsetname_t *sp, mdname_t *raidnp, mdcmdopts_t options, md_error_t *ep ) argument [all...] |
H A D | meta_set.c | 2175 int options, 2172 meta_get_reserved_names( mdsetname_t *sp, mdnamelist_t **nlpp, int options, md_error_t *ep) argument
|
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/ |
H A D | shp.c | 162 static cfga_err_t check_options(const char *options); 617 const char *options, struct cfga_confirm *confp, 625 if ((rv = check_options(options)) != CFGA_OK) { 881 const char *options, struct cfga_confirm *confp, 894 DBG(2, (" options: %s\n", (options == NULL)?"null":options)); 899 if ((rv = check_options(options)) != CFGA_OK) { 1005 cfga_err_t cfga_test(const char *ap_id, const char *options, argument 1012 if ((rv = check_options(options)) ! 616 cfga_change_state(cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 880 cfga_private_func(const char *function, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1374 cfga_list_ext(const char *ap_id, cfga_list_data_t **cs, int *nlist, const char *options, const char *listopts, char **errstring, cfga_flags_t flags) argument 1563 check_options(const char *options) argument 1577 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/sysctrl/common/ |
H A D | cfga.c | 190 /* y */ "\nSysctrl specific commands/options:", 871 const char *options, 898 if (options) { 900 if (strcmp(options, cfga_str(OPT_DISABLE)) == 0) 902 else if (strcmp(options, cfga_str(OPT_ENABLE))) { 903 cfga_err(NULL, errstring, ERR_OPT_INVAL, options, 0); 942 else if (disabled && !(force || (options && !disable))) 951 else if (options && (opterr = dlist_update(idx, disable, 971 else if (options && (opterr = dlist_update(idx, disable, 983 if (disabled && !(force || (options 868 cfga_change_state( cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1057 cfga_private_func( const char *function, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1149 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1347 cfga_list( const char *ap_id, cfga_stat_data_t **ap_list, int *nlist, const char *options, char **errstring) argument 1388 cfga_stat( const char *ap_id, struct cfga_stat_data *cs, const char *options, char **errstring) argument 1441 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | xec.c | 2566 Shopt_t options = shp->options; local 2568 shp->glob_options = shp->options; 2570 shp->options = shp->glob_options; 2674 shp->options = options;
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsinfo.c | 114 static int prom_dev_to_alias(char *dev, uint_t options, char ***ret_buf); 229 * the list may be restricted by specifying the correct flags in options. 232 devfs_get_prom_names(const char *dev_name, uint_t options, char ***prom_list) argument 268 if ((ret = prom_dev_to_alias(prom_path, options, &alias_list)) < 0) { 278 if ((options & BOOTDEV_NO_PROM_PATH) == 0) { 300 if ((options & BOOTDEV_NO_PROM_PATH) == 0) { 406 * Available options include: converting the device name to a prom 412 devfs_bootdev_set_list(const char *dev_name, const uint_t options) argument 432 if ((*dev_name != '/') && !(options & BOOTDEV_LITERAL)) { 435 if ((options 1626 prom_dev_to_alias(char *dev, uint_t options, char ***ret_buf) argument 2139 char options[16] = ""; local [all...] |
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | scalls.c | 1156 waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options) argument 1161 if (options & WNOHANG) 1162 return (__waitid(idtype, id, infop, options)); 1163 PERFORM(__waitid(idtype, id, infop, options))
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | eepro100.c | 579 int options; local 680 /* options = 0x40; */ /* 10mbps half duplex... */ 681 options = 0x00; /* Autosense */ 701 if (options != 0) { 703 ((options & 0x20) ? 0x2000 : 0) | /* 100mbps? */ 704 ((options & 0x10) ? 0x0100 : 0)); /* Full duplex? */ 715 confcmd.data[19] = (options & 0x10) ? 0xC0 : 0x80;
|
H A D | pcnet32.c | 112 * to internal options 133 #define MAX_UNITS 8 /* More are supported, limit only on options */ 134 static int options[MAX_UNITS]; variable 267 int options; member in struct:pcnet32_private 451 if (lp->options & PCNET32_PORT_ASEL) 457 if (lp->options & PCNET32_PORT_FD) { 459 if (lp->options == 462 } else if (lp->options & PCNET32_PORT_ASEL) { 477 if ((lp->options & PCNET32_PORT_PORTSEL) == PCNET32_PORT_GPSI) 481 if (lp->mii && !(lp->options [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema.c | 109 * the valid options. The array is terminated by an element with the 111 * mutually exclusive options, with zero meaning no grouping. 119 * Returned set of options. 189 static const char mema_help[] = "\nAc specific options:\n"; 583 const char *options, 595 do_option = process_options(options, add_opts, &ret, errstring); 659 const char *options, 672 do_option = process_options(options, del_opts, &ret, errstring); 725 const char *options, 741 rc = mema_add(ap_id, options, errstrin 581 mema_add( const char *bank_spec, const char *options, char **errstring, int force) argument 657 mema_delete( const char *bank_spec, const char *options, char **errstring, int force) argument 722 cfga_change_state( cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 758 cfga_private_func( const char *function, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1087 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1379 cfga_stat( const char *ap_id, struct cfga_stat_data *cs, const char *options, char **errstring) argument 1411 cfga_list( const char *ap_id, cfga_stat_data_t **ap_list, int *nlist, const char *options, char **errstring) argument 1430 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument 1494 process_options( const char *options, struct opt_control *opts, int *retp, char **errstring) argument [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/ |
H A D | cfga.c | 163 static cfga_err_t check_options(const char *options); 580 const char *options, struct cfga_confirm *confp, 591 if ((rv = check_options(options)) != CFGA_OK) { 1004 const char *options, struct cfga_confirm *confp, 1016 DBG(2, (" options: %s\n", (options == NULL)?"null":options)); 1021 if ((rv = check_options(options)) != CFGA_OK) { 1139 cfga_err_t cfga_test(const char *ap_id, const char *options, argument 1146 if ((rv = check_options(options)) ! 579 cfga_change_state(cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1003 cfga_private_func(const char *function, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument 1499 cfga_list_ext(const char *ap_id, cfga_list_data_t **cs, int *nlist, const char *options, const char *listopts, char **errstring, cfga_flags_t flags) argument 1722 check_options(const char *options) argument 1736 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) argument [all...] |
/illumos-gate/usr/src/cmd/raidctl/ |
H A D | raidctl.c | 227 uint64_t options = 0; local 286 options |= LOWER_H; 296 options |= UPPER_C; 305 options |= LOWER_C; 314 options |= LOWER_D; 323 options |= LOWER_L; 333 options |= UPPER_F; 343 options |= LOWER_A; 353 options |= LOWER_P; 361 options | [all...] |
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | ip_rcm.c | 97 /* Network Cache lookup options */ 958 cache_lookup(rcm_handle_t *hd, char *rsrc, char options) argument 964 if ((options & CACHE_REFRESH) && (hd != NULL)) { 1562 * Save off the modlist, ifconfig options and unplumb. 1611 * all ifconfig options
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | pppd.h | 230 * Variables set by command-line options. 319 #define PHASE_INITIALIZED 2 /* options ok; entering main loop */ 369 option_t *options; /* List of command-line options */ member in struct:protent 370 /* Check requested options, assign defaults */ 382 * options, such as where the option value came from (/etc/ppp/options, 483 /* check authentication options supplied */ 512 extern void mp_check_options __P((void)); /* Check multilink-related options */ 520 extern int sys_check_options __P((void)); /* Check options specifie [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | telnet.c | 72 /* Buffer for sub-options */ 88 char options[SUBBUFSIZE]; /* The combined options */ variable 214 ClearArray(options); 563 * Handle options that need more things done after the
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute.c | 159 static int options = 0; /* socket options */ variable 310 options |= SO_DEBUG; 434 options |= SO_DONTROUTE; 489 if ((gw_count > 0) && (options & SO_DONTROUTE)) { 762 int optlen; /* length of ip options */ 773 * IP options field can hold up to 9 gateways. But the API 1237 if (options & SO_DEBUG) { 1245 if (options & SO_DONTROUTE) { 1283 * request packet. However for convenience and for future options [all...] |
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | rdr_messages.c | 316 static int find_options_sizes(char *options, 380 * options. 417 /* set the user specified socket options */ 1073 if (cparam->options != NULL) { 1074 free((void *)cparam->options); 1075 cparam->options = NULL; 1096 if (pparam->options != NULL) { 1097 free((void *)pparam->options); 1098 pparam->options = NULL; 1119 if (tparam->options ! 4261 find_options_sizes(char *options, rdr_variable_message_info_t *var_msg_info) argument [all...] |
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/ |
H A D | commands.c | 709 chk_opt(struct options *optlistp, int security, char *proto) 711 struct options *optlist; 766 free_opt(struct options *optlist) 768 struct options *nextopt; 781 valid_options(sa_handle_t handle, struct options *optlist, char *proto, 785 struct options *cur; 816 * Add the options in optlist to an optionset and then add the optionset 823 add_optionset(sa_group_t group, struct options *optlist, char *proto, int *err) 1195 struct options *optlist = NULL; 1326 /* check options, i 5431 char *options = NULL; local 5718 char *options = NULL; local [all...] |