/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | RequestHandler.java | 76 config = config_in; in RequestHandler() 106 config = config_in; in RequestHandler() 136 config = config_in; in RequestHandler() 481 config.writeLog( in sendDatagramReply() 716 (config.isV1Supported() && config.isDA())) { in internalize() 887 config.traceMsg() || in dispatch() 888 config.traceDrop() || in dispatch() 952 config.traceMsg() || in dispatch() 953 config.traceDrop() || in dispatch() 1254 config); in dispatchSrv() [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() 131 if (config.getActiveDiscoveryInterval() > 0) { in start() 145 config.writeLog("ad_active_off", in start() 181 if (config.isDA()) { in run() 202 config.getDAAttributes(), in run() 254 config.writeLog("ad_multi_error", in activeDiscovery() 285 if (config.traceDrop()) { in addPreconfiguredDAs() [all …]
|
H A D | Transact.java | 228 if (config == null) { in transactUnicastMsg() 455 if (config.traceDrop()|| config.traceDATraffic()) { in transactDatagramMsg() 466 if (config.traceDrop() || config.traceDATraffic()) { in transactDatagramMsg() 515 if (config == null) { in transactTCPMsg() 531 if (config.traceDrop()|| config.traceDATraffic()) { in transactTCPMsg() 546 if (config.traceDrop() || config.traceDATraffic()) { in transactTCPMsg() 960 if (config.traceDrop()) { in transactActiveAdvertRequest() 1026 if (config == null) { in run() 1046 ds = config.getMulticastSocketOnInterface(config.getLocalHost(), in run() 1157 if (config == null) { in transactConvergeMsg() [all …]
|
H A D | slpd.java | 322 synchronized (config) { in main() 323 config.log = log; in main() 387 config.getLoopback()); in start() 425 if (config.isDA()) { in start() 440 if (config.regTest() || in start() 441 config.traceMsg() || in start() 442 config.traceDrop() || in start() 445 config.writeLog((config.isDA() ? "hello_da":"hello"), in start() 449 (config.isDA() ? in start() 571 config.getLocale(), in stopSA() [all …]
|
H A D | SLPV1Manager.java | 158 config); in getOutbuf() 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() 259 if (config.regTest() || in start() 260 config.traceMsg() || in start() 261 config.traceDrop() || in start() 262 config.traceDATraffic()) { in start() [all …]
|
H A D | DAAdvertiser.java | 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() 187 long heartbeat = config.getAdvertHeartbeatTime() * 1000; in run() [all …]
|
H A D | Listener.java | 84 if (config == null) { in initializeInterfaceManagers() 85 config = SLPConfig.getSLPConfig(); in initializeInterfaceManagers() 178 config.refreshMulticastSocketOnInterface(interfac, in refreshSocketOnInterface() 191 this.pktsize = config.getMTU(); in Listener() 197 this.dss = config.getMulticastSocketOnInterface(interfac, false); in Listener() 218 if (config.isBroadcastOnly()) { in run() 239 if (config.traceMsg()) { in run() 240 config.writeLog("request_in", in run() 246 new RequestHandler(incoming, interfac, config); in run() 260 config.writeLog("datagram_io_error", 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 | 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() 84 if (config & CFG_VMAC_TX_PAD) in hpi_vmac_tx_config() 90 if (config & CFG_VMAC_TX_EN) 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() 108 if (config & CFG_VMAC_TX_PAD) in hpi_vmac_tx_config() 158 if (config == 0) { in hpi_vmac_rx_config() 161 config)); in hpi_vmac_rx_config() [all …]
|
H A D | hpi_pfc.c | 195 pfc_config_t config; in hpi_pfc_set_tcam_enable() local 213 pfc_config_t config; in hpi_pfc_set_l2_hash() local 231 pfc_config_t config; in hpi_pfc_set_tcp_cksum() local 249 pfc_config_t config; in hpi_pfc_set_default_dma() local 264 pfc_config_t config; in hpi_pfc_mac_addr_enable() local 275 config.bits.mac_addr_en_l = config.bits.mac_addr_en_l | bit; in hpi_pfc_mac_addr_enable() 278 config.bits.mac_addr_en = config.bits.mac_addr_en | bit; in hpi_pfc_mac_addr_enable() 287 pfc_config_t config; in hpi_pfc_mac_addr_disable() local 298 config.bits.mac_addr_en_l = config.bits.mac_addr_en_l & ~bit; in hpi_pfc_mac_addr_disable() 301 config.bits.mac_addr_en = config.bits.mac_addr_en & ~bit; in hpi_pfc_mac_addr_disable() [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); 75 int config_is_connected(struct node *np, struct config *croot, 77 int config_is_type(struct node *np, struct config *croot, 80 int config_is_present(struct node *np, struct config *croot, [all …]
|
H A D | config.c | 95 struct config * 100 struct config *cp; in config_lookup() 189 struct config *cp = (struct config *)arg; in addconfigprop() 206 struct config *parent = (struct config *)arg; in addconfig() 207 struct config *cp; in addconfig() 476 struct config * 481 return ((struct config *)((struct config *)cp)->next); in config_next() 488 struct config * 493 return ((struct config *)((struct config *)cp)->child); in config_child() 499 struct config * [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfslog_config.c | 382 config = calloc(1, sizeof (*config)); in create_config() 383 if (config == NULL) { in create_config() 391 free(config); in create_config() 397 return (config); in create_config() 500 global = config; in update_config() 594 if (p == config) { in remove_config() 619 if (config == NULL) in free_config() 621 if (config->nc_name) in free_config() 637 free(config); in free_config() 748 return (config); in nfsl_findconfig() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | gptwocfg.c | 243 while (config != NULL) { in gptwocfg_configure() 250 config = config->gptwo_next; in gptwocfg_configure() 303 config->gptwo_ap = ap; in gptwocfg_configure() 316 config = NULL; in gptwocfg_configure() 337 while (config != NULL) { in gptwocfg_unconfigure() 341 config = config->gptwo_next; in gptwocfg_unconfigure() 345 if (config == NULL) { in gptwocfg_unconfigure() 360 config->gptwo_ap = ap; in gptwocfg_unconfigure() 380 config); in gptwocfg_unconfigure() 473 config = NULL; in gptwocfg_unconfigure() [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() 106 nvlist_free(h->config); in fstyp_mod_ident() 107 h->config = NULL; 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() 119 (void) nvlist_add_string(h->config, "gen_version", buf); in fstyp_mod_ident() 121 if (nvlist_lookup_string(h->config, "name", &str) == 0) { in fstyp_mod_ident() [all …]
|
/illumos-gate/usr/src/lib/libwrap/ |
H A D | tli.c | 117 if (request->config != 0) 118 freenetconfigent(request->config); 187 struct netconfig *config; local 203 while (config = getnetconfig(handlep)) { 211 if (config == 0) { 221 if ((config = getnetconfigent(config->nc_netid)) == 0) { 225 return (config); 234 struct netconfig *config = request->config; local 238 if (config != 0 && unit != 0 251 struct netconfig *config = request->config; local [all …]
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | config_elf.c | 41 Config *config = &_config; variable 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() 382 config->c_hashchain = &config->c_hashtbl[2 + in elf_config() 383 config->c_hashtbl[0]]; in elf_config() 433 bkt = hash % config->c_hashtbl[0]; in elf_config_ent() 434 ndx = config->c_hashtbl[2 + bkt]; in elf_config_ent() 437 obj = config->c_objtbl + ndx; in elf_config_ent() [all …]
|
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_mac.c | 1808 if ((config == 0) || (config & ~CFG_XMAC_XIF_ALL) != 0) { in npi_xmac_xif_config() 1870 config)); in npi_xmac_xif_config() 1942 ASSERT((config != 0) && ((config & ~CFG_XMAC_TX_ALL) == 0)); in npi_xmac_tx_config() 1943 if ((config == 0) || (config & ~CFG_XMAC_TX_ALL) != 0) { in npi_xmac_tx_config() 1947 config)); in npi_xmac_tx_config() 1980 config)); in npi_xmac_tx_config() 2025 ASSERT((config != 0) && ((config & ~CFG_XMAC_RX_ALL) == 0)); in npi_xmac_rx_config() 2026 if ((config == 0) || (config & ~CFG_XMAC_RX_ALL) != 0) { in npi_xmac_rx_config() 2631 if ((config == 0) || (config & ~CFG_BMAC_TX_ALL) != 0) { in npi_bmac_tx_config() 2697 if ((config == 0) || (config & ~CFG_BMAC_RX_ALL) != 0) { in npi_bmac_rx_config() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa_config.c | 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() 431 fnvlist_add_uint64(config, in spa_config_generate() 435 fnvlist_add_uint64(config, in spa_config_generate() 447 fnvlist_add_boolean(config, in spa_config_generate() 457 vdev_top_config_generate(spa, config); in spa_config_generate() 486 fnvlist_add_uint64_array(config, in spa_config_generate() 493 fnvlist_add_uint64_array(config, in spa_config_generate() 500 fnvlist_add_uint64_array(config, 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 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() 145 error = clnt_rdma_kcreate(config->knc_proto, in clnt_tli_kcreate() 158 config->knc_semantics); in clnt_tli_kcreate() 176 struct knetconfig *config, in clnt_tli_kinit() argument 185 switch (config->knc_semantics) { in clnt_tli_kinit() 196 clnt_cots_kinit(h, config->knc_rdev, family, in clnt_tli_kinit() 201 clnt_rdma_kinit(h, config->knc_proto, in clnt_tli_kinit() [all …]
|
/illumos-gate/usr/src/lib/libzutil/common/ |
H A D | zutil_import.c | 800 config = NULL; in get_configs() 812 config = NULL; in get_configs() 816 nvlist_free(config); in get_configs() 817 config = nvl; in get_configs() 868 nvlist_free(config); in get_configs() 869 config = NULL; in get_configs() 882 nvlist_free(config); in get_configs() 916 *config = NULL; in zpool_read_label() 1096 nvlist_t *config; in zpool_open_func() local 1141 nvlist_free(config); in zpool_open_func() [all …]
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_import.c | 192 nvlist_t *config; in zpool_clear_label() local 207 nvlist_free(config); in zpool_clear_label() 214 nvlist_free(config); in zpool_clear_label() 220 if (nvlist_lookup_uint64(config, in zpool_clear_label() 227 nvlist_free(config); in zpool_clear_label() 326 nvlist_t *config; in zpool_in_use() local 343 if (config == NULL) in zpool_in_use() 390 nvlist_free(config); in zpool_in_use() 421 if (ret && nvlist_lookup_uint64(config, in zpool_in_use() 482 nvlist_free(config); in zpool_in_use() [all …]
|
H A D | libzfs_status.c | 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() 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() 396 feat = fnvlist_lookup_nvlist(config, in check_status() 402 feat = fnvlist_lookup_nvlist(config, 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
|