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

1234567891011>>

/freebsd-10-stable/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_cfg33 trap "umount /cfg" 1 2 15 EXIT
34 mount /cfg
39 if [ ! -f /cfg/$filename -a ! -f /cfg/.ignore/$filename ]
43 # If file doesn't exist in /cfg and file is not in the 'ignore' list
63 # Add to cfg (y/n/i)?
64 # y) -> save this file in /cfg
65 # n) -> do not save this file in /cfg for current script invocation ONLY
66 # i) -> add file to ignore list (/cfg/.ignore hiereachy) and never save
67 # try to add this file to /cfg
[all...]
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-stable/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-stable/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-stable/contrib/unbound/smallapp/
H A Dunbound-checkconf.c91 * @param cfg: config
97 print_option(struct config_file* cfg, const char* opt, int final) argument
100 printf("%s\n", fname_after_chroot(cfg->pidfile, cfg, 1));
103 if(!config_get_option(cfg, opt, config_print_func, stdout))
109 check_mod(struct config_file* cfg, struct module_func_block* fb) argument
113 env.cfg = cfg;
128 localzonechecks(struct config_file* cfg) argument
133 if(!local_zones_apply_cfg(zs, cfg))
162 interfacechecks(struct config_file* cfg) argument
196 aclchecks(struct config_file* cfg) argument
266 check_chroot_string(const char* desc, char** ss, const char* chrootdir, struct config_file* cfg) argument
288 check_chroot_filelist(const char* desc, struct config_strlist* list, const char* chrootdir, struct config_file* cfg) argument
299 check_chroot_filelist_wild(const char* desc, struct config_strlist* list, const char* chrootdir, struct config_file* cfg) argument
320 morechecks(struct config_file* cfg, const char* fname) argument
445 check_fwd(struct config_file* cfg) argument
456 check_hints(struct config_file* cfg) argument
469 struct config_file* cfg = config_create(); local
[all...]
H A Dunbound-control-setup.sh.in110 echo "[req]\n" > request.cfg
111 echo "default_bits=$BITS\n" >> request.cfg
112 echo "default_md=$HASH\n" >> request.cfg
113 echo "prompt=no\n" >> request.cfg
114 echo "distinguished_name=req_distinguished_name\n" >> request.cfg
115 echo "\n" >> request.cfg
116 echo "[req_distinguished_name]\n" >> request.cfg
117 echo "commonName=$SERVERNAME\n" >> request.cfg
119 test -f request.cfg || error "could not create request.cfg"
[all...]
H A Dunbound-control-setup.sh110 echo "[req]\n" > request.cfg
111 echo "default_bits=$BITS\n" >> request.cfg
112 echo "default_md=$HASH\n" >> request.cfg
113 echo "prompt=no\n" >> request.cfg
114 echo "distinguished_name=req_distinguished_name\n" >> request.cfg
115 echo "\n" >> request.cfg
116 echo "[req_distinguished_name]\n" >> request.cfg
117 echo "commonName=$SERVERNAME\n" >> request.cfg
119 test -f request.cfg || error "could not create request.cfg"
[all...]
/freebsd-10-stable/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-stable/sys/dev/puc/
H A Dpuc_cfg.c43 const struct puc_cfg *cfg = sc->sc_cfg; local
46 if (cfg->config_function != NULL) {
47 error = cfg->config_function(sc, cmd, port, r);
55 if (cfg->clock < 0)
57 *r = cfg->clock;
60 if (cfg->desc == NULL)
62 *r = (intptr_t)cfg->desc;
73 switch (cfg->ports) {
112 if (cfg->d_ofs < 0)
114 *r = port * cfg
[all...]
/freebsd-10-stable/contrib/unbound/util/
H A Dconfig_file.c69 /** from cfg username, after daemonise setup performed */
71 /** from cfg username, after daemonise setup performed */
85 struct config_file* cfg; local
86 cfg = (struct config_file*)calloc(1, sizeof(struct config_file));
87 if(!cfg)
90 cfg->verbosity = 1;
91 cfg->stat_interval = 0;
92 cfg->stat_cumulative = 0;
93 cfg->stat_extended = 0;
94 cfg
253 struct config_file* cfg = config_create(); local
321 config_set_option(struct config_file* cfg, const char* opt, const char* val) argument
532 config_get_option_list(struct config_file* cfg, const char* opt, struct config_strlist** list) argument
549 config_get_option_collate(struct config_file* cfg, const char* opt, char** str) argument
633 config_get_option(struct config_file* cfg, const char* opt, void (*func)(char*,void*), void* arg) argument
770 create_cfg_parser(struct config_file* cfg, char* filename, const char* chroot) argument
783 config_read(struct config_file* cfg, const char* filename, const char* chroot) argument
910 config_delete(struct config_file* cfg) argument
1046 cfg_condense_ports(struct config_file* cfg, int** avail) argument
1262 config_lookup_uid(struct config_file* cfg) argument
1288 strlen_after_chroot(const char* fname, struct config_file* cfg, int use_chdir) argument
1330 fname_after_chroot(const char* fname, struct config_file* cfg, int use_chdir) argument
1406 cfg_parse_local_zone(struct config_file* cfg, const char* val) argument
1565 w_config_adjust_directory(struct config_file* cfg) argument
[all...]
H A Dconfigparser.y200 s->next = cfg_parser->cfg->stubs;
201 cfg_parser->cfg->stubs = s;
216 s->next = cfg_parser->cfg->forwards;
217 cfg_parser->cfg->forwards = s;
231 else cfg_parser->cfg->num_threads = atoi($2);
240 else cfg_parser->cfg->verbosity = atoi($2);
248 cfg_parser->cfg->stat_interval = 0;
251 else cfg_parser->cfg->stat_interval = atoi($2);
260 else cfg_parser->cfg->stat_cumulative = (strcmp($2, "yes")==0);
269 else cfg_parser->cfg
[all...]
/freebsd-10-stable/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
333 struct scfg *cfg; local
358 struct scfg *cfg; local
667 struct scfg *cfg; local
736 struct scfg *cfg; local
957 struct scfg *cfg; local
989 struct scfg *cfg; local
1007 struct scfg *cfg; local
1036 struct scfg *cfg; local
1069 struct scfg *cfg; local
1114 struct scfg *cfg; local
[all...]
/freebsd-10-stable/contrib/unbound/daemon/
H A Dunbound.c205 checkrlimits(struct config_file* cfg) argument
210 int list = ((cfg->do_udp?1:0) + (cfg->do_tcp?1 +
211 (int)cfg->incoming_num_tcp:0));
212 size_t listen_ifs = (size_t)(cfg->num_ifs==0?
213 ((cfg->do_ip4 && !cfg->if_automatic?1:0) +
214 (cfg->do_ip6?1:0)):cfg->num_ifs);
216 size_t outudpnum = (size_t)cfg
303 apply_settings(struct daemon* daemon, struct config_file* cfg, int cmdline_verbose, int debug_mode) argument
443 perform_setup(struct daemon* daemon, struct config_file* cfg, int debug_mode, const char** cfgfile) argument
640 struct config_file* cfg = NULL; local
[all...]
/freebsd-10-stable/sys/gnu/dts/include/dt-bindings/dma/
H A Dat91.h35 #define AT91_XDMAC_DT_GET_MEM_IF(cfg) (((cfg) >> AT91_XDMAC_DT_MEM_IF_OFFSET) \
42 #define AT91_XDMAC_DT_GET_PER_IF(cfg) (((cfg) >> AT91_XDMAC_DT_PER_IF_OFFSET) \
49 #define AT91_XDMAC_DT_GET_PERID(cfg) (((cfg) >> AT91_XDMAC_DT_PERID_OFFSET) \
/freebsd-10-stable/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-stable/contrib/subversion/subversion/libsvn_subr/
H A Dconfig.c91 svn_config_t *cfg = apr_palloc(result_pool, sizeof(*cfg));
93 cfg->sections = apr_hash_make(result_pool);
94 cfg->pool = result_pool;
95 cfg->x_pool = svn_pool_create(result_pool);
96 cfg->x_values = FALSE;
97 cfg->tmp_key = svn_stringbuf_create_empty(result_pool);
98 cfg->tmp_value = svn_stringbuf_create_empty(result_pool);
99 cfg->section_names_case_sensitive = section_names_case_sensitive;
100 cfg
88 svn_config_t *cfg = apr_palloc(result_pool, sizeof(*cfg)); local
111 svn_config_t *cfg; local
146 svn_config_t *cfg; local
252 get_category_config(svn_config_t **cfg, const char *config_dir, const char *category, apr_pool_t *pool) argument
296 svn_config_t *cfg; local
331 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
374 svn_config_merge(svn_config_t *cfg, const char *file, svn_boolean_t must_exist) argument
411 remove_expansions(svn_config_t *cfg) argument
458 find_option(svn_config_t *cfg, const char *section, const char *option, cfg_section_t **sectionp) argument
494 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
554 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
631 svn_config_addsection(svn_config_t *cfg, const char *section) argument
673 svn_config__is_expanded(svn_config_t *cfg, const char *section, const char *option) argument
701 svn_config_get(svn_config_t *cfg, const char **valuep, const char *section, const char *option, const char *default_value) argument
736 svn_config_set(svn_config_t *cfg, const char *section, const char *option, const char *value) argument
819 svn_config_get_bool(svn_config_t *cfg, svn_boolean_t *valuep, const char *section, const char *option, svn_boolean_t default_value) argument
831 svn_config_set_bool(svn_config_t *cfg, const char *section, const char *option, svn_boolean_t value) argument
840 svn_config_get_int64(svn_config_t *cfg, apr_int64_t *valuep, const char *section, const char *option, apr_int64_t default_value) argument
857 svn_config_set_int64(svn_config_t *cfg, const char *section, const char *option, apr_int64_t value) argument
867 svn_config_get_yes_no_ask(svn_config_t *cfg, const char **valuep, const char *section, const char *option, const char* default_value) argument
896 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
927 svn_config_enumerate_sections(svn_config_t *cfg, svn_config_section_enumerator_t callback, void *baton) argument
955 svn_config_enumerate_sections2(svn_config_t *cfg, svn_config_section_enumerator2_t callback, void *baton, apr_pool_t *pool) argument
986 svn_config_enumerate(svn_config_t *cfg, const char *section, svn_config_enumerator_t callback, void *baton) argument
1023 svn_config_enumerate2(svn_config_t *cfg, const char *section, svn_config_enumerator2_t callback, void *baton, apr_pool_t *pool) argument
1094 svn_config_find_group(svn_config_t *cfg, const char *key, const char *master_section, apr_pool_t *pool) argument
1109 svn_config_get_server_setting(svn_config_t *cfg, const char* server_group, const char* option_name, const char* default_value) argument
1216 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
1248 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
1263 svn_config_has_section(svn_config_t *cfg, const char *section) argument
[all...]
/freebsd-10-stable/sys/dev/pci/
H A Dpci.c74 #define PCIR_IS_BIOS(cfg, reg) \
75 (((cfg)->hdrtype == PCIM_HDRTYPE_NORMAL && reg == PCIR_BIOS) || \
76 ((cfg)->hdrtype == PCIM_HDRTYPE_BRIDGE && reg == PCIR_BIOS_1))
85 static void pci_fixancient(pcicfgregs *cfg);
86 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);
466 pci_printf(pcicfgregs *cfg, const char *fmt, ...) argument
578 pci_fixancient(pcicfgregs *cfg) argument
591 pci_hdrtypedata(device_t pcib, int b, int s, int f, pcicfgregs *cfg) argument
619 pcicfgregs *cfg = NULL; local
686 pci_read_cap(device_t pcib, pcicfgregs *cfg) argument
853 pci_read_vpd_reg(device_t pcib, pcicfgregs *cfg, int reg, uint32_t *data) argument
895 pcicfgregs *cfg; member in struct:vpd_readstate
927 pci_read_vpd(device_t pcib, pcicfgregs *cfg) argument
1202 pcicfgregs *cfg = &dinfo->cfg; local
1205 pci_read_vpd(device_get_parent(dev), cfg); local
1220 pcicfgregs *cfg = &dinfo->cfg; local
1224 pci_read_vpd(device_get_parent(dev), cfg); local
1241 pcicfgregs *cfg = &dinfo->cfg; local
1301 pcicfgregs *cfg = &dinfo->cfg; local
1354 pcicfgregs *cfg = &dinfo->cfg; local
1514 pcicfgregs *cfg = &dinfo->cfg; local
2108 pcicfgregs *cfg = &dinfo->cfg; local
2275 pcicfgregs *cfg = &dinfo->cfg; local
2497 pcicfgregs *cfg = &dinfo->cfg; local
2569 pcicfgregs *cfg = &dinfo->cfg; local
2685 pcicfgregs *cfg = &dinfo->cfg; local
3147 pcicfgregs *cfg = &dinfo->cfg; local
3372 pci_reserve_secbus(device_t bus, device_t dev, pcicfgregs *cfg, struct resource_list *rl) argument
3481 pcicfgregs *cfg; local
3532 pcicfgregs *cfg; local
4445 pcicfgregs *cfg; local
4731 pcicfgregs *cfg; local
4808 pcicfgregs *cfg; local
4986 pcicfgregs *cfg = &dinfo->cfg; local
4997 pcicfgregs *cfg = &dinfo->cfg; local
5019 pcicfgregs *cfg; local
5034 pcicfgregs *cfg = &dinfo->cfg; local
5120 struct pcicfg_pcie *cfg; local
5213 struct pcicfg_pcie *cfg; local
[all...]
/freebsd-10-stable/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...]
/freebsd-10-stable/sbin/hastd/
H A Dcontrol.h45 void control_handle(struct hastd_config *cfg);
/freebsd-10-stable/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...]

Completed in 142 milliseconds

1234567891011>>