| /netbsd-src/usr.sbin/mmcformat/ |
| H A D | mmcformat.c | 574 uscsi_format_disc(struct uscsi_dev *mydev, int immed, int format_type, in uscsi_format_disc() argument 616 buffer[ 8] = (format_type << 2) | certification; in uscsi_format_disc() 693 uint32_t format_type, format_blks, format_param, blockingnr; in main() local 892 format_type = 0; in main() 916 format_type = 0x00; in main() 919 format_type = mrw ? 0x24 : 0x10; in main() 924 format_type = 0x10; in main() 932 format_type = mrw ? 0x24 : 0x26; in main() 935 format_type = spare ? 0x30 : 0x31; in main() 949 format_type = 0x01; in main() [all …]
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/metadata/ |
| H A D | metadata.h | 158 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);
|
| /netbsd-src/external/gpl2/lvm2/dist/include/ |
| H A D | metadata.h | 158 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 D | lvmcache.h | 35 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 D | format-text.h | 48 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 D | toolcontext.h | 42 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 */
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/cache/ |
| H A D | lvmcache.h | 35 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);
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/format_text/ |
| H A D | format-text.h | 48 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 D | format-text.c | 42 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 D | import-export.h | 54 const char *(*read_vgname) (const struct format_type *fmt, 81 const char *text_vgname_import(const struct format_type *fmt,
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/format_pool/ |
| H A D | format_pool.c | 193 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 D | disk_rep.h | 145 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 D | disk_rep.c | 38 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()
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/commands/ |
| H A D | toolcontext.h | 42 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 */
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/format1/ |
| H A D | disk-rep.h | 195 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 D | format1.c | 266 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 D | disk-rep.c | 325 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 D | lvm1-label.h | 23 struct labeller *lvm1_labeller_create(struct format_type *fmt);
|
| /netbsd-src/external/gpl2/groff/dist/src/preproc/tbl/ |
| H A D | table.h | 63 enum format_type { enum 76 format_type type; 78 entry_format(format_type);
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/c-family/ |
| H A D | c-format.cc | 45 enum format_type { printf_format_type, asm_fprintf_format_type, enum 55 enum format_type format_type; /* type of format (printf, scanf, etc.) */ member 75 static format_type decode_format_type (const char *, bool * = NULL); 354 info->format_type = decode_format_type (p, &info->is_raw); in decode_format_attr() 357 && info->format_type == gcc_objc_string_format_type) in decode_format_attr() 362 info->format_type = format_type_error; in decode_format_attr() 366 if (info->format_type == format_type_error) in decode_format_attr() 1112 static format_type 1129 return static_cast<format_type> (i); in decode_format_type() 1136 return static_cast<format_type>(i); in decode_format_type() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/ |
| H A D | c-format.c | 45 enum format_type { printf_format_type, asm_fprintf_format_type, enum 55 enum format_type format_type; /* type of format (printf, scanf, etc.) */ member 75 static format_type decode_format_type (const char *, bool * = NULL); 356 info->format_type = decode_format_type (p, &info->is_raw); in decode_format_attr() 359 && info->format_type == gcc_objc_string_format_type) in decode_format_attr() 364 info->format_type = format_type_error; in decode_format_attr() 368 if (info->format_type == format_type_error) in decode_format_attr() 1120 static format_type 1137 return static_cast<format_type> (i); in decode_format_type() 1144 return static_cast<format_type>(i); in decode_format_type() [all …]
|
| /netbsd-src/external/public-domain/xz/dist/src/xz/ |
| H A D | coder.h | 22 enum format_type { enum 38 extern enum format_type opt_format;
|
| /netbsd-src/external/bsd/kyua-cli/dist/utils/ |
| H A D | sanity.cpp | 137 format_type(const utils::assert_type type) in format_type() function 166 std::cerr << "*** " << file << ":" << line << ": " << format_type(type); in sanity_failure()
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/ |
| H A D | gettext-po.c | 1054 po_message_is_format (po_message_t message, const char *format_type) in po_message_is_format() argument 1057 size_t len = strlen (format_type); in po_message_is_format() 1060 if (len >= 7 && memcmp (format_type + len - 7, "-format", 7) == 0) in po_message_is_format() 1063 && memcmp (format_language[i], format_type, len - 7) == 0) in po_message_is_format() 1073 po_message_set_format (po_message_t message, const char *format_type, /*bool*/int value) in po_message_set_format() argument 1076 size_t len = strlen (format_type); in po_message_set_format() 1079 if (len >= 7 && memcmp (format_type + len - 7, "-format", 7) == 0) in po_message_set_format() 1082 && memcmp (format_language[i], format_type, len - 7) == 0) in po_message_set_format()
|
| /netbsd-src/external/gpl2/gettext/include/ |
| H A D | gettext-po.h | 300 extern int po_message_is_format (po_message_t message, const char *format_type); 303 extern void po_message_set_format (po_message_t message, const char *format_type, /*bool*/int value…
|