Lines Matching defs:cmd_context
56 struct cmd_context { struct
57 struct dm_pool *libmem; /* For permanent config data */
58 struct dm_pool *mem; /* Transient: Cleared between each command */
60 const struct format_type *fmt; /* Current format to use by default */
61 struct format_type *fmt_backup; /* Format to use for backups */
63 struct dm_list formats; /* Available formats */
64 struct dm_list segtypes; /* Available segment types */
65 const char *hostname;
66 const char *kernel_vsn;
68 unsigned rand_seed;
69 const char *cmd_line;
70 struct command *command;
71 char **argv;
72 unsigned is_long_lived:1; /* Optimises persistent_filter handling */
73 unsigned handles_missing_pvs:1;
74 unsigned handles_unknown_segments:1;
75 unsigned partial_activation:1;
76 unsigned si_unit_consistency:1;
78 struct dev_filter *filter;
79 int dump_filter; /* Dump filter when exiting? */
81 struct dm_list config_files;
82 int config_valid;
106 struct cmd_context *create_toolcontext(unsigned is_long_lived, argument