/titanic_41/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 | 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 | 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 | 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()
|
/titanic_41/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 …]
|
/titanic_41/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 …]
|
/titanic_41/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfslog_config.c | 375 nfsl_config_t *config; in create_config() local 377 if ((config = (nfsl_config_t *)malloc(sizeof (*config))) == NULL) { in create_config() 381 (void) memset((void *)config, 0, sizeof (*config)); in create_config() 383 *error = update_config(config, tag, defaultdir, bufferpath, rpclogpath, in create_config() 386 free(config); in create_config() 390 config->nc_flags &= ~NC_UPDATED; /* This is a new entry */ in create_config() 392 return (config); in create_config() 409 nfsl_config_t *config, in update_config() argument 440 if (config->nc_name == NULL) { in update_config() 444 if ((config->nc_name = strdup(tag)) == NULL) { in update_config() [all …]
|
/titanic_41/usr/src/cmd/fs.d/zfs/fstyp/ |
H A D | fstyp.c | 46 nvlist_t *config; member 77 if (h->config != NULL) { in fstyp_mod_fini() 78 nvlist_free(h->config); in fstyp_mod_fini() 92 if (zpool_read_label(h->fd, &h->config) != 0 || in fstyp_mod_ident() 93 h->config == NULL) { in fstyp_mod_ident() 97 if (nvlist_lookup_uint64(h->config, ZPOOL_CONFIG_POOL_STATE, in fstyp_mod_ident() 99 nvlist_free(h->config); in fstyp_mod_ident() 100 h->config = NULL; in fstyp_mod_ident() 105 (void) nvlist_add_boolean_value(h->config, "gen_clean", B_TRUE); in fstyp_mod_ident() 106 if (nvlist_lookup_uint64(h->config, "guid", &u64) == 0) { in fstyp_mod_ident() [all …]
|
/titanic_41/usr/src/uts/sun4u/io/ |
H A D | gptwocfg.c | 230 gptwocfg_config_t *config; in gptwocfg_configure() local 240 config = gptwo_config_list; in gptwocfg_configure() 241 while (config != NULL) { in gptwocfg_configure() 244 config = config->gptwo_next; in gptwocfg_configure() 248 if (config->gptwo_portid == id) { in gptwocfg_configure() 254 config = config->gptwo_next; in gptwocfg_configure() 305 config = kmem_zalloc(sizeof (gptwocfg_config_t), KM_SLEEP); in gptwocfg_configure() 306 config->gptwo_version = GP2_VERSION; in gptwocfg_configure() 307 config->gptwo_ap = ap; in gptwocfg_configure() 308 config->gptwo_portid = id; in gptwocfg_configure() [all …]
|
/titanic_41/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 …]
|
/titanic_41/usr/src/lib/print/mod_ipp/ |
H A D | mod_ipp.c | 208 IPPListenerConfig *config; in ipp_handler() local 275 config = ap_get_module_config(r->per_dir_config, &ipp_module); in ipp_handler() 276 if (config != NULL) { in ipp_handler() 278 "conformance", config->conformance); in ipp_handler() 280 "operations", config->operations); in ipp_handler() 281 if (config->default_user != NULL) in ipp_handler() 284 config->default_user); in ipp_handler() 285 if (config->default_svc != NULL) in ipp_handler() 288 config->default_svc); in ipp_handler() 382 IPPListenerConfig *config; in create_ipp_dir_config() local [all …]
|
/titanic_41/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() 219 str = config->c_name; in elf_config() 259 config->c_name = str; in elf_config() 299 config->c_bgn = addr; in elf_config() 300 config->c_end = addr + status.st_size; in elf_config() [all …]
|
/titanic_41/usr/src/lib/libzfs/common/ |
H A D | libzfs_import.c | 216 nvlist_t *config) in add_config() argument 229 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in add_config() 232 nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, &vdev_guid) == 0) { in add_config() 254 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, in add_config() 256 nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, in add_config() 258 nvlist_lookup_uint64(config, ZPOOL_CONFIG_TOP_GUID, in add_config() 260 nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_TXG, in add_config() 262 nvlist_free(config); in add_config() 277 nvlist_free(config); in add_config() 296 nvlist_free(config); in add_config() [all …]
|
H A D | libzfs_config.c | 106 nvlist_t *config; in namespace_reload() local 162 if (zcmd_read_dst_nvlist(hdl, &zc, &config) != 0) { in namespace_reload() 180 while ((elem = nvlist_next_nvpair(config, elem)) != NULL) { in namespace_reload() 185 nvlist_free(config); in namespace_reload() 192 nvlist_free(config); in namespace_reload() 200 nvlist_free(config); in namespace_reload() 209 nvlist_free(config); in namespace_reload() 232 nvlist_t *config, *features; in zpool_get_features() local 234 config = zpool_get_config(zhp, NULL); in zpool_get_features() 236 if (config == NULL || !nvlist_exists(config, in zpool_get_features() [all …]
|
/titanic_41/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_mac.c | 1807 xmac_xif_config_t config) in npi_xmac_xif_config() argument 1816 ASSERT((config != 0) && ((config & ~CFG_XMAC_XIF_ALL) == 0)); in npi_xmac_xif_config() 1817 if ((config == 0) || (config & ~CFG_XMAC_XIF_ALL) != 0) { in npi_xmac_xif_config() 1821 " config <0x%x>", config)); in npi_xmac_xif_config() 1826 if (config & CFG_XMAC_XIF_LED_FORCE) in npi_xmac_xif_config() 1828 if (config & CFG_XMAC_XIF_LED_POLARITY) in npi_xmac_xif_config() 1830 if (config & CFG_XMAC_XIF_SEL_POR_CLK_SRC) in npi_xmac_xif_config() 1832 if (config & CFG_XMAC_XIF_TX_OUTPUT) in npi_xmac_xif_config() 1835 if (config & CFG_XMAC_XIF_LOOPBACK) { in npi_xmac_xif_config() 1840 if (config & CFG_XMAC_XIF_LFS) in npi_xmac_xif_config() [all …]
|
/titanic_41/usr/src/uts/common/rpc/ |
H A D | clnt_gen.c | 76 struct knetconfig *config, in clnt_tli_kcreate() argument 94 RPCLOG(8, ", knc_semantics %d", config->knc_semantics); in clnt_tli_kcreate() 95 RPCLOG(8, ", knc_protofmly %s", config->knc_protofmly); in clnt_tli_kcreate() 96 RPCLOG(8, ", knc_proto %s\n", config->knc_proto); in clnt_tli_kcreate() 98 if (config == NULL || config->knc_protofmly == NULL || ncl == NULL) { in clnt_tli_kcreate() 103 switch (config->knc_semantics) { in clnt_tli_kcreate() 106 error = clnt_clts_kcreate(config, svcaddr, prog, vers, in clnt_tli_kcreate() 119 if (strcmp(config->knc_protofmly, NC_INET) == 0) in clnt_tli_kcreate() 121 else if (strcmp(config->knc_protofmly, NC_INET6) == 0) in clnt_tli_kcreate() 123 error = clnt_cots_kcreate(config->knc_rdev, svcaddr, family, in clnt_tli_kcreate() [all …]
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | spa_config.c | 344 spa_config_set(spa_t *spa, nvlist_t *config) in spa_config_set() argument 349 spa->spa_config = config; in spa_config_set() 362 nvlist_t *config, *nvroot; in spa_config_generate() local 383 VERIFY(nvlist_alloc(&config, NV_UNIQUE_NAME, KM_SLEEP) == 0); in spa_config_generate() 385 VERIFY(nvlist_add_uint64(config, ZPOOL_CONFIG_VERSION, in spa_config_generate() 387 VERIFY(nvlist_add_string(config, ZPOOL_CONFIG_POOL_NAME, in spa_config_generate() 389 VERIFY(nvlist_add_uint64(config, ZPOOL_CONFIG_POOL_STATE, in spa_config_generate() 391 VERIFY(nvlist_add_uint64(config, ZPOOL_CONFIG_POOL_TXG, in spa_config_generate() 393 VERIFY(nvlist_add_uint64(config, ZPOOL_CONFIG_POOL_GUID, in spa_config_generate() 395 VERIFY(spa->spa_comment == NULL || nvlist_add_string(config, in spa_config_generate() [all …]
|
/titanic_41/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 60 POOL_NAME=$(eval $ECHO \$ZPOOL_VERSION_${config}_NAME) 63 create_old_pool $config 75 for config in $CONFIGS 77 POOL_NAME=$(eval $ECHO \$ZPOOL_VERSION_${config}_NAME) 87 destroy_upgraded_pool $config
|
H A D | zpool_upgrade_009_neg.ksh | 50 destroy_upgraded_pool $config 57 typeset -i config=2 58 create_old_pool $config 59 pool=$(eval $ECHO \$ZPOOL_VERSION_${config}_NAME) 66 check_poolversion $pool $config 67 destroy_upgraded_pool $config
|