/freebsd-11-stable/contrib/unbound/validator/ |
H A D | val_neg.h | 174 * @param cfg: config options. 178 struct val_neg_cache* val_neg_create(struct config_file* cfg, size_t maxiter); 239 * @param cfg: config options. 247 int addsoa, uint8_t* topname, struct config_file* cfg);
|
/freebsd-11-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_usb.c | 560 struct usb_config cfg[1]; local 571 memset(cfg, 0, sizeof(cfg)); 573 cfg[0].type = type; 574 cfg[0].endpoint = addr & UE_ADDR; 575 cfg[0].direction = addr & (UE_DIR_OUT | UE_DIR_IN); 577 ep = usbd_get_endpoint(dev, uhe->bsd_iface_index, cfg); 779 struct usb_config cfg[2]; local 794 memset(cfg, 0, sizeof(cfg)); [all...] |
/freebsd-11-stable/contrib/ntp/sntp/libevent/include/event2/ |
H A D | event.h | 472 @param cfg the event configuration object to be freed. 475 void event_config_free(struct event_config *cfg); 485 @param cfg the event configuration object 490 int event_config_avoid_method(struct event_config *cfg, const char *method); 593 event_config_require_features(cfg, EV_FEATURE_ET); 594 base = event_base_new_with_config(cfg); 597 event_config_require_features(cfg, 0); 598 base = event_base_new_with_config(cfg); 602 @param cfg the event configuration object 609 int event_config_require_features(struct event_config *cfg, in [all...] |
/freebsd-11-stable/sys/dev/bhnd/siba/ |
H A D | siba_subr.c | 124 for (u_int i = 0; i < nitems(dinfo->cfg); i++) { 125 dinfo->cfg[i] = NULL; 353 for (u_int i = 0; i < nitems(dinfo->cfg); i++) { 354 if (dinfo->cfg[i] == NULL) 358 dinfo->cfg[i]); 360 dinfo->cfg[i] = NULL;
|
/freebsd-11-stable/contrib/wpa/src/p2p/ |
H A D | p2p_sd.c | 204 if (p2p_send_action(p2p, freq, dst, p2p->cfg->dev_addr, dst, 313 if (p2p->cfg->max_listen && wait_time > p2p->cfg->max_listen) 314 wait_time = p2p->cfg->max_listen; 316 p2p->cfg->dev_addr, dev->info.p2p_device_addr, 340 if (p2p->cfg->sd_request == NULL) 346 freq = p2p_channel_to_freq(p2p->cfg->reg_class, 347 p2p->cfg->channel); 418 p2p->cfg->sd_request(p2p->cfg [all...] |
H A D | p2p_utils.c | 292 return p2p_channels_includes(&p2p->cfg->channels, op_reg_class, 302 return p2p_channels_includes(&p2p->cfg->channels, op_reg_class, 313 return p2p_channels_includes(&p2p->cfg->channels, op_reg_class, 315 p2p_channels_includes(&p2p->cfg->cli_channels, op_reg_class, 326 channels : &p2p->cfg->channels; 331 for (i = 0; p2p->cfg->pref_chan && i < p2p->cfg->num_pref_chan; i++) { 332 freq = p2p_channel_to_freq(p2p->cfg->pref_chan[i].op_class, 333 p2p->cfg->pref_chan[i].chan);
|
/freebsd-11-stable/contrib/unbound/libunbound/ |
H A D | libunbound.c | 130 ctx->env->cfg = config_create_forlib(); 131 if(!ctx->env->cfg) { 140 config_delete(ctx->env->cfg); 150 config_delete(ctx->env->cfg); 161 config_delete(ctx->env->cfg); 186 config_delete(ctx->env->cfg); 199 config_delete(ctx->env->cfg); 339 config_delete(ctx->env->cfg); 368 if(!config_set_option(ctx->env->cfg, opt, val)) { 381 r = config_get_option_collate(ctx->env->cfg, op [all...] |
H A D | libworker.c | 137 struct config_file* cfg = ctx->env->cfg; local 159 w->env->scratch = regional_create_custom(cfg->msg_buffer_size); 160 w->env->scratch_buffer = sldns_buffer_new(cfg->msg_buffer_size); 162 if(w->env->fwds && !forwards_apply_cfg(w->env->fwds, cfg)) { 167 if(w->env->hints && !hints_apply_cfg(w->env->hints, cfg)) { 171 if(cfg->ssl_upstream || (cfg->tls_cert_bundle && cfg->tls_cert_bundle[0]) || cfg [all...] |
/freebsd-11-stable/contrib/unbound/services/cache/ |
H A D | infra.c | 201 struct config_file* cfg) 205 for(p = cfg->ratelimit_for_domain; p; p = p->next) { 211 for(p = cfg->ratelimit_below_domain; p; p = p->next) { 222 setup_domain_limits(struct infra_cache* infra, struct config_file* cfg) argument 225 if(!infra_ratelimit_cfg_insert(infra, cfg)) { 233 infra_create(struct config_file* cfg) argument 237 size_t maxmem = cfg->infra_cache_numhosts * (sizeof(struct infra_key)+ 239 infra->hosts = slabhash_create(cfg->infra_cache_slabs, 246 infra->host_ttl = cfg->host_ttl; 247 infra->infra_keep_probing = cfg 200 infra_ratelimit_cfg_insert(struct infra_cache* infra, struct config_file* cfg) argument 295 infra_adjust(struct infra_cache* infra, struct config_file* cfg) argument [all...] |
H A D | rrset.c | 60 struct rrset_cache* rrset_cache_create(struct config_file* cfg, argument 63 size_t slabs = (cfg?cfg->rrset_cache_slabs:HASH_DEFAULT_SLABS); 65 size_t maxmem = (cfg?cfg->rrset_cache_size:HASH_DEFAULT_MAXMEM); 83 struct config_file* cfg, struct alloc_cache* alloc) 85 if(!r || !cfg || !slabhash_is_size(&r->table, cfg->rrset_cache_size, 86 cfg->rrset_cache_slabs)) 89 r = rrset_cache_create(cfg, allo 82 rrset_cache_adjust(struct rrset_cache *r, struct config_file* cfg, struct alloc_cache* alloc) argument [all...] |
/freebsd-11-stable/sys/dev/sound/pci/ |
H A D | envy24.c | 149 struct cfg_info *cfg; member in struct:sc_info 626 envy24_cfgfree(struct cfg_info *cfg) { argument 627 if (cfg == NULL) 629 if (cfg->free) 630 free(cfg, M_ENVY24); 1003 ptr->cs = ptr->parent->cfg->cs; 1013 ptr->cclk = ptr->parent->cfg->cclk; 1014 ptr->cdti = ptr->parent->cfg->cdti; 1015 spicds_settype(ptr->info, ptr->parent->cfg->type); 1016 spicds_setcif(ptr->info, ptr->parent->cfg [all...] |
/freebsd-11-stable/sys/dev/ixgbe/ |
H A D | ixgbe_dcb.c | 194 * @cfg: dcb configuration to unpack into hardware consumable fields 203 void ixgbe_dcb_unpack_pfc_cee(struct ixgbe_dcb_config *cfg, u8 *map, u8 *pfc_up) argument 205 struct ixgbe_dcb_tc_config *tc_config = &cfg->tc_config[0]; 218 void ixgbe_dcb_unpack_refill_cee(struct ixgbe_dcb_config *cfg, int direction, argument 221 struct ixgbe_dcb_tc_config *tc_config = &cfg->tc_config[0]; 228 void ixgbe_dcb_unpack_max_cee(struct ixgbe_dcb_config *cfg, u16 *max) argument 230 struct ixgbe_dcb_tc_config *tc_config = &cfg->tc_config[0]; 237 void ixgbe_dcb_unpack_bwgid_cee(struct ixgbe_dcb_config *cfg, int direction, argument 240 struct ixgbe_dcb_tc_config *tc_config = &cfg->tc_config[0]; 247 void ixgbe_dcb_unpack_tsa_cee(struct ixgbe_dcb_config *cfg, in argument 257 ixgbe_dcb_get_tc_from_up(struct ixgbe_dcb_config *cfg, int direction, u8 up) argument 280 ixgbe_dcb_unpack_map_cee(struct ixgbe_dcb_config *cfg, int direction, u8 *map) argument [all...] |
/freebsd-11-stable/sys/dev/puc/ |
H A D | pucdata.c | 1281 const struct puc_cfg *cfg; local 1298 cfg = sc->sc_cfg; 1299 switch (cfg->subvendor) { 1301 switch (cfg->device) { 1338 bar = puc_get_bar(sc, cfg->rid + i * cfg->d_rid); 1385 const struct puc_cfg *cfg = sc->sc_cfg; local 1388 if (cfg->subdevice == 0x1282) /* Everest SP */ 1390 else if (cfg->subdevice == 0x104b) /* Maestro SP2 */ 1438 const struct puc_cfg *cfg local 1455 const struct puc_cfg *cfg = sc->sc_cfg; local 1548 const struct puc_cfg *cfg = sc->sc_cfg; local 1621 const struct puc_cfg *cfg = sc->sc_cfg; local 1752 const struct puc_cfg *cfg = sc->sc_cfg; local [all...] |
/freebsd-11-stable/sys/dev/beri/virtio/ |
H A D | virtio_block.c | 102 struct virtio_blk_config *cfg; member in struct:beri_vtblk_softc 372 struct virtio_blk_config *cfg; local 391 cfg = sc->cfg; 392 cfg->capacity = htobe64(sc->mdio->md_mediasize / DEV_BSIZE); 393 cfg->size_max = 0; /* not negotiated */ 394 cfg->seg_max = htobe32(VTBLK_MAXSEGS); 395 cfg->blk_size = htobe32(DEV_BSIZE); 397 s = (uint32_t *)cfg; 516 sc->cfg [all...] |
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | chap.c | 458 IsAccepted(chap->auth.physical->link.lcp.cfg.chap80lm)) || 459 !IsAccepted(chap->auth.physical->link.lcp.cfg.chap80nt)); 495 len = strlen(authp->physical->dl->bundle->cfg.auth.name); 502 if (*authp->physical->dl->bundle->radius.cfg.file) { 521 memcpy(cp, authp->physical->dl->bundle->cfg.auth.name, len); 534 len = strlen(authp->physical->dl->bundle->cfg.auth.name); 560 if (*bundle->radius.cfg.file && bundle->radius.msrepstr) 569 if (*bundle->radius.cfg.file && bundle->radius.repstr) 600 if (*bundle->radius.cfg.file && bundle->radius.errstr) 760 ((chap->NTRespSent && IsAccepted(p->link.lcp.cfg [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | config_file.c | 652 svn_config_t *cfg = baton; 653 svn_config_enumerate2(cfg, name, expand_value, NULL, pool); 663 svn_config__set_read_only(svn_config_t *cfg, 668 svn_config_enumerate_sections2(cfg, expand_values_in_section, 669 cfg, scratch_pool); 673 cfg->read_only = TRUE; 677 svn_config__is_read_only(svn_config_t *cfg) 679 return cfg->read_only; 686 svn_config_t *cfg = apr_palloc(pool, sizeof(*cfg)); 650 svn_config_t *cfg = baton; local 660 svn_config__set_read_only(svn_config_t *cfg, apr_pool_t *scratch_pool) argument 674 svn_config__is_read_only(svn_config_t *cfg) argument 683 svn_config_t *cfg = apr_palloc(pool, sizeof(*cfg)); local 715 svn_config__parse_file(svn_config_t *cfg, const char *file, svn_boolean_t must_exist, apr_pool_t *result_pool) argument [all...] |
H A D | config_win.c | 115 parse_section(svn_config_t *cfg, HKEY hkey, const char *section, 158 svn_config_set(cfg, section, option->data, value->data); 171 svn_config__parse_registry(svn_config_t *cfg, const char *file, 228 svn_err = parse_section(cfg, hkey, SVN_CONFIG__DEFAULT_SECTION, 267 svn_err = parse_section(cfg, sub_hkey, section->data, option, value); 113 parse_section(svn_config_t *cfg, HKEY hkey, const char *section, svn_stringbuf_t *option, svn_stringbuf_t *value) argument 168 svn_config__parse_registry(svn_config_t *cfg, const char *file, svn_boolean_t must_exist, apr_pool_t *pool) argument
|
/freebsd-11-stable/sys/arm/xilinx/ |
H A D | zy7_devcfg.c | 254 struct zy7_fclk_config *cfg; local 258 cfg = arg1; 261 switch (cfg->source) { 282 cfg->source = ZY7_PL_FCLK_SRC_IO; 284 cfg->source = ZY7_PL_FCLK_SRC_DDR; 286 cfg->source = ZY7_PL_FCLK_SRC_ARM; 290 zy7_pl_fclk_set_source(unit, cfg->source); 291 if (cfg->frequency > 0) 292 cfg->actual_frequency = zy7_pl_fclk_get_freq(unit); 300 struct zy7_fclk_config *cfg; local [all...] |
/freebsd-11-stable/sys/isa/ |
H A D | isa_common.c | 420 struct isa_config *cfg; local 424 cfg = malloc(sizeof(struct isa_config), M_TEMP, M_NOWAIT|M_ZERO); 425 if (cfg == NULL) 429 if (!isa_find_memory(child, &ice->ice_config, cfg)) 432 if (!isa_find_port(child, &ice->ice_config, cfg)) 435 if (!isa_find_irq(child, &ice->ice_config, cfg)) 438 if (!isa_find_drq(child, &ice->ice_config, cfg)) 448 cfg, 1); 449 free(cfg, M_TEMP); 461 bzero(cfg, sizeo 499 struct isa_config *cfg; local [all...] |
/freebsd-11-stable/tools/tools/usbtest/ |
H A D | usb_control_ep_test.c | 87 int cfg; local 104 for (cfg = 0; cfg != 255; cfg++) { 109 req.wValue = 0x0200 | cfg; /* config descriptor */ 113 printf("Test #%d.1/3 ...\n", cfg); 120 printf("Last configuration index is: %d\n", cfg - 1); 124 printf("Test #%d.2/3 ...\n", cfg); 140 printf("Test #%d.3/3 ...\n", cfg);
|
/freebsd-11-stable/sys/compat/ndis/ |
H A D | kern_ndis.c | 377 struct ndis_cfglist *cfg; local 382 cfg = malloc(sizeof(struct ndis_cfglist), M_DEVBUF, M_NOWAIT|M_ZERO); 384 if (cfg == NULL) { 389 cfg->ndis_cfg.nc_cfgkey = strdup(key, M_DEVBUF); 392 cfg->ndis_cfg.nc_cfgdesc = strdup(descstr, M_DEVBUF); 394 cfg->ndis_cfg.nc_cfgdesc = strdup(desc, M_DEVBUF); 395 strcpy(cfg->ndis_cfg.nc_val, val); 397 TAILQ_INSERT_TAIL(&sc->ndis_cfglist_head, cfg, link); 400 cfg->ndis_oid = 403 OID_AUTO, cfg 429 struct ndis_cfglist *cfg; local [all...] |
/freebsd-11-stable/usr.sbin/pw/ |
H A D | pw_user.c | 744 const char *cfg = NULL; local 752 cfg = optarg; 763 cnf = get_userconfig(cfg); 862 const char *cfg = NULL; local 880 cfg = optarg; 909 cnf = get_userconfig(cfg); 1135 mix_config(struct userconf *cmdcnf, struct userconf *cfg) argument 1139 cmdcnf->default_password = cfg->default_password; 1141 cmdcnf->reuse_uids = cfg->reuse_uids; 1143 cmdcnf->reuse_gids = cfg 1193 const char *cfg = NULL; local 1516 const char *cfg = NULL; local [all...] |
H A D | pw_group.c | 262 const char *cfg = NULL; local 269 cfg = optarg; 279 cnf = get_userconfig(cfg); 358 const char *cfg = NULL; local 374 cfg = optarg; 394 cnf = get_userconfig(cfg); 488 const char *cfg = NULL; local 505 cfg = optarg; 555 cnf = get_userconfig(cfg); 569 const char *cfg local [all...] |
/freebsd-11-stable/contrib/gcc/ |
H A D | basic-block.h | 393 #define ENTRY_BLOCK_PTR_FOR_FUNCTION(FN) ((FN)->cfg->x_entry_block_ptr) 394 #define EXIT_BLOCK_PTR_FOR_FUNCTION(FN) ((FN)->cfg->x_exit_block_ptr) 395 #define basic_block_info_for_function(FN) ((FN)->cfg->x_basic_block_info) 396 #define n_basic_blocks_for_function(FN) ((FN)->cfg->x_n_basic_blocks) 397 #define n_edges_for_function(FN) ((FN)->cfg->x_n_edges) 398 #define last_basic_block_for_function(FN) ((FN)->cfg->x_last_basic_block) 399 #define label_to_block_map_for_function(FN) ((FN)->cfg->x_label_to_block_map) 405 #define ENTRY_BLOCK_PTR (cfun->cfg->x_entry_block_ptr) 406 #define EXIT_BLOCK_PTR (cfun->cfg->x_exit_block_ptr) 407 #define basic_block_info (cfun->cfg [all...] |
/freebsd-11-stable/sys/dev/cardbus/ |
H A D | cardbus_device.c | 116 minor = (device_get_unit(sc->sc_dev) << 8) + devi->pci.cfg.func; 119 "cardbus%d.%d.cis", unit, devi->pci.cfg.func); 120 if (devi->pci.cfg.func == 0)
|