Home
last modified time | relevance | path

Searched refs:format_type (Results 1 – 25 of 41) sorted by relevance

12

/dflybsd-src/contrib/lvm2/dist/include/
H A Dmetadata.h158 int (*pv_analyze_mda) (const struct format_type * fmt,
202 int (*scan) (const struct format_type * fmt);
207 int (*pv_read) (const struct format_type * fmt, const char *pv_name,
215 int (*pv_setup) (const struct format_type * fmt,
227 int (*pv_write) (const struct format_type * fmt,
253 struct format_instance *(*create_instance) (const struct format_type *
266 void (*destroy) (const struct format_type * fmt);
285 int get_pv_from_vg_by_id(const struct format_type *fmt, const char *vg_name,
379 const struct format_type *pv_format_type(const struct physical_volume *pv);
H A Dlvmcache.h35 struct format_type;
42 const struct format_type *fmt;
60 const struct format_type *fmt;
78 int lvmcache_add_orphan_vginfo(const char *vgname, struct format_type *fmt);
92 const struct format_type *fmt_from_vgname(const char *vgname, const char *vgid);
H A Dformat-text.h48 struct format_type *create_text_format(struct cmd_context *cmd);
52 struct labeller *text_labeller_create(const struct format_type *fmt);
60 int add_mda(const struct format_type *fmt, struct dm_pool *mem, struct dm_list *mdas,
64 const char *vgname_from_mda(const struct format_type *fmt,
H A Dtoolcontext.h42 struct format_type *fmt;
60 const struct format_type *fmt; /* Current format to use by default */
61 struct format_type *fmt_backup; /* Format to use for backups */
H A Dformat1.h28 struct format_type *init_lvm1_format(struct cmd_context *cmd);
H A Dformat_pool.h27 struct format_type *init_pool_format(struct cmd_context *cmd);
/dflybsd-src/contrib/lvm2/dist/lib/metadata/
H A Dmetadata.h158 int (*pv_analyze_mda) (const struct format_type * fmt,
202 int (*scan) (const struct format_type * fmt);
207 int (*pv_read) (const struct format_type * fmt, const char *pv_name,
215 int (*pv_setup) (const struct format_type * fmt,
227 int (*pv_write) (const struct format_type * fmt,
253 struct format_instance *(*create_instance) (const struct format_type *
266 void (*destroy) (const struct format_type * fmt);
285 int get_pv_from_vg_by_id(const struct format_type *fmt, const char *vg_name,
379 const struct format_type *pv_format_type(const struct physical_volume *pv);
/dflybsd-src/contrib/lvm2/dist/lib/cache/
H A Dlvmcache.h35 struct format_type;
42 const struct format_type *fmt;
60 const struct format_type *fmt;
78 int lvmcache_add_orphan_vginfo(const char *vgname, struct format_type *fmt);
92 const struct format_type *fmt_from_vgname(const char *vgname, const char *vgid);
/dflybsd-src/contrib/lvm2/dist/lib/format_text/
H A Dformat-text.h48 struct format_type *create_text_format(struct cmd_context *cmd);
52 struct labeller *text_labeller_create(const struct format_type *fmt);
60 int add_mda(const struct format_type *fmt, struct dm_pool *mem, struct dm_list *mdas,
64 const char *vgname_from_mda(const struct format_type *fmt,
H A Dformat-text.c42 static struct mda_header *_raw_read_mda_header(const struct format_type *fmt,
45 static struct format_instance *_text_create_text_instance(const struct format_type
145 static int _pv_analyze_mda_raw (const struct format_type * fmt, in _pv_analyze_mda_raw()
300 static struct mda_header *_raw_read_mda_header(const struct format_type *fmt, in _raw_read_mda_header()
346 static int _raw_write_mda_header(const struct format_type *fmt, in _raw_write_mda_header()
991 static int _scan_file(const struct format_type *fmt) in _scan_file()
1040 const char *vgname_from_mda(const struct format_type *fmt, in vgname_from_mda()
1143 static int _scan_raw(const struct format_type *fmt) in _scan_raw()
1171 static int _text_scan(const struct format_type *fmt) in _text_scan()
1178 static int _mda_setup(const struct format_type *fmt, in _mda_setup()
[all …]
H A Dimport-export.h54 const char *(*read_vgname) (const struct format_type *fmt,
81 const char *text_vgname_import(const struct format_type *fmt,
/dflybsd-src/contrib/lvm2/dist/lib/format_pool/
H A Dformat_pool.c193 static int _pool_pv_setup(const struct format_type *fmt __attribute((unused)), in _pool_pv_setup()
208 static int _pool_pv_read(const struct format_type *fmt, const char *pv_name, in _pool_pv_read()
252 static struct format_instance *_pool_create_instance(const struct format_type *fmt, in _pool_create_instance()
289 static void _pool_destroy(const struct format_type *fmt) in _pool_destroy()
305 struct format_type *init_pool_format(struct cmd_context *cmd) in init_pool_format()
307 struct format_type *init_format(struct cmd_context *cmd); in init_pool_format()
308 struct format_type *init_format(struct cmd_context *cmd)
311 struct format_type *fmt = dm_malloc(sizeof(*fmt));
H A Ddisk_rep.h145 int import_pool_pvs(const struct format_type *fmt, struct volume_group *vg,
147 int import_pool_pv(const struct format_type *fmt, struct dm_pool *mem,
152 int read_pool_pds(const struct format_type *fmt, const char *vgname,
154 struct pool_list *read_pool_disk(const struct format_type *fmt,
H A Ddisk_rep.c38 static int __read_pool_disk(const struct format_type *fmt, struct device *dev, in __read_pool_disk()
241 static int _read_vg_pds(const struct format_type *fmt, struct dm_pool *mem, in _read_vg_pds()
304 int read_pool_pds(const struct format_type *fmt, const char *vg_name, in read_pool_pds()
349 struct pool_list *read_pool_disk(const struct format_type *fmt, in read_pool_disk()
H A Dpool_label.h23 struct labeller *pool_labeller_create(struct format_type *fmt);
H A Dformat_pool.h27 struct format_type *init_pool_format(struct cmd_context *cmd);
/dflybsd-src/contrib/lvm2/dist/lib/commands/
H A Dtoolcontext.h42 struct format_type *fmt;
60 const struct format_type *fmt; /* Current format to use by default */
61 struct format_type *fmt_backup; /* Format to use for backups */
/dflybsd-src/contrib/lvm2/dist/lib/format1/
H A Ddisk-rep.h195 struct disk_list *read_disk(const struct format_type *fmt, struct device *dev,
198 int read_pvs_in_vg(const struct format_type *fmt, const char *vg_name,
202 int write_disks(const struct format_type *fmt, struct dm_list *pvds);
208 int import_pv(const struct format_type *fmt, struct dm_pool *mem,
228 int import_pvs(const struct format_type *fmt, struct dm_pool *mem,
H A Dformat1.c266 static int _format1_pv_read(const struct format_type *fmt, const char *pv_name, in _format1_pv_read()
298 static int _format1_pv_setup(const struct format_type *fmt, in _format1_pv_setup()
356 static int _format1_pv_write(const struct format_type *fmt, struct physical_volume *pv, in _format1_pv_write()
456 static struct format_instance *_format1_create_instance(const struct format_type *fmt, in _format1_create_instance()
488 static void _format1_destroy(const struct format_type *fmt) in _format1_destroy()
506 struct format_type *init_lvm1_format(struct cmd_context *cmd) in init_lvm1_format()
508 struct format_type *init_format(struct cmd_context *cmd); in init_lvm1_format()
509 struct format_type *init_format(struct cmd_context *cmd)
512 struct format_type *fmt = dm_malloc(sizeof(*fmt));
H A Ddisk-rep.c325 static void __update_lvmcache(const struct format_type *fmt, in __update_lvmcache()
345 static struct disk_list *__read_disk(const struct format_type *fmt, in __read_disk()
415 struct disk_list *read_disk(const struct format_type *fmt, struct device *dev, in read_disk()
461 int read_pvs_in_vg(const struct format_type *fmt, const char *vg_name, in read_pvs_in_vg()
655 static int __write_all_pvd(const struct format_type *fmt __attribute((unused)), in __write_all_pvd()
705 static int _write_all_pvd(const struct format_type *fmt, struct disk_list *data) in _write_all_pvd()
725 int write_disks(const struct format_type *fmt, struct dm_list *pvs) in write_disks()
H A Dlvm1-label.h23 struct labeller *lvm1_labeller_create(struct format_type *fmt);
H A Dformat1.h28 struct format_type *init_lvm1_format(struct cmd_context *cmd);
/dflybsd-src/contrib/xz/src/xz/
H A Dcoder.h22 enum format_type { enum
38 extern enum format_type opt_format;
/dflybsd-src/contrib/gcc-4.7/gcc/c-family/
H A Dc-format.c63 enum format_type { printf_format_type, asm_fprintf_format_type, enum
72 int format_type; /* type of format (printf, scanf, etc.) */ member
290 info->format_type = decode_format_type (p); in decode_format_attr()
293 && info->format_type == gcc_objc_string_format_type) in decode_format_attr()
298 info->format_type = format_type_error; in decode_format_attr()
302 if (info->format_type == format_type_error) in decode_format_attr()
1038 && (format_types[info.format_type].flags in check_function_format()
1048 == info.format_type)) in check_function_format()
1069 format_types[info.format_type].name); in check_function_format()
1370 if (!(format_types[info->format_type].flags & (int) FMT_FLAG_ARG_CONVERT)) in check_format_info()
[all …]
/dflybsd-src/contrib/gcc-8.0/gcc/c-family/
H A Dc-format.c43 enum format_type { printf_format_type, asm_fprintf_format_type, enum
52 int format_type; /* type of format (printf, scanf, etc.) */ member
304 info->format_type = decode_format_type (p); in decode_format_attr()
307 && info->format_type == gcc_objc_string_format_type) in decode_format_attr()
312 info->format_type = format_type_error; in decode_format_attr()
316 if (info->format_type == format_type_error) in decode_format_attr()
1119 && (format_types[info.format_type].flags in check_function_format()
1132 == info.format_type)) in check_function_format()
1154 format_types[info.format_type].name); in check_function_format()
1461 if (!(format_types[info->format_type].flags & (int) FMT_FLAG_ARG_CONVERT)) in check_format_info()
[all …]

12