Searched refs:cfg (Results 151 - 175 of 497) sorted by last modified time

1234567891011>>

/freebsd-11-stable/contrib/unbound/ipsecmod/
H A Dipsecmod-whitelist.c87 read_whitelist(rbtree_type* whitelist, struct config_file* cfg) argument
90 for(p = cfg->ipsecmod_whitelist; p; p = p->next) {
100 struct config_file* cfg)
103 if(!read_whitelist(ie->whitelist, cfg))
99 ipsecmod_whitelist_apply_cfg(struct ipsecmod_env* ie, struct config_file* cfg) argument
/freebsd-11-stable/contrib/unbound/edns-subnet/
H A Dsubnet-whitelist.h84 * @param cfg: config options.
88 struct config_file* cfg);
H A Dsubnet-whitelist.c118 read_upstream(struct ecs_whitelist* whitelist, struct config_file* cfg) argument
121 for(p = cfg->client_subnet; p; p = p->next) {
131 read_names(struct ecs_whitelist* whitelist, struct config_file* cfg) argument
140 for(p = cfg->client_subnet_zone; p; p = p->next) {
172 struct config_file* cfg)
177 if(!read_upstream(whitelist, cfg))
179 if(!read_names(whitelist, cfg))
171 ecs_whitelist_apply_cfg(struct ecs_whitelist* whitelist, struct config_file* cfg) argument
/freebsd-11-stable/contrib/unbound/dnscrypt/
H A Ddnscrypt.h104 * \param[in] cfg the config_file struct with dnscrypt options.
107 int dnsc_apply_cfg(struct dnsc_env *env, struct config_file *cfg);
H A Ddnscrypt.c554 * \param[in] cfg the configuration.
559 dnsc_chroot_path(struct config_file *cfg, char *path) argument
563 if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(nm,
564 cfg->chrootdir, strlen(cfg->chrootdir)) == 0)
565 nm += strlen(cfg->chrootdir);
573 * \param[in] cfg the configuration.
577 dnsc_parse_certs(struct dnsc_env *env, struct config_file *cfg) argument
586 for (head = cfg
683 dnsc_load_local_data(struct dnsc_env* dnscenv, struct config_file *cfg) argument
791 dnsc_parse_keys(struct dnsc_env *env, struct config_file *cfg) argument
962 dnsc_apply_cfg(struct dnsc_env *env, struct config_file *cfg) argument
[all...]
/freebsd-11-stable/contrib/unbound/daemon/
H A Dworker.h147 * @param cfg: configuration settings.
152 int worker_init(struct worker* worker, struct config_file *cfg,
H A Dstats.h59 * @param cfg: with extended statistics option.
61 void server_stats_init(struct ub_server_stats* stats, struct config_file* cfg);
H A Dremote.h123 * @param cfg: config file with key file settings.
126 struct daemon_remote* daemon_remote_create(struct config_file* cfg);
143 * @param cfg: config options.
147 struct listen_port* daemon_remote_open_ports(struct config_file* cfg);
H A Dacl_list.h125 * @param cfg: config options.
129 int acl_list_apply_cfg(struct acl_list* acl, struct config_file* cfg,
/freebsd-11-stable/sbin/devd/
H A Ddevd.cc174 config cfg; variable
262 cfg.close_pidfile();
798 cfg.push_var_table();
800 cfg.set_variable("*", buffer - 1);
802 cfg.set_variable("_", buffer);
808 cfg.set_variable("timestamp", timestr);
816 sp = cfg.set_vars(sp);
828 sp = cfg.set_vars(sp);
832 cfg.set_variable("bus", sp + 3);
840 cfg
[all...]
/freebsd-11-stable/sys/dev/oce/
H A Doce_if.h661 struct mq_config cfg; member in struct:oce_mq
710 struct wq_config cfg; member in struct:oce_wq
746 struct rq_config cfg; member in struct:oce_rq
H A Doce_mbox.c1693 fwcmd->params.req.frag_size = rq->cfg.frag_size/2048;
1697 fwcmd->params.req.frag_size = OCE_LOG2(rq->cfg.frag_size);
1701 fwcmd->params.req.max_frame_size = rq->cfg.mtu;
1702 fwcmd->params.req.is_rss_queue = rq->cfg.is_rss_queue;
1756 fwcmd->params.req.nic_wq_type = wq->cfg.wq_type;
1758 fwcmd->params.req.wq_size = OCE_LOG2(wq->cfg.q_len) + 1;
2336 fwcmd->params.req.frag_size = rq->cfg.frag_size/2048;
2341 fwcmd->params.req.max_frame_size = rq->cfg.mtu;
2343 if(rq->cfg.is_rss_queue) {
/freebsd-11-stable/sys/dev/an/
H A Dif_an.c1746 struct an_ltv_genconfig *cfg; local
1756 cfg = (struct an_ltv_genconfig *)areq;
1758 bcopy((char *)&cfg->an_macaddr, IF_LLADDR(sc->an_ifp),
1761 bcopy((char *)cfg, (char *)&sc->an_config,
1782 cfg = &sc->an_config;
1785 bzero(cfg->an_rates, sizeof(cfg->an_rates));
1786 cfg->an_rates[0] = sc->an_tx_rate;
1813 cfg = (struct an_ltv_genconfig *)areq;
1817 sc->an_monitor = cfg
3224 struct an_ltv_genconfig *cfg; local
[all...]
/freebsd-11-stable/sys/dev/pci/
H A Dpci.c79 #define PCIR_IS_BIOS(cfg, reg) \
80 (((cfg)->hdrtype == PCIM_HDRTYPE_NORMAL && reg == PCIR_BIOS) || \
81 ((cfg)->hdrtype == PCIM_HDRTYPE_BRIDGE && reg == PCIR_BIOS_1))
89 static void pci_fixancient(pcicfgregs *cfg);
90 static int pci_printf(pcicfgregs *cfg, const char *fmt, ...);
105 pcicfgregs *cfg);
106 static void pci_read_cap(device_t pcib, pcicfgregs *cfg);
107 static int pci_read_vpd_reg(device_t pcib, pcicfgregs *cfg,
110 static int pci_write_vpd_reg(device_t pcib, pcicfgregs *cfg,
113 static void pci_read_vpd(device_t pcib, pcicfgregs *cfg);
487 pci_printf(pcicfgregs *cfg, const char *fmt, ...) argument
599 pci_fixancient(pcicfgregs *cfg) argument
612 pci_hdrtypedata(device_t pcib, int b, int s, int f, pcicfgregs *cfg) argument
673 pcicfgregs *cfg; local
735 pci_ea_fill_info(device_t pcib, pcicfgregs *cfg) argument
810 pci_read_cap(device_t pcib, pcicfgregs *cfg) argument
981 pci_read_vpd_reg(device_t pcib, pcicfgregs *cfg, int reg, uint32_t *data) argument
1023 pcicfgregs *cfg; member in struct:vpd_readstate
1055 pci_read_vpd(device_t pcib, pcicfgregs *cfg) argument
1330 pcicfgregs *cfg = &dinfo->cfg; local
1333 pci_read_vpd(device_get_parent(dev), cfg); local
1348 pcicfgregs *cfg = &dinfo->cfg; local
1352 pci_read_vpd(device_get_parent(dev), cfg); local
1369 pcicfgregs *cfg = &dinfo->cfg; local
1467 pcicfgregs *cfg = &dinfo->cfg; local
1547 pcicfgregs *cfg = &dinfo->cfg; local
1584 pcicfgregs *cfg = &dinfo->cfg; local
1748 pcicfgregs *cfg = &dinfo->cfg; local
2346 pcicfgregs *cfg = &dinfo->cfg; local
2513 pcicfgregs *cfg = &dinfo->cfg; local
2735 pcicfgregs *cfg = &dinfo->cfg; local
2807 pcicfgregs *cfg = &dinfo->cfg; local
2923 pcicfgregs *cfg = &dinfo->cfg; local
3392 pcicfgregs *cfg = &dinfo->cfg; local
3617 pci_reserve_secbus(device_t bus, device_t dev, pcicfgregs *cfg, struct resource_list *rl) argument
3726 pcicfgregs *cfg; local
3948 pcicfgregs *cfg; local
5076 pcicfgregs *cfg; local
5369 pcicfgregs *cfg; local
5474 pcicfgregs *cfg; local
5660 pcicfgregs *cfg = &dinfo->cfg; local
5702 pcicfgregs *cfg = &dinfo->cfg; local
5724 pcicfgregs *cfg; local
5739 pcicfgregs *cfg = &dinfo->cfg; local
5825 struct pcicfg_pcie *cfg; local
5941 struct pcicfg_pcie *cfg; local
[all...]
H A Dpcivar.h265 pcicfgregs cfg; member in struct:pci_devinfo
/freebsd-11-stable/sys/dev/cxgbe/common/
H A Dt4_hw.c3690 u32 cfg, val, req, rsp; local
3692 cfg = t4_read_reg(adap, A_CIM_DEBUGCFG);
3693 if (cfg & F_LADBGEN)
3694 t4_write_reg(adap, A_CIM_DEBUGCFG, cfg ^ F_LADBGEN);
3716 t4_write_reg(adap, A_CIM_DEBUGCFG, cfg);
3721 u32 cfg; local
3724 cfg = t4_read_reg(adap, A_CIM_DEBUGCFG);
3725 if (cfg & F_LADBGEN)
3726 t4_write_reg(adap, A_CIM_DEBUGCFG, cfg ^ F_LADBGEN);
3737 t4_write_reg(adap, A_CIM_DEBUGCFG, cfg);
6529 u32 data_reg, mask_reg, cfg; local
9644 unsigned int cfg, val, idx; local
9713 unsigned int i, cfg, val, idx; local
[all...]
/freebsd-11-stable/sys/dev/ntb/ntb_hw/
H A Dntb_hw_intel.c1366 msix = &dinfo->cfg.msix;
/freebsd-11-stable/sys/dev/ntb/
H A Dntb.c67 char cfg[128] = ""; local
83 TUNABLE_STR_FETCH(buf, cfg, sizeof(cfg));
84 n = cfg;
/freebsd-11-stable/sys/dev/acpica/
H A Dacpi_pci.c294 if (dinfo->ap_dinfo.cfg.func == func &&
295 dinfo->ap_dinfo.cfg.slot == slot) {
/freebsd-11-stable/release/picobsd/build/
H A Dpicobsd1065 --cfg) # read additional config from this file
/freebsd-11-stable/sys/compat/linsysfs/
H A Dlinsysfs.c289 dinfo->cfg.bus,
290 dinfo->cfg.slot,
291 dinfo->cfg.func);
331 if (dinfo->cfg.baseclass == PCIC_STORAGE) {
375 if (dinfo != NULL && dinfo->cfg.baseclass == PCIC_DISPLAY) {
/freebsd-11-stable/sys/dev/vnic/
H A Dthunder_bgx.c539 uint64_t cfg; local
547 cfg = bgx_reg_read(bgx, lmac_idx, BGX_GMP_PCS_MRX_CTL);
549 cfg |= PCS_MRX_CTL_LOOPBACK1;
551 cfg &= ~PCS_MRX_CTL_LOOPBACK1;
552 bgx_reg_write(bgx, lmac_idx, BGX_GMP_PCS_MRX_CTL, cfg);
554 cfg = bgx_reg_read(bgx, lmac_idx, BGX_SPUX_CONTROL1);
556 cfg |= SPU_CTL_LOOPBACK;
558 cfg &= ~SPU_CTL_LOOPBACK;
559 bgx_reg_write(bgx, lmac_idx, BGX_SPUX_CONTROL1, cfg);
566 uint64_t cfg; local
606 uint64_t cfg; local
701 uint64_t cfg; local
841 uint64_t cfg; local
[all...]
/freebsd-11-stable/sys/dev/bge/
H A Dif_bge.c3266 uint32_t cfg, clk; local
3275 cfg = CSR_READ_4(sc, BGE_MISC_CFG) & BGE_MISCCFG_BOARD_ID_MASK;
3276 if (cfg == BGE_MISCCFG_BOARD_ID_5704CIOBE)
3304 cfg = pci_read_config(sc->bge_dev, BGE_PCI_PCISTATE, 4);
3305 if (cfg & BGE_PCISTATE_PCI_BUSSPEED)
3309 if (cfg & BGE_PCISTATE_32BIT_BUS)
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwmvar.h500 const struct iwm_cfg *cfg; member in struct:iwm_softc
H A Dif_iwm.c577 fwp = firmware_get(sc->cfg->fw_name);
582 sc->cfg->fw_name, error);
603 sc->cfg->fw_name);
1325 if (sc->cfg->device_family == IWM_DEVICE_FAMILY_7000) {
1394 if (sc->cfg->device_family == IWM_DEVICE_FAMILY_7000) {
1449 if (sc->cfg->host_interrupt_operation_mode)
1506 if (sc->cfg->device_family == IWM_DEVICE_FAMILY_7000)
1678 if (sc->cfg->device_family != IWM_DEVICE_FAMILY_8000) {
1817 sc->cfg->eeprom_size) {
1974 if (sc->cfg
5852 const struct iwm_cfg *cfg; member in struct:iwm_devices
[all...]

Completed in 239 milliseconds

1234567891011>>