Home
last modified time | relevance | path

Searched refs:cft (Results 1 – 21 of 21) sorted by relevance

/netbsd-src/external/gpl2/lvm2/dist/lib/format_text/
H A Dimport.c48 struct config_tree *cft; in text_vgname_import() local
54 if (!(cft = create_config_tree(NULL, 0))) in text_vgname_import()
57 if ((!dev && !read_config_file(cft)) || in text_vgname_import()
58 (dev && !read_config_fd(cft, dev, offset, size, in text_vgname_import()
66 if (!(*vsn)->check_version(cft)) in text_vgname_import()
69 if (!(vgname = (*vsn)->read_vgname(fmt, cft, vgid, vgstatus, in text_vgname_import()
77 destroy_config_tree(cft); in text_vgname_import()
91 struct config_tree *cft; in text_vg_import_fd() local
99 if (!(cft = create_config_tree(file, 0))) in text_vg_import_fd()
102 if ((!dev && !read_config_file(cft)) || in text_vg_import_fd()
[all …]
H A Dimport_vsn1.c55 static int _check_version(struct config_tree *cft) in _check_version() argument
63 if (!(cn = find_config_node(cft->root, CONTENTS_FIELD))) { in _check_version()
77 if (!(cn = find_config_node(cft->root, FORMAT_VERSION_FIELD))) { in _check_version()
636 struct config_tree *cft) in _read_vg() argument
647 for (vgn = cft->root; (vgn && vgn->v); vgn = vgn->sib) ; in _read_vg()
797 struct config_tree *cft, time_t *when, char **desc) in _read_desc() argument
804 d = find_config_str(cft->root, "description", ""); in _read_desc()
808 get_config_uint32(cft->root, "creation_time", &u); in _read_desc()
813 struct config_tree *cft, struct id *vgid, in _read_vgname() argument
823 find_config_str(cft->root, in _read_vgname()
[all …]
H A Dimport-export.h55 struct config_tree *cft,
/netbsd-src/external/gpl2/lvm2/dist/lib/filters/
H A Dfilter-composite.c53 struct dev_filter **filters_copy, *cft; in composite_filter_create() local
66 if (!(cft = dm_malloc(sizeof(*cft)))) { in composite_filter_create()
72 cft->passes_filter = _and_p; in composite_filter_create()
73 cft->destroy = _composite_destroy; in composite_filter_create()
74 cft->private = filters_copy; in composite_filter_create()
76 return cft; in composite_filter_create()
H A Dfilter-persistent.c67 static int _read_array(struct pfilter *pf, struct config_tree *cft, in _read_array() argument
73 if (!(cn = find_config_node(cft->root, path))) { in _read_array()
102 struct config_tree *cft; in persistent_filter_load() local
114 if (!(cft = create_config_tree(pf->file, 1))) in persistent_filter_load()
117 if (!read_config_file(cft)) in persistent_filter_load()
120 _read_array(pf, cft, "persistent_filter_cache/valid_devices", in persistent_filter_load()
137 *cft_out = cft; in persistent_filter_load()
139 destroy_config_tree(cft); in persistent_filter_load()
185 struct config_tree *cft = NULL; in persistent_filter_dump() local
234 persistent_filter_load(f, &cft); in persistent_filter_dump()
[all …]
/netbsd-src/external/gpl2/lvm2/dist/include/
H A Dconfig.h55 struct config_tree *cft; member
63 void destroy_config_tree(struct config_tree *cft);
67 int read_config_fd(struct config_tree *cft, struct device *dev,
71 int read_config_file(struct config_tree *cft);
72 int write_config_file(struct config_tree *cft, const char *file,
78 time_t config_file_timestamp(struct config_tree *cft);
79 int config_file_changed(struct config_tree *cft);
80 int merge_config_tree(struct cmd_context *cmd, struct config_tree *cft,
H A Dtoolcontext.h83 struct config_tree *cft; member
/netbsd-src/external/gpl2/lvm2/dist/lib/config/
H A Dconfig.h55 struct config_tree *cft; member
63 void destroy_config_tree(struct config_tree *cft);
67 int read_config_fd(struct config_tree *cft, struct device *dev,
71 int read_config_file(struct config_tree *cft);
72 int write_config_file(struct config_tree *cft, const char *file,
78 time_t config_file_timestamp(struct config_tree *cft);
79 int config_file_changed(struct config_tree *cft);
80 int merge_config_tree(struct cmd_context *cmd, struct config_tree *cft,
H A Dconfig.c64 struct config_tree cft; member
133 c->cft.root = (struct config_node *) NULL; in create_config_tree()
140 return &c->cft; in create_config_tree()
143 void destroy_config_tree(struct config_tree *cft) in destroy_config_tree() argument
145 struct cs *c = (struct cs *) cft; in destroy_config_tree()
153 static int _parse_config_file(struct parser *p, struct config_tree *cft) in _parse_config_file() argument
158 if (!(cft->root = _file(p))) in _parse_config_file()
168 struct config_tree *cft; in create_config_tree_from_string() local
171 if (!(cft = create_config_tree(NULL, 0))) in create_config_tree_from_string()
174 c = (struct cs *) cft; in create_config_tree_from_string()
[all …]
/netbsd-src/external/gpl2/lvm2/dist/lib/commands/
H A Dtoolcontext.c353 static int _init_tags(struct cmd_context *cmd, struct config_tree *cft) in _init_tags() argument
359 if (!(tn = find_config_node(cft->root, "tags")) || !tn->child) in _init_tags()
363 if (!cmd->hosttags && find_config_int(cft->root, "tags/hosttags", in _init_tags()
416 if (!(cfl->cft = create_config_tree(config_file, 0))) { in _load_config_file()
428 destroy_config_tree(cfl->cft); in _load_config_file()
433 if (!read_config_file(cfl->cft)) { in _load_config_file()
435 destroy_config_tree(cfl->cft); in _load_config_file()
443 _init_tags(cmd, cfl->cft); in _load_config_file()
446 cmd->cft = cfl->cft; in _load_config_file()
456 if (!(cmd->cft = create_config_tree(NULL, 0))) { in _init_lvm_conf()
[all …]
H A Dtoolcontext.h83 struct config_tree *cft; member
/netbsd-src/external/ibm-public/postfix/dist/src/postconf/
H A Dpostconf_builtin.c337 CONFIG_STR_FN_TABLE *cft = (CONFIG_STR_FN_TABLE *) ptr; in pcf_conv_str_fn_parameter() local
339 return (cft->defval()); in pcf_conv_str_fn_parameter()
387 const CONFIG_STR_FN_TABLE *cft; in pcf_register_builtin_parameters() local
425 for (cft = pcf_str_fn_table; cft->name; cft++) in pcf_register_builtin_parameters()
426 PCF_PARAM_TABLE_ENTER(pcf_param_table, cft->name, in pcf_register_builtin_parameters()
427 PCF_PARAM_FLAG_BUILTIN, (void *) cft, in pcf_register_builtin_parameters()
/netbsd-src/external/gpl2/lvm2/dist/lib/locking/
H A Dexternal_locking.c29 static int (*_init_fn) (int type, struct config_tree * cft,
99 return _init_fn(2, cmd->cft, &locking->flags); in init_external_locking()
/netbsd-src/external/gpl2/lvm2/dist/tools/
H A Ddumpconfig.c24 if (!write_config_file(cmd->cft, file, argc, argv)) { in dumpconfig()
/netbsd-src/external/bsd/ipf/dist/perl/
H A DServices1068 1761 cft-0 cft-0
1069 1762 cft-1 cft-1
1070 1763 cft-2 cft-2
1071 1764 cft-3 cft-3
1072 1765 cft-4 cft-4
1073 1766 cft-5 cft-5
1074 1767 cft-6 cft-6
1075 1768 cft-7 cft-7
/netbsd-src/external/bsd/openldap/dist/servers/lloadd/
H A Dlload-config.h33 int lload_read_config_file( const char *fname, int depth, ConfigArgs *cf, ConfigTable *cft );
H A Dconfig.c2408 ConfigTable *cft ) in lload_read_config_file() argument
2494 ct = lload_config_find_keyword( cft, c ); in lload_read_config_file()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/
H A Dslap-config.h218 ConfigTable *cft );
H A Dconfig.c818 read_config_file(const char *fname, int depth, ConfigArgs *cf, ConfigTable *cft) in read_config_file() argument
909 ct = config_find_keyword( cft, c ); in read_config_file()
/netbsd-src/etc/
H A Dservices4025 cft-0 1761/tcp # cft-0 [Martine_Marchand] …
4026 cft-0 1761/udp # cft-0 [Martine_Marchand] …
4027 cft-1 1762/tcp # cft-1 [Martine_Marchand] …
4028 cft-1 1762/udp # cft-1 [Martine_Marchand] …
4029 cft-2 1763/tcp # cft-2 [Martine_Marchand] …
4030 cft-2 1763/udp # cft-2 [Martine_Marchand] …
4031 cft-3 1764/tcp # cft-3 [Martine_Marchand] …
4032 cft-3 1764/udp # cft-3 [Martine_Marchand] …
4033 cft-4 1765/tcp # cft-4 [Martine_Marchand] …
4034 cft-4 1765/udp # cft-4 [Martine_Marchand] …
[all …]
/netbsd-src/external/lgpl3/gmp/dist/
H A DChangeLog27043 (Integer Division - mpz_[cft]div_*): Merge descriptions, for brevity