Searched refs:cfg (Results 1 - 25 of 340) sorted by relevance

1234567891011>>

/freebsd-10.0-release/tools/tools/nanobsd/Files/root/
H A Dsave_sshkeys32 trap "umount /cfg" 1 2 15 EXIT
33 mount /cfg
34 mkdir -p /cfg/ssh
37 cp ssh_host_* /cfg/ssh
39 umount /cfg
H A Dsave_cfg32 trap "umount /cfg" 1 2 15 EXIT
33 mount /cfg
35 cd /cfg
38 cmp -s /etc/$i /cfg/$i || cp -pfv /etc/$i /cfg/$i
41 umount /cfg
H A Dchange_password34 cfgslice=`grep '/cfg' /etc/fstab | cut -d \ -f 1`
36 trap "umount /cfg" 1 2 15 EXIT
37 mount /cfg
38 cp /etc/master.passwd /etc/passwd /etc/pwd.db /etc/spwd.db /etc/group /cfg
39 umount /cfg
/freebsd-10.0-release/tools/tools/nanobsd/pcengines/Files/root/
H A Dsave_sshkeys32 trap "umount /cfg" 1 2 15 EXIT
33 mount /cfg
34 mkdir -p /cfg/ssh
37 cp ssh_host_* /cfg/ssh
39 umount /cfg
H A Dsave_cfg32 trap "umount /cfg" 1 2 15 EXIT
33 mount /cfg
35 cd /cfg
38 cmp -s /etc/$i /cfg/$i || cp -pfv /etc/$i /cfg/$i
41 umount /cfg
H A Dchange_password34 cfgslice=`grep '/cfg' /etc/fstab | cut -d \ -f 1`
36 trap "umount /cfg" 1 2 15 EXIT
37 mount /cfg
38 cp /etc/master.passwd /etc/passwd /etc/pwd.db /etc/spwd.db /etc/group /cfg
39 umount /cfg
/freebsd-10.0-release/usr.sbin/pc-sysinstall/examples/
H A DMakefile3 FILES= README pc-autoinstall.conf pcinstall.cfg.fbsd-netinstall \
4 pcinstall.cfg.geli pcinstall.cfg.gmirror pcinstall.cfg.netinstall \
5 pcinstall.cfg.restore pcinstall.cfg.rsync pcinstall.cfg.upgrade \
6 pcinstall.cfg.zfs
/freebsd-10.0-release/contrib/unbound/smallapp/
H A Dunbound-checkconf.c89 * @param cfg: config
94 print_option(struct config_file* cfg, const char* opt) argument
96 if(!config_get_option(cfg, opt, config_print_func, stdout))
102 check_mod(struct config_file* cfg, struct module_func_block* fb) argument
106 env.cfg = cfg;
121 localzonechecks(struct config_file* cfg) argument
126 if(!local_zones_apply_cfg(zs, cfg))
155 interfacechecks(struct config_file* cfg) argument
160 for(i=0; i<cfg
189 aclchecks(struct config_file* cfg) argument
259 check_chroot_string(const char* desc, char** ss, const char* chrootdir, struct config_file* cfg) argument
281 check_chroot_filelist(const char* desc, struct config_strlist* list, const char* chrootdir, struct config_file* cfg) argument
292 check_chroot_filelist_wild(const char* desc, struct config_strlist* list, const char* chrootdir, struct config_file* cfg) argument
313 morechecks(struct config_file* cfg, const char* fname) argument
429 check_fwd(struct config_file* cfg) argument
440 check_hints(struct config_file* cfg) argument
453 struct config_file* cfg = config_create(); local
[all...]
/freebsd-10.0-release/sbin/etherswitchcfg/
H A Detherswitchcfg.c67 struct cfg { struct
82 void (*f)(struct cfg *, char *argv[]);
120 read_register(struct cfg *cfg, int r) argument
125 if (ioctl(cfg->fd, IOETHERSWITCHGETREG, &er) != 0)
131 write_register(struct cfg *cfg, int r, int v) argument
137 if (ioctl(cfg->fd, IOETHERSWITCHSETREG, &er) != 0)
142 read_phyregister(struct cfg *cfg, in argument
154 write_phyregister(struct cfg *cfg, int phy, int reg, int val) argument
166 set_port_vid(struct cfg *cfg, char *argv[]) argument
185 set_port_flag(struct cfg *cfg, char *argv[]) argument
226 set_port_media(struct cfg *cfg, char *argv[]) argument
246 set_port_mediaopt(struct cfg *cfg, char *argv[]) argument
271 set_vlangroup_vid(struct cfg *cfg, char *argv[]) argument
288 set_vlangroup_members(struct cfg *cfg, char *argv[]) argument
326 set_register(struct cfg *cfg, char *arg) argument
343 set_phyregister(struct cfg *cfg, char *arg) argument
366 set_vlan_mode(struct cfg *cfg, char *argv[]) argument
389 print_config(struct cfg *cfg) argument
426 print_port(struct cfg *cfg, int port) argument
466 print_vlangroup(struct cfg *cfg, int vlangroup) argument
501 print_info(struct cfg *cfg) argument
551 newmode(struct cfg *cfg, enum cmdmode mode) argument
584 struct cfg cfg; local
[all...]
/freebsd-10.0-release/sys/dev/puc/
H A Dpuc_cfg.c42 const struct puc_cfg *cfg = sc->sc_cfg; local
45 if (cfg->config_function != NULL) {
46 error = cfg->config_function(sc, cmd, port, r);
54 if (cfg->clock < 0)
56 *r = cfg->clock;
59 if (cfg->desc == NULL)
61 *r = (intptr_t)cfg->desc;
72 switch (cfg->ports) {
111 if (cfg->d_ofs < 0)
113 *r = port * cfg
[all...]
/freebsd-10.0-release/sys/cam/scsi/
H A Dscsi_enc_safte.c262 struct scfg *cfg; local
266 cfg = enc->enc_private;
267 if (cfg == NULL)
276 cfg->Nfans = buf[0];
277 cfg->Npwr = buf[1];
278 cfg->Nslots = buf[2];
279 cfg->DoorLock = buf[3];
280 cfg->Ntherm = buf[4];
281 cfg->Nspkrs = buf[5];
283 cfg
336 struct scfg *cfg; local
361 struct scfg *cfg; local
670 struct scfg *cfg; local
739 struct scfg *cfg; local
960 struct scfg *cfg; local
992 struct scfg *cfg; local
1010 struct scfg *cfg; local
1039 struct scfg *cfg; local
1072 struct scfg *cfg; local
1117 struct scfg *cfg; local
[all...]
/freebsd-10.0-release/contrib/unbound/daemon/
H A Dunbound.c194 checkrlimits(struct config_file* cfg) argument
198 int list = ((cfg->do_udp?1:0) + (cfg->do_tcp?1 +
199 (int)cfg->incoming_num_tcp:0));
200 size_t listen_ifs = (size_t)(cfg->num_ifs==0?
201 ((cfg->do_ip4 && !cfg->if_automatic?1:0) +
202 (cfg->do_ip6?1:0)):cfg->num_ifs);
204 size_t outudpnum = (size_t)cfg
290 apply_settings(struct daemon* daemon, struct config_file* cfg, int cmdline_verbose) argument
426 perform_setup(struct daemon* daemon, struct config_file* cfg, int debug_mode, const char** cfgfile) argument
633 struct config_file* cfg = NULL; local
[all...]
/freebsd-10.0-release/contrib/unbound/util/
H A Dconfigparser.y172 s->next = cfg_parser->cfg->stubs;
173 cfg_parser->cfg->stubs = s;
188 s->next = cfg_parser->cfg->forwards;
189 cfg_parser->cfg->forwards = s;
203 else cfg_parser->cfg->num_threads = atoi($2);
212 else cfg_parser->cfg->verbosity = atoi($2);
220 cfg_parser->cfg->stat_interval = 0;
223 else cfg_parser->cfg->stat_interval = atoi($2);
232 else cfg_parser->cfg->stat_cumulative = (strcmp($2, "yes")==0);
241 else cfg_parser->cfg
[all...]
H A Dconfig_file.c69 struct config_file* cfg; local
70 cfg = (struct config_file*)calloc(1, sizeof(struct config_file));
71 if(!cfg)
74 cfg->verbosity = 1;
75 cfg->stat_interval = 0;
76 cfg->stat_cumulative = 0;
77 cfg->stat_extended = 0;
78 cfg->num_threads = 1;
79 cfg->port = UNBOUND_DNS_PORT;
80 cfg
214 struct config_file* cfg = config_create(); local
282 config_set_option(struct config_file* cfg, const char* opt, const char* val) argument
454 config_get_option_list(struct config_file* cfg, const char* opt, struct config_strlist** list) argument
471 config_get_option_collate(struct config_file* cfg, const char* opt, char** str) argument
554 config_get_option(struct config_file* cfg, const char* opt, void (*func)(char*,void*), void* arg) argument
668 create_cfg_parser(struct config_file* cfg, char* filename, const char* chroot) argument
680 config_read(struct config_file* cfg, const char* filename, const char* chroot) argument
806 config_delete(struct config_file* cfg) argument
935 cfg_condense_ports(struct config_file* cfg, int** avail) argument
1158 strlen_after_chroot(const char* fname, struct config_file* cfg, int use_chdir) argument
1200 fname_after_chroot(const char* fname, struct config_file* cfg, int use_chdir) argument
1276 cfg_parse_local_zone(struct config_file* cfg, const char* val) argument
[all...]
H A Dconfigparser.c1064 s->next = cfg_parser->cfg->stubs;
1065 cfg_parser->cfg->stubs = s;
1077 s->next = cfg_parser->cfg->forwards;
1078 cfg_parser->cfg->forwards = s;
1089 else cfg_parser->cfg->num_threads = atoi(yystack.l_mark[0].str);
1099 else cfg_parser->cfg->verbosity = atoi(yystack.l_mark[0].str);
1108 cfg_parser->cfg->stat_interval = 0;
1111 else cfg_parser->cfg->stat_interval = atoi(yystack.l_mark[0].str);
1121 else cfg_parser->cfg->stat_cumulative = (strcmp(yystack.l_mark[0].str, "yes")==0);
1131 else cfg_parser->cfg
[all...]
/freebsd-10.0-release/sys/dev/pci/
H A Dpci.c73 #define PCIR_IS_BIOS(cfg, reg) \
74 (((cfg)->hdrtype == PCIM_HDRTYPE_NORMAL && reg == PCIR_BIOS) || \
75 ((cfg)->hdrtype == PCIM_HDRTYPE_BRIDGE && reg == PCIR_BIOS_1))
84 static void pci_fixancient(pcicfgregs *cfg);
85 static int pci_printf(pcicfgregs *cfg, const char *fmt, ...);
101 pcicfgregs *cfg);
102 static void pci_read_cap(device_t pcib, pcicfgregs *cfg);
103 static int pci_read_vpd_reg(device_t pcib, pcicfgregs *cfg,
106 static int pci_write_vpd_reg(device_t pcib, pcicfgregs *cfg,
109 static void pci_read_vpd(device_t pcib, pcicfgregs *cfg);
408 pci_printf(pcicfgregs *cfg, const char *fmt, ...) argument
520 pci_fixancient(pcicfgregs *cfg) argument
533 pci_hdrtypedata(device_t pcib, int b, int s, int f, pcicfgregs *cfg) argument
559 pcicfgregs *cfg = NULL; local
631 pci_read_cap(device_t pcib, pcicfgregs *cfg) argument
798 pci_read_vpd_reg(device_t pcib, pcicfgregs *cfg, int reg, uint32_t *data) argument
840 pcicfgregs *cfg; member in struct:vpd_readstate
872 pci_read_vpd(device_t pcib, pcicfgregs *cfg) argument
1147 pcicfgregs *cfg = &dinfo->cfg; local
1150 pci_read_vpd(device_get_parent(dev), cfg); local
1165 pcicfgregs *cfg = &dinfo->cfg; local
1169 pci_read_vpd(device_get_parent(dev), cfg); local
1235 pcicfgregs *cfg = &dinfo->cfg; local
1288 pcicfgregs *cfg = &dinfo->cfg; local
1422 pcicfgregs *cfg = &dinfo->cfg; local
1920 pcicfgregs *cfg = &dinfo->cfg; local
2087 pcicfgregs *cfg = &dinfo->cfg; local
2309 pcicfgregs *cfg = &dinfo->cfg; local
2382 pcicfgregs *cfg = &dinfo->cfg; local
2498 pcicfgregs *cfg = &dinfo->cfg; local
2958 pcicfgregs *cfg = &dinfo->cfg; local
3185 pcicfgregs *cfg; local
3998 pcicfgregs *cfg; local
4274 pcicfgregs *cfg; local
4346 pcicfgregs *cfg; local
4514 pcicfgregs *cfg = &dinfo->cfg; local
4525 pcicfgregs *cfg = &dinfo->cfg; local
4546 pcicfgregs *cfg; local
4561 pcicfgregs *cfg = &dinfo->cfg; local
4593 struct pcicfg_pcie *cfg; local
4686 struct pcicfg_pcie *cfg; local
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Analysis/
H A DPostOrderCFGView.cpp20 PostOrderCFGView::PostOrderCFGView(const CFG *cfg) { argument
21 Blocks.reserve(cfg->getNumBlockIDs());
22 CFGBlockSet BSet(cfg);
24 for (po_iterator I = po_iterator::begin(cfg, BSet),
25 E = po_iterator::end(cfg, BSet); I != E; ++I) {
32 const CFG *cfg = ctx.getCFG(); local
33 if (!cfg)
35 return new PostOrderCFGView(cfg);
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_subr/
H A Dconfig.c88 svn_config_t *cfg = apr_palloc(result_pool, sizeof(*cfg));
90 cfg->sections = apr_hash_make(result_pool);
91 cfg->pool = result_pool;
92 cfg->x_pool = svn_pool_create(result_pool);
93 cfg->x_values = FALSE;
94 cfg->tmp_key = svn_stringbuf_create_empty(result_pool);
95 cfg->tmp_value = svn_stringbuf_create_empty(result_pool);
96 cfg->section_names_case_sensitive = section_names_case_sensitive;
97 cfg
85 svn_config_t *cfg = apr_palloc(result_pool, sizeof(*cfg)); local
107 svn_config_t *cfg; local
142 svn_config_t *cfg; local
247 get_category_config(svn_config_t **cfg, const char *config_dir, const char *category, apr_pool_t *pool) argument
291 svn_config_t *cfg; local
316 for_each_option(svn_config_t *cfg, void *baton, apr_pool_t *pool, svn_boolean_t callback(void *same_baton, cfg_section_t *section, cfg_option_t *option)) argument
359 svn_config_merge(svn_config_t *cfg, const char *file, svn_boolean_t must_exist) argument
396 remove_expansions(svn_config_t *cfg) argument
423 find_option(svn_config_t *cfg, const char *section, const char *option, cfg_section_t **sectionp) argument
473 make_string_from_option(const char **valuep, svn_config_t *cfg, cfg_section_t *section, cfg_option_t *opt, apr_pool_t* x_pool) argument
526 expand_option_value(svn_config_t *cfg, cfg_section_t *section, const char *opt_value, const char **opt_x_valuep, apr_pool_t *x_pool) argument
603 svn_config_addsection(svn_config_t *cfg, const char *section) argument
646 svn_config_get(svn_config_t *cfg, const char **valuep, const char *section, const char *option, const char *default_value) argument
681 svn_config_set(svn_config_t *cfg, const char *section, const char *option, const char *value) argument
753 svn_config_get_bool(svn_config_t *cfg, svn_boolean_t *valuep, const char *section, const char *option, svn_boolean_t default_value) argument
765 svn_config_set_bool(svn_config_t *cfg, const char *section, const char *option, svn_boolean_t value) argument
774 svn_config_get_int64(svn_config_t *cfg, apr_int64_t *valuep, const char *section, const char *option, apr_int64_t default_value) argument
791 svn_config_set_int64(svn_config_t *cfg, const char *section, const char *option, apr_int64_t value) argument
801 svn_config_get_yes_no_ask(svn_config_t *cfg, const char **valuep, const char *section, const char *option, const char* default_value) argument
830 svn_config_get_tristate(svn_config_t *cfg, svn_tristate_t *valuep, const char *section, const char *option, const char *unknown_value, svn_tristate_t default_value) argument
861 svn_config_enumerate_sections(svn_config_t *cfg, svn_config_section_enumerator_t callback, void *baton) argument
889 svn_config_enumerate_sections2(svn_config_t *cfg, svn_config_section_enumerator2_t callback, void *baton, apr_pool_t *pool) argument
920 svn_config_enumerate(svn_config_t *cfg, const char *section, svn_config_enumerator_t callback, void *baton) argument
957 svn_config_enumerate2(svn_config_t *cfg, const char *section, svn_config_enumerator2_t callback, void *baton, apr_pool_t *pool) argument
1028 svn_config_find_group(svn_config_t *cfg, const char *key, const char *master_section, apr_pool_t *pool) argument
1043 svn_config_get_server_setting(svn_config_t *cfg, const char* server_group, const char* option_name, const char* default_value) argument
1150 svn_config_get_server_setting_int(svn_config_t *cfg, const char *server_group, const char *option_name, apr_int64_t default_value, apr_int64_t *result_value, apr_pool_t *pool) argument
1182 svn_config_get_server_setting_bool(svn_config_t *cfg, svn_boolean_t *valuep, const char *server_group, const char *option_name, svn_boolean_t default_value) argument
1197 svn_config_has_section(svn_config_t *cfg, const char *section) argument
[all...]
/freebsd-10.0-release/contrib/wpa/src/p2p/
H A Dp2p_invitation.c65 p2p_buf_add_operating_channel(buf, p2p->cfg->country,
69 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels);
75 dev_addr = p2p->cfg->dev_addr;
132 p2p_buf_add_operating_channel(buf, p2p->cfg->country,
137 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels);
166 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
175 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
181 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
190 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
199 wpa_msg(p2p->cfg
[all...]
H A Dp2p_go_neg.c51 if (pos[2] != 0x04 && os_memcmp(pos, p2p->cfg->country, 2) != 0) {
52 wpa_msg(p2p->cfg->msg_ctx, MSG_INFO,
54 p2p->cfg->country[0], p2p->cfg->country[1],
64 wpa_msg(p2p->cfg->msg_ctx, MSG_INFO,
79 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Own reg_classes %d "
85 wpa_msg(p2p->cfg->msg_ctx, MSG_INFO,
162 if (p2p->cfg->p2p_intra_bss)
171 p2p_buf_add_listen_channel(buf, p2p->cfg->country, p2p->cfg
[all...]
H A Dp2p_dev_disc.c45 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
59 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
77 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
87 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
98 p2p->cfg->dev_addr, go->info.p2p_device_addr,
100 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
134 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
137 p2p->cfg->send_action_done(p2p->cfg->cb_ctx);
150 wpa_msg(p2p->cfg
[all...]
H A Dp2p_sd.c158 if (p2p_send_action(p2p, freq, dst, p2p->cfg->dev_addr, dst,
160 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
238 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
249 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
262 p2p->cfg->dev_addr, dev->info.p2p_device_addr,
264 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
287 if (p2p->cfg->sd_request == NULL)
293 freq = p2p_channel_to_freq(p2p->cfg->country,
294 p2p->cfg->reg_class,
295 p2p->cfg
[all...]
/freebsd-10.0-release/sbin/hastd/
H A Dcontrol.h45 void control_handle(struct hastd_config *cfg);
/freebsd-10.0-release/usr.sbin/ppp/
H A Dncp.h44 } cfg; member in struct:ncp
79 ncp_IsUrgentPort(&(ncp)->cfg.urgent.tcp, p1, p2)
81 ncp_IsUrgentPort(&(ncp)->cfg.urgent.udp, p1, p2)
83 ncp_AddUrgentPort(&(ncp)->cfg.urgent.tcp, p)
85 ncp_AddUrgentPort(&(ncp)->cfg.urgent.udp, p)
87 ncp_RemoveUrgentPort(&(ncp)->cfg.urgent.tcp, p)
89 ncp_RemoveUrgentPort(&(ncp)->cfg.urgent.udp, p)
91 ncp_ClearUrgentPorts(&(ncp)->cfg.urgent.tcp)
93 ncp_ClearUrgentPorts(&(ncp)->cfg.urgent.udp)
94 #define ncp_ClearUrgentTOS(ncp) (ncp)->cfg
[all...]
/freebsd-10.0-release/contrib/subversion/subversion/svn/
H A Dhelp-cmd.c94 svn_config_t *cfg;
98 cfg = svn_hash_gets(cmd_baton->ctx->config,
100 if (cfg)
102 SVN_ERR(svn_config_get_bool(cfg, &store_auth_creds,
106 SVN_ERR(svn_config_get_bool(cfg, &store_passwords,
111 cfg = svn_hash_gets(cmd_baton->ctx->config,
113 if (cfg)
117 (cfg, &value,
92 svn_config_t *cfg; local

Completed in 121 milliseconds

1234567891011>>