/illumos-gate/usr/src/uts/common/rpc/ |
H A D | clnt_clts.c | 311 clnt_clts_kcreate(struct knetconfig *config, struct netbuf *addr, argument 356 p->cku_config.knc_rdev = config->knc_rdev; 357 p->cku_config.knc_semantics = config->knc_semantics; 358 plen = strlen(config->knc_protofmly) + 1; 360 bcopy(config->knc_protofmly, p->cku_config.knc_protofmly, plen); 1248 endpnt_type_create(struct knetconfig *config) argument 1262 (void) strncpy(etype->e_protofmly, config->knc_protofmly, KNC_STRSIZE); 1265 etype->e_rdev = config->knc_rdev; 1385 endpnt_get(struct knetconfig *config, int useresvport) argument 1400 RPCLOG(1, "endpnt_get: protofmly %s, ", config [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_import.c | 39 * examined every device, we pick the best label txg config for each toplevel 40 * vdev. We then arrange these toplevel vdevs into a complete pool config, and 42 * using our derived config, and record the results. 216 nvlist_t *config) 229 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, 232 nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, &vdev_guid) == 0) { 247 * If we have a valid config but cannot read any of these fields, then 254 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, 256 nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, 258 nvlist_lookup_uint64(config, ZPOOL_CONFIG_TOP_GUI 215 add_config(libzfs_handle_t *hdl, pool_list_t *pl, const char *path, nvlist_t *config) argument 376 refresh_config(libzfs_handle_t *hdl, nvlist_t *config) argument 441 nvlist_t *ret = NULL, *config = NULL, *tmp = NULL, *nvtop, *nvroot; local 867 zpool_read_label(int fd, nvlist_t **config) argument 1041 nvlist_t *config; local 1232 nvlist_t *config = slice->rn_config; local 1529 nvlist_t *config; local [all...] |
H A D | libzfs_pool.c | 51 static int read_efi_label(nvlist_t *config, diskaddr_t *sb); 150 * vdev's guid then get it from the zhp config nvlist. 1427 nvlist_t *config) 1435 if (!hdl->libzfs_printerr || config == NULL) 1438 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_LOAD_INFO, &nv) != 0 || 1478 nvlist_t *config) 1496 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_LOAD_INFO, &nv) != 0 || 1562 zpool_import(libzfs_handle_t *hdl, nvlist_t *config, const char *newname, argument 1586 ret = zpool_import_props(hdl, config, newname, props, 1620 zpool_print_unsup_feat(nvlist_t *config) argument 1426 zpool_rewind_exclaim(libzfs_handle_t *hdl, const char *name, boolean_t dryrun, nvlist_t *config) argument 1477 zpool_explain_recover(libzfs_handle_t *hdl, const char *name, int reason, nvlist_t *config) argument 1650 zpool_import_props(libzfs_handle_t *hdl, nvlist_t *config, const char *newname, nvlist_t *props, int flags) argument 2212 vdev_get_one_physpath(nvlist_t *config, char *physpath, size_t physpath_size, size_t *bytes_written) argument 2297 zpool_get_config_physpath(nvlist_t *config, char *physpath, size_t phypath_size) argument 2865 nvlist_t *tree, *config, **child, **newchild, *newconfig = NULL; local 3813 read_efi_label(nvlist_t *config, diskaddr_t *sb) argument 3843 find_start_block(nvlist_t *config) argument 3979 supported_dump_vdev_type(libzfs_handle_t *hdl, nvlist_t *config, char *errbuf) argument 4016 nvlist_t *config, *nvroot; local [all...] |
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_eeprom.c | 2633 uint8_t index, uint16_t *config) 2643 *config = pModal->antCtrlCommon & 0xFFFF; 2648 *config = 2666 uint8_t index, uint16_t *config) 2674 *config = pModal->antCtrlCommon & 0xFFFF; 2686 uint8_t index, uint16_t *config) 2693 index, config); 2696 index, config); 2631 ath9k_hw_get_def_eeprom_antenna_cfg(struct ath_hal *ah, struct ath9k_channel *chan, uint8_t index, uint16_t *config) argument 2664 ath9k_hw_get_4k_eeprom_antenna_cfg(struct ath_hal *ah, struct ath9k_channel *chan, uint8_t index, uint16_t *config) argument 2684 ath9k_hw_get_eeprom_antenna_cfg(struct ath_hal *ah, struct ath9k_channel *chan, uint8_t index, uint16_t *config) argument
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | nss_common.c | 129 struct __nsw_switchconfig_v1 *config; member in struct:nss_db_state 130 int max_src; /* is == config->num_lookups */ 181 /* === the config info hasn't changed (by comparing version numbers) */ 275 * A config parameters are in the form component:parameter 297 /* compare config name (component:parameter) to a component name */ 876 struct __nsw_switchconfig_v1 *config = 0; local 904 config = __nsw_getconfig_v1(config_name, &err); 907 if (config == 0) { 908 /* getconfig failed, or frontend demanded default config */ 913 config [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa_misc.c | 89 * This protects the spa_t from config changes, and must be held in 93 * - RW_WRITER to change the vdev config 105 * the config lock. 109 * The namespace lock must always be taken before the config lock. 155 * We use these distinct config locks to avoid recursive lock entry. 160 * The spa config locks cannot be normal rwlocks because we need the 170 * add/remove/attach/detach. Protects the dirty config list 207 * or zio_write_phys() -- the caller must ensure that the config cannot 213 * spa_vdev_enter() Acquire the namespace lock and the config lock 216 * spa_vdev_exit() Release the config loc 550 spa_add(const char *name, nvlist_t *config, const char *altroot) argument [all...] |
H A D | spa.c | 148 static int spa_load_impl(spa_t *spa, uint64_t, nvlist_t *config, 313 * Get properties from the spa config. 485 * Make sure the vdev config is bootable 1634 * Validate the current config against the MOS config 1637 spa_config_valid(spa_t *spa, nvlist_t *config) argument 1642 VERIFY(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, &nv) == 0); 1651 * diagnostic information about missing devices in this config. 1688 * from the MOS config (mrvd). Check each top-level vdev 1689 * with the corresponding MOS config to 2054 spa_try_repair(spa_t *spa, nvlist_t *config) argument 2123 nvlist_t *config = spa->spa_config; local 2222 spa_load_impl(spa_t *spa, uint64_t pool_guid, nvlist_t *config, spa_load_state_t state, spa_import_type_t type, boolean_t mosconfig, char **ereport) argument 2956 nvlist_t *config = NULL; local 3050 spa_open_common(const char *pool, spa_t **spapp, void *tag, nvlist_t *nvpolicy, nvlist_t **config) argument 3160 spa_open_rewind(const char *name, spa_t **spapp, void *tag, nvlist_t *policy, nvlist_t **config) argument 3204 spa_add_spares(spa_t *spa, nvlist_t *config) argument 3253 spa_add_l2cache(spa_t *spa, nvlist_t *config) argument 3305 spa_add_feature_stats(spa_t *spa, nvlist_t *config) argument 3346 spa_get_stats(const char *name, nvlist_t **config, char *altroot, size_t buflen) argument 3420 spa_validate_aux_devs(spa_t *spa, nvlist_t *nvroot, uint64_t crtxg, int mode, spa_aux_vdev_t *sav, const char *config, uint64_t version, vdev_labeltype_t label) argument 3519 spa_set_aux_vdevs(spa_aux_vdev_t *sav, nvlist_t **devs, int ndevs, const char *config) argument 3848 nvlist_t *config; local 3934 nvlist_t *config, *nvtop; local 4045 spa_import(const char *pool, nvlist_t *config, nvlist_t *props, uint64_t flags) argument 4231 nvlist_t *config = NULL; local 5026 spa_vdev_split_mirror(spa_t *spa, char *newname, nvlist_t *config, nvlist_t *props, boolean_t exp) argument 5334 spa_vdev_remove_aux(nvlist_t *config, char *name, nvlist_t **dev, int count, nvlist_t *dev_to_remove) argument 6075 spa_sync_aux_dev(spa_t *spa, spa_aux_vdev_t *sav, dmu_tx_t *tx, const char *config, const char *entry) argument 6144 nvlist_t *config; local [all...] |
/illumos-gate/usr/src/cmd/avs/dsw/ |
H A D | iiadm.c | 97 #define MAX_LINE_SIZE 256 /* maximum characters per line in config file */ 547 /* preload the ii config */ 910 dsw_config_t config; local 917 conf = &config; 941 /* perform action for each line of the stored config file */ 1018 dsw_error(gettext("Unable to parse config file"), NULL); 1846 dsw_error(gettext("Unable to parse config file"), NULL); 1856 dsw_error(gettext("Unable to parse config file"), NULL); 1940 "Unable to parse config " 1947 * Copy cluster name into config [all...] |
/illumos-gate/usr/src/cmd/iscsiadm/ |
H A D | iscsiadm_main.c | 332 {"static-config", STATIC_CONFIG}, 2171 * many times for each static config detail, otherwise, execute it only 3551 SUN_IMA_RADIUS_CONFIG config; local 3558 (void) memset(&config, 0, sizeof (SUN_IMA_RADIUS_CONFIG)); 3560 &config.hostnameIpAddress[0], SUN_IMA_IP_ADDRESS_PORT_LEN, 3565 config.port = (IMA_UINT16)port; 3566 config.isIpv6 = (isIpv6 == B_TRUE) ? IMA_TRUE : IMA_FALSE; 3568 config.sharedSecretValid = IMA_FALSE; 3570 status = SUN_IMA_SetInitiatorRadiusConfig(oid, &config); 4309 * Format of static config operan [all...] |
/illumos-gate/usr/src/uts/common/io/audio/drv/audiohd/ |
H A D | audiohd.c | 635 color = (pin->config >> AUDIOHD_PIN_CLR_OFF) & 709 if (((pin->config >> 1200 clr = (pin->config >> AUDIOHD_PIN_CLR_OFF) & 1907 color = (pin->config >> AUDIOHD_PIN_CLR_OFF) & 2121 "pci config mapping failed"); 2679 uint32_t cap, config, pinctrl; local 2684 config = audioha_codec_verb_get(statep, caddr, 2696 if (((config >> AUDIOHD_PIN_CON_STEP) & AUDIOHD_PIN_CON_MASK) == 0x1) { 2704 pin->config = config; [all...] |
H A D | audiohd.h | 742 uint32_t config; member in struct:audiohd_pin
|
/illumos-gate/usr/src/uts/common/io/hme/ |
H A D | hme_mac.h | 109 uint_t config; /* Global Configuration Register */ member in struct:hme_global 257 uint_t config; /* ETX Configuration Register */ member in struct:hme_etx 325 uint_t config; /* ERX Configuration Register */ member in struct:hme_erx
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | pcic.c | 732 "pci-config-reg-number", pci_config_reg_num); 843 /* usually need to get at config space so map first */ 856 "pcic%d: unable to map config space" 921 * config space. 941 * PCI bus config space. 972 * config space. 2194 /* The 82092 uses PCI config space to enable interrupts */ 2534 pcic_inquire_adapter(dev_info_t *dip, inquire_adapter_t *config) argument 2539 config->NumSockets = pcic->pc_numsockets; 2540 config [all...] |
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_82575.h | 70 } config; member in union:e1000_adv_data_desc::__anon103
|
/illumos-gate/usr/src/lib/libsqlite/tool/ |
H A D | lemon.c | 58 struct config *Configlist_add(/* struct rule *, int */); 59 struct config *Configlist_addbasis(/* struct rule *, int */); 63 struct config *Configlist_return(/* void */); 64 struct config *Configlist_basis(/* void */); 65 void Configlist_eat(/* struct config * */); 90 void Plink_add(/* struct plink **, struct config * */); 171 struct config { struct 182 struct config *next; /* Next configuration in the state */ 183 struct config *bp; /* The next basis configuration */ 210 struct config *b [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/ |
H A D | piclfrudr.c | 88 #define PARSE_CONF_FAIL gettext("parse config file %s failed") 2392 raid_ok2rem_policy(raid_config_t config, int target) argument 2396 for (i = 0; i < config.ndisks; i++) { 2397 int d = config.disk[i]; 2398 int dstatus = config.diskstatus[i]; 2439 raid_config_t config; local 2475 config.unitid = i; 2476 if (ioctl(fd, RAID_GETCONFIG, &config)) { 2480 if (raid_ok2rem_policy(config, target)) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | zlib.c | 502 } config; typedef in typeref:struct:config_s 504 local config configuration_table[10] = {
|
/illumos-gate/usr/src/uts/common/pcmcia/nexus/ |
H A D | pcmcia.c | 2615 * I/O cards are required to have a config tuple. 2657 * attribute memory. device for common. Then config 2720 cistpl_config_t config; local 2734 &tuple, &config) != CS_SUCCESS) { 2812 if (config.last == cftable.index) 2916 cistpl_config_t config; local 2930 cmn_err(CE_CONT, "pcmcia_need_intr: have config tuple\n"); 2933 bzero(&config, sizeof (config)); 2935 &tuple, &config) ! [all...] |
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | pcicfg.c | 194 * bridge, hence load the driver and avail the config map services from 224 * 2 = dump generic debug data only (no config header dumped) 578 uint32_t config; local 582 config = PCI_CAP_GET32(handle, NULL, cap_ptr, 584 num_slots = config & 0x1F; 920 * If we need to do indirect config, lets create a property here 1446 "pcicfg: cannot map config space, to get map type\n"); 1814 DEBUG0("Failed to map config space!\n"); 1892 DEBUG0("Failed to map config space!\n"); 2094 DEBUG0("Failed to map config spac 6354 pci_regspec_t config; local 6557 pci_regspec_t config; local [all...] |
/illumos-gate/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas.c | 514 dev_err(dip, CE_WARN, "pci config setup failed"); 7481 int config; local 7487 con_log(CL_ANN1, (CE_NOTE, "Bus config called for op = %x", op)); 7495 ndi_devi_enter(parent, &config); 7538 ndi_devi_exit(parent, config);
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | fme.c | 53 #include "config.h" 83 struct config *config; /* cooked configuration data */ member in struct:fme 210 out(O_ALTFP|O_VERB2, "newfme: config snapshot contains..."); 211 config_print(O_ALTFP|O_VERB2, fmep->config); 365 * Next run a quick first pass of the rules with a dummy config. This 403 Nfmep->config = cfgdata->cooked; 414 if ((Nfmep->eventtree = itree_create(Nfmep->config)) == NULL) { 420 structconfig_free(Nfmep->config); 437 structconfig_free(Nfmep->config); [all...] |
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_main.c | 501 nvlist_t *config; local 540 if ((config = zpool_get_config(zhp, NULL)) == NULL) { 558 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, 642 nvlist_t *config; local 701 if (zpool_read_label(fd, &config) != 0 || config == NULL) { 706 nvlist_free(config); 1301 nvlist_t *config, *nvroot; local 1303 config = zpool_get_config(zhp, NULL); 1304 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TRE 1603 show_import(nvlist_t *config) argument 1830 do_import(nvlist_t *config, const char *newname, const char *mntopts, nvlist_t *props, int flags) argument 1960 nvlist_t *config; local 2533 nvlist_t *config, *nvroot; local 3056 nvlist_t *config; local 3380 nvlist_t *config, *props = NULL; local 4061 print_dedup_stats(nvlist_t *config) argument 4115 nvlist_t *config, *nvroot; local 4190 zpool_get_name(zhp), reason, config); local 4245 zpool_get_name(zhp), reason, config); local 4516 nvlist_t *config; local 4585 nvlist_t *config; local 4636 nvlist_t *config; local 4669 nvlist_t *config; local [all...] |
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_common.c | 1656 * @config: structure with PHY configuration to be set 1660 * supported on the Port.One or more of the Set PHY config parameters may be 1666 struct i40e_aq_set_phy_config *config, 1674 if (!config) 1680 *cmd = *config; 1698 struct i40e_aq_set_phy_config config; local 1719 /* Get the current phy config */ 1727 memset(&config, 0, sizeof(config)); 1729 config 1665 i40e_aq_set_phy_config(struct i40e_hw *hw, struct i40e_aq_set_phy_config *config, struct i40e_asq_cmd_details *cmd_details) argument [all...] |
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 123 "[-U config] [-I inflight I/Os] [-x dumpdir] [-o var=value] " 125 " %s [-divPA] [-e -p path...] [-U config] dataset " 127 " %s -mM [-LXFPA] [-t txg] [-e [-p path...]] [-U config] " 131 " %s -S [-PA] [-e [-p path...]] [-U config] poolname\n" 133 " %s -C [-A] [-U config]\n\n", 146 (void) fprintf(stderr, " -C config (or cachefile if alone)\n"); 2078 nvlist_t *config; local 2106 if (nvlist_unpack(buf, statbuf.st_size, &config, 0) != 0) { 2113 dump_nvlist(config, 0); 2115 nvlist_free(config); 2188 nvlist_t *config = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ |
H A D | ecore_sp_verbs.c | 1312 u8 *mac, u16 vlan_id, int opcode, struct mac_configuration_cmd *config) 1314 struct mac_configuration_entry *cfg_entry = &config->config_table[0]; 1318 &config->hdr); 1342 struct mac_configuration_cmd *config = local 1351 mm_memset(config, 0, sizeof(*config)); 1356 ETH_VLAN_FILTER_ANY_VLAN, config); 1481 struct mac_configuration_cmd *config = local 1490 mm_memset(config, 0, sizeof(*config)); 1310 ecore_vlan_mac_set_rdata_e1x(struct _lm_device_t *pdev, struct ecore_vlan_mac_obj *o, int type, int cam_offset, BOOL add, u8 *mac, u16 vlan_id, int opcode, struct mac_configuration_cmd *config) argument [all...] |