/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | RequestHandler.java | 52 private SLPConfig config; // Config for system properties. field in RequestHandler 76 config = config_in; in RequestHandler() 80 clientAddr = config.getLoopback(); in RequestHandler() 106 config = config_in; in RequestHandler() 136 config = config_in; in RequestHandler() 266 if (config.traceDrop()) { in run() 267 config.writeLog("rh_rqst_in_progress", in run() 302 if (config.traceDrop()) { in run() 303 config.writeLog("rh_datagram_ioe", in run() 378 config.writeLog("sa_forwarding_exception", in handleStream() [all …]
|
H A D | ActiveDiscoverer.java | 52 static private SLPConfig config = null; field in ActiveDiscoverer 89 if (config == null) { in ActiveDiscoverer() 90 config = SLPConfig.getSLPConfig(); in ActiveDiscoverer() 103 long sleepyTime = config.getRandomWait(); in start() 109 activeMsg = new CSrvMsg(config.getLocale(), in start() 131 if (config.getActiveDiscoveryInterval() > 0) { in start() 145 config.writeLog("ad_active_off", in start() 167 long sleepyTime = config.getActiveDiscoveryInterval() * 1000; in run() 181 if (config.isDA()) { in run() 182 Vector interfaces = config.getInterfaces(); in run() [all …]
|
H A D | Transact.java | 53 protected static SLPConfig config = null; field in Transact 126 config.getMulticastTimeouts(), in transactUA() 127 config.getMaximumResults(), in transactUA() 148 config.getMaximumResults()); in transactUA() 228 if (config == null) { in transactUnicastMsg() 229 config = SLPConfig.getSLPConfig(); in transactUnicastMsg() 269 if (config.traceDATraffic()) { in transactUnicastMsg() 270 config.writeLog("sending_da_trace", in transactUnicastMsg() 288 if (config.traceDATraffic()) { in transactUnicastMsg() 289 config.writeLog("reply_da_trace", in transactUnicastMsg() [all …]
|
H A D | slpd.java | 218 private static SLPConfig config; // handles system properties field in slpd 312 config = initializeSLPConfig(); in main() 322 synchronized (config) { in main() 323 config.log = log; in main() 379 new RequestHandler(System.in, System.out, config); in start() 387 config.getLoopback()); in start() 406 Vector interfaces = config.getInterfaces(); in start() 425 if (config.isDA()) { in start() 427 config.getLocalHost()); in start() 434 Vector serverScopes = config.getSAConfiguredScopes(); in start() [all …]
|
H A D | SLPV1Manager.java | 137 useScopes = config.getSAConfiguredScopes(); in initialize() 152 hdr.locale = config.getLocale(); in getOutbuf() 158 config); in getOutbuf() 198 start(SLPConfig config, ServerDATable table, ServiceTable stable) { in start() argument 203 if (config.getHasSecurity()) { in start() 205 if (config.regTest() || in start() 206 config.traceMsg() || in start() 207 config.traceDrop() || in start() 208 config.traceDATraffic()) { in start() 210 config.writeLog("v1_security_enabled", in start() [all …]
|
H A D | DAAdvertiser.java | 61 static protected SLPConfig config = null; // Config object. field in DAAdvertiser 81 if (config == null) { in initializeDAAdvertiserOnInterface() 82 config = SLPConfig.getSLPConfig(); in initializeDAAdvertiserOnInterface() 93 config.getLocale()); in initializeDAAdvertiserOnInterface() 99 config.getSAConfiguredScopes(), in initializeDAAdvertiserOnInterface() 100 config); in initializeDAAdvertiserOnInterface() 117 if (config == null) { in DAAdvertiser() 118 config = SLPConfig.getSLPConfig(); in DAAdvertiser() 133 if (config == null) { in DAAdvertiser() 134 config = SLPConfig.getSLPConfig(); in DAAdvertiser() [all …]
|
H A D | Listener.java | 63 static private SLPConfig config = null; // Config object for properties field in Listener 84 if (config == null) { in initializeInterfaceManagers() 85 config = SLPConfig.getSLPConfig(); in initializeInterfaceManagers() 171 return config.refreshMulticastSocketOnInterface(interfac, null); in refreshSocketOnInterface() 178 config.refreshMulticastSocketOnInterface(interfac, in refreshSocketOnInterface() 191 this.pktsize = config.getMTU(); in Listener() 197 this.dss = config.getMulticastSocketOnInterface(interfac, false); in Listener() 206 addListenerToMulticastGroup(interfac, config.getMulticastAddress()); in Listener() 218 if (config.isBroadcastOnly()) { in run() 239 if (config.traceMsg()) { in run() [all …]
|
H A D | StreamListener.java | 54 static private SLPConfig config = null; // Config object field in StreamListener 71 if (config == null) { in initializeStreamListenerOnInterface() 72 config = SLPConfig.getSLPConfig(); in initializeStreamListenerOnInterface() 89 int qn = config.getServerSocketQueueLength(); in StreamListener() 131 if (config.traceMsg() && s != null) { in run() 132 config.writeLog("sl_incoming", in run() 141 s.setSoTimeout(config.getTCPTimeout()); in run() 146 if (config.traceMsg()) { in run() 147 config.writeLog("sl_sock_timeout", in run() 168 RequestHandler rh = new RequestHandler(s, interfac, config); in run()
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hpi_vmac.c | 64 hpi_vmac_tx_config(hpi_handle_t handle, config_op_t op, uint64_t config, in hpi_vmac_tx_config() argument 69 if (config == 0) { in hpi_vmac_tx_config() 72 config)); in hpi_vmac_tx_config() 80 if (config & CFG_VMAC_TX_EN) in hpi_vmac_tx_config() 82 if (config & CFG_VMAC_TX_CRC_INSERT) in hpi_vmac_tx_config() 84 if (config & CFG_VMAC_TX_PAD) in hpi_vmac_tx_config() 90 if (config & CFG_VMAC_TX_EN) in hpi_vmac_tx_config() 92 if (config & CFG_VMAC_TX_CRC_INSERT) in hpi_vmac_tx_config() 94 if (config & CFG_VMAC_TX_PAD) in hpi_vmac_tx_config() 98 if (config & CFG_VMAC_TX_EN) in hpi_vmac_tx_config() [all …]
|
H A D | hpi_pfc.c | 171 hpi_pfc_set_config(hpi_handle_t handle, pfc_config_t config) in hpi_pfc_set_config() argument 176 REG_PIO_WRITE64(handle, offset, config.value); in hpi_pfc_set_config() 195 pfc_config_t config; in hpi_pfc_set_tcam_enable() local 200 (void) hpi_pfc_get_config(handle, &config); in hpi_pfc_set_tcam_enable() 203 config.bits.tcam_en = 1; in hpi_pfc_set_tcam_enable() 205 config.bits.tcam_en = 0; in hpi_pfc_set_tcam_enable() 207 return (hpi_pfc_set_config(handle, config)); in hpi_pfc_set_tcam_enable() 213 pfc_config_t config; in hpi_pfc_set_l2_hash() local 218 (void) hpi_pfc_get_config(handle, &config); in hpi_pfc_set_l2_hash() 221 config.bits.l2_hash_en = 1; in hpi_pfc_set_l2_hash() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | config.h | 53 struct config *cooked; 60 void structconfig_free(struct config *cp); 66 struct config *config_lookup(struct config *croot, char *path, int add); 67 struct config *config_next(struct config *cp); 68 struct config *config_child(struct config *cp); 69 struct config *config_parent(struct config *cp); 71 const char *config_getprop(struct config *cp, const char *name); 72 void config_setprop(struct config *cp, const char *name, const char *val); 73 void config_getcompname(struct config *cp, char **name, int *inst); 75 int config_is_connected(struct node *np, struct config *croot, [all …]
|
H A D | config.c | 62 static struct config * 65 struct config *retval; in newcnode() 67 retval = MALLOC(sizeof (struct config)); in newcnode() 84 config_node_cache(struct cfgdata *cdata, struct config *n) in config_node_cache() 95 struct config * 96 config_lookup(struct config *croot, char *path, int add) in config_lookup() 99 struct config *parent = croot; in config_lookup() 100 struct config *cp; in config_lookup() 101 struct config *lastcp; in config_lookup() 102 struct config *newnode; in config_lookup() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfslog_config.c | 380 nfsl_config_t *config; in create_config() local 382 config = calloc(1, sizeof (*config)); in create_config() 383 if (config == NULL) { in create_config() 388 *error = update_config(config, tag, defaultdir, bufferpath, rpclogpath, in create_config() 391 free(config); in create_config() 395 config->nc_flags &= ~NC_UPDATED; /* This is a new entry */ in create_config() 397 return (config); in create_config() 414 nfsl_config_t *config, in update_config() argument 445 if (config->nc_name == NULL) { in update_config() 449 if ((config->nc_name = strdup(tag)) == NULL) { in update_config() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | gptwocfg.c | 232 gptwocfg_config_t *config; in gptwocfg_configure() local 242 config = gptwo_config_list; in gptwocfg_configure() 243 while (config != NULL) { in gptwocfg_configure() 244 if (config->gptwo_portid == id) { in gptwocfg_configure() 250 config = config->gptwo_next; in gptwocfg_configure() 301 config = kmem_zalloc(sizeof (gptwocfg_config_t), KM_SLEEP); in gptwocfg_configure() 302 config->gptwo_version = GP2_VERSION; in gptwocfg_configure() 303 config->gptwo_ap = ap; in gptwocfg_configure() 304 config->gptwo_portid = id; in gptwocfg_configure() 305 config->gptwo_nodes = new_nodes; in gptwocfg_configure() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/zfs/fstyp/ |
H A D | fstyp.c | 48 nvlist_t *config; member 79 if (h->config != NULL) { in fstyp_mod_fini() 80 nvlist_free(h->config); in fstyp_mod_fini() 95 if (zpool_read_label(h->fd, &h->config, &num_labels) != 0) { in fstyp_mod_ident() 104 if (nvlist_lookup_uint64(h->config, ZPOOL_CONFIG_POOL_STATE, in fstyp_mod_ident() 106 nvlist_free(h->config); in fstyp_mod_ident() 107 h->config = NULL; in fstyp_mod_ident() 112 (void) nvlist_add_boolean_value(h->config, "gen_clean", B_TRUE); in fstyp_mod_ident() 113 if (nvlist_lookup_uint64(h->config, "guid", &u64) == 0) { in fstyp_mod_ident() 115 (void) nvlist_add_string(h->config, "gen_guid", buf); in fstyp_mod_ident() [all …]
|
/illumos-gate/usr/src/lib/libwrap/ |
H A D | tli.c | 83 if ((request->config = tli_transport(request->fd)) != 0 84 && (STR_EQ(request->config->nc_protofmly, "inet") 86 || STR_EQ(request->config->nc_protofmly, "inet6") 117 if (request->config != 0) 118 freenetconfigent(request->config); 187 struct netconfig *config; local 203 while (config = getnetconfig(handlep)) { 204 if (stat(config->nc_device, &from_config) == 0) { 211 if (config == 0) { 221 if ((config = getnetconfigent(config->nc_netid)) == 0) { [all …]
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | config_elf.c | 41 Config *config = &_config; variable 50 const char *str, *strtbl = config->c_strtbl; in elf_config_validate() 87 MSG_INTL(MSG_CONF_APP), config->c_name, in elf_config_validate() 135 config->c_name, str, strerror(err)); in elf_config_validate() 161 MSG_INTL(MSG_CONF_FSTAT), config->c_name, in elf_config_validate() 172 MSG_INTL(MSG_CONF_FCMP), config->c_name, in elf_config_validate() 220 str = config->c_name; in elf_config() 260 config->c_name = str; in elf_config() 300 config->c_bgn = addr; in elf_config() 301 config->c_end = addr + status.st_size; in elf_config() [all …]
|
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_mac.c | 1798 xmac_xif_config_t config) in npi_xmac_xif_config() argument 1807 ASSERT((config != 0) && ((config & ~CFG_XMAC_XIF_ALL) == 0)); in npi_xmac_xif_config() 1808 if ((config == 0) || (config & ~CFG_XMAC_XIF_ALL) != 0) { in npi_xmac_xif_config() 1812 " config <0x%x>", config)); in npi_xmac_xif_config() 1817 if (config & CFG_XMAC_XIF_LED_FORCE) in npi_xmac_xif_config() 1819 if (config & CFG_XMAC_XIF_LED_POLARITY) in npi_xmac_xif_config() 1821 if (config & CFG_XMAC_XIF_SEL_POR_CLK_SRC) in npi_xmac_xif_config() 1823 if (config & CFG_XMAC_XIF_TX_OUTPUT) in npi_xmac_xif_config() 1826 if (config & CFG_XMAC_XIF_LOOPBACK) { in npi_xmac_xif_config() 1831 if (config & CFG_XMAC_XIF_LFS) in npi_xmac_xif_config() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa_config.c | 348 spa_config_set(spa_t *spa, nvlist_t *config) in spa_config_set() argument 351 if (spa->spa_config != NULL && spa->spa_config != config) in spa_config_set() 353 spa->spa_config = config; in spa_config_set() 366 nvlist_t *config, *nvroot; in spa_config_generate() local 405 config = fnvlist_alloc(); in spa_config_generate() 407 fnvlist_add_uint64(config, ZPOOL_CONFIG_VERSION, spa_version(spa)); in spa_config_generate() 408 fnvlist_add_string(config, ZPOOL_CONFIG_POOL_NAME, pool_name); in spa_config_generate() 409 fnvlist_add_uint64(config, ZPOOL_CONFIG_POOL_STATE, spa_state(spa)); in spa_config_generate() 410 fnvlist_add_uint64(config, ZPOOL_CONFIG_POOL_TXG, txg); in spa_config_generate() 411 fnvlist_add_uint64(config, ZPOOL_CONFIG_POOL_GUID, spa_guid(spa)); in spa_config_generate() [all …]
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | clnt_gen.c | 74 struct knetconfig *config, in clnt_tli_kcreate() argument 92 RPCLOG(8, ", knc_semantics %d", config->knc_semantics); in clnt_tli_kcreate() 93 RPCLOG(8, ", knc_protofmly %s", config->knc_protofmly); in clnt_tli_kcreate() 94 RPCLOG(8, ", knc_proto %s\n", config->knc_proto); in clnt_tli_kcreate() 96 if (config == NULL || config->knc_protofmly == NULL || ncl == NULL) { in clnt_tli_kcreate() 101 switch (config->knc_semantics) { in clnt_tli_kcreate() 104 error = clnt_clts_kcreate(config, svcaddr, prog, vers, in clnt_tli_kcreate() 117 if (strcmp(config->knc_protofmly, NC_INET) == 0) in clnt_tli_kcreate() 119 else if (strcmp(config->knc_protofmly, NC_INET6) == 0) in clnt_tli_kcreate() 121 error = clnt_cots_kcreate(config->knc_rdev, svcaddr, family, in clnt_tli_kcreate() [all …]
|
/illumos-gate/usr/src/lib/libzutil/common/ |
H A D | zutil_import.c | 294 int order, int num_labels, nvlist_t *config) in add_config() argument 307 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in add_config() 310 nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, &vdev_guid) == 0) { in add_config() 334 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, in add_config() 336 nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, in add_config() 338 nvlist_lookup_uint64(config, ZPOOL_CONFIG_TOP_GUID, in add_config() 340 nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_TXG, in add_config() 396 ce->ce_config = fnvlist_dup(config); in add_config() 475 nvlist_t *ret = NULL, *config = NULL, *tmp = NULL, *nvtop, *nvroot; in get_configs() local 499 if (nvlist_alloc(&config, NV_UNIQUE_NAME, 0) != 0) in get_configs() [all …]
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_import.c | 96 refresh_config(libzfs_handle_t *hdl, nvlist_t *config) in refresh_config() argument 102 if (zcmd_write_conf_nvlist(hdl, &zc, config) != 0) in refresh_config() 186 nvlist_t *config; in zpool_clear_label() local 194 sizeof (label->vl_vdev_phys.vp_nvlist), &config, 0) != 0) { in zpool_clear_label() 199 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, in zpool_clear_label() 201 nvlist_free(config); in zpool_clear_label() 206 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in zpool_clear_label() 208 nvlist_free(config); in zpool_clear_label() 214 if (nvlist_lookup_uint64(config, in zpool_clear_label() 221 nvlist_free(config); in zpool_clear_label() [all …]
|
H A D | libzfs_status.c | 202 check_status(nvlist_t *config, boolean_t isimport, zpool_errata_t *erratap) in check_status() argument 216 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_VERSION, in check_status() 218 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in check_status() 222 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in check_status() 242 nvinfo = fnvlist_lookup_nvlist(config, ZPOOL_CONFIG_LOAD_INFO); in check_status() 257 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_HOSTID, &hostid); in check_status() 276 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_LOAD_INFO, in check_status() 293 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_SUSPENDED, in check_status() 297 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_SUSPENDED_REASON, in check_status() 340 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_ERRCOUNT, in check_status() [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/ |
H A D | tweakfld.awk | 163 if(config !~ /HXDA/) { 224 config = "BND" 229 config = "HRMA" 239 config = "HRMA/" grating 245 config = config "/" detsys 248 config = config "/HXDA" 256 add2output( config ) 264 if(config in mnemonic) { 266 ID = mnemonic[config] "-" mnemonic[type] "-" suite "." itm 272 error(config, "measurement configuration not in list") [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_upgrade/ |
H A D | zpool_upgrade_004_pos.ksh | 48 for config in $CONFIGS; do 49 destroy_upgraded_pool $config 58 for config in $CONFIGS; do 59 typeset -n pool_name=ZPOOL_VERSION_${config}_NAME 62 create_old_pool $config 72 for config in $CONFIGS ; do 73 typeset -n pool_name=ZPOOL_VERSION_${config}_NAME 80 destroy_upgraded_pool $config
|