/netbsd-src/external/gpl2/lvm2/dist/include/ |
H A D | dm-ioctl.h | 105 struct dm_ioctl { struct 251 #define DM_VERSION _IOWR(DM_IOCTL, DM_VERSION_CMD, struct dm_ioctl) 252 #define DM_REMOVE_ALL _IOWR(DM_IOCTL, DM_REMOVE_ALL_CMD, struct dm_ioctl) 253 #define DM_LIST_DEVICES _IOWR(DM_IOCTL, DM_LIST_DEVICES_CMD, struct dm_ioctl) 255 #define DM_DEV_CREATE _IOWR(DM_IOCTL, DM_DEV_CREATE_CMD, struct dm_ioctl) 256 #define DM_DEV_REMOVE _IOWR(DM_IOCTL, DM_DEV_REMOVE_CMD, struct dm_ioctl) 257 #define DM_DEV_RENAME _IOWR(DM_IOCTL, DM_DEV_RENAME_CMD, struct dm_ioctl) 258 #define DM_DEV_SUSPEND _IOWR(DM_IOCTL, DM_DEV_SUSPEND_CMD, struct dm_ioctl) 259 #define DM_DEV_STATUS _IOWR(DM_IOCTL, DM_DEV_STATUS_CMD, struct dm_ioctl) 260 #define DM_DEV_WAIT _IOWR(DM_IOCTL, DM_DEV_WAIT_CMD, struct dm_ioctl) [all …]
|
/netbsd-src/external/gpl2/lvm2/dist/libdm/misc/ |
H A D | dm-ioctl.h | 105 struct dm_ioctl { struct 251 #define DM_VERSION _IOWR(DM_IOCTL, DM_VERSION_CMD, struct dm_ioctl) 252 #define DM_REMOVE_ALL _IOWR(DM_IOCTL, DM_REMOVE_ALL_CMD, struct dm_ioctl) 253 #define DM_LIST_DEVICES _IOWR(DM_IOCTL, DM_LIST_DEVICES_CMD, struct dm_ioctl) 255 #define DM_DEV_CREATE _IOWR(DM_IOCTL, DM_DEV_CREATE_CMD, struct dm_ioctl) 256 #define DM_DEV_REMOVE _IOWR(DM_IOCTL, DM_DEV_REMOVE_CMD, struct dm_ioctl) 257 #define DM_DEV_RENAME _IOWR(DM_IOCTL, DM_DEV_RENAME_CMD, struct dm_ioctl) 258 #define DM_DEV_SUSPEND _IOWR(DM_IOCTL, DM_DEV_SUSPEND_CMD, struct dm_ioctl) 259 #define DM_DEV_STATUS _IOWR(DM_IOCTL, DM_DEV_STATUS_CMD, struct dm_ioctl) 260 #define DM_DEV_WAIT _IOWR(DM_IOCTL, DM_DEV_WAIT_CMD, struct dm_ioctl) [all …]
|
/netbsd-src/external/gpl2/lvm2/dist/libdm/ioctl/ |
H A D | libdm-compat.h | 87 #define DM_VERSION_V1 _IOWR(DM_IOCTL, DM_VERSION_CMD_V1, struct dm_ioctl) 88 #define DM_REMOVE_ALL_V1 _IOWR(DM_IOCTL, DM_REMOVE_ALL_CMD_V1, struct dm_ioctl) 90 #define DM_DEV_CREATE_V1 _IOWR(DM_IOCTL, DM_DEV_CREATE_CMD_V1, struct dm_ioctl) 91 #define DM_DEV_REMOVE_V1 _IOWR(DM_IOCTL, DM_DEV_REMOVE_CMD_V1, struct dm_ioctl) 92 #define DM_DEV_RELOAD_V1 _IOWR(DM_IOCTL, DM_DEV_RELOAD_CMD_V1, struct dm_ioctl) 93 #define DM_DEV_SUSPEND_V1 _IOWR(DM_IOCTL, DM_DEV_SUSPEND_CMD_V1, struct dm_ioctl) 94 #define DM_DEV_RENAME_V1 _IOWR(DM_IOCTL, DM_DEV_RENAME_CMD_V1, struct dm_ioctl) 95 #define DM_DEV_DEPS_V1 _IOWR(DM_IOCTL, DM_DEV_DEPS_CMD_V1, struct dm_ioctl) 96 #define DM_DEV_STATUS_V1 _IOWR(DM_IOCTL, DM_DEV_STATUS_CMD_V1, struct dm_ioctl) 98 #define DM_TARGET_STATUS_V1 _IOWR(DM_IOCTL, DM_TARGET_STATUS_CMD_V1, struct dm_ioctl) [all …]
|
H A D | libdm_netbsd.c | 55 static int dm_list_versions(libdm_task_t, struct dm_ioctl *); 56 static int dm_list_devices(libdm_task_t, struct dm_ioctl *); 57 static int dm_dev_deps(libdm_task_t, struct dm_ioctl *); 58 static int dm_table_status(libdm_task_t, struct dm_ioctl *); 101 struct dm_ioctl* 104 struct dm_ioctl *dmi; in nbsd_dm_dict_to_dmi() 149 dmi->data_start = sizeof(struct dm_ioctl); in nbsd_dm_dict_to_dmi() 190 dm_list_versions(libdm_task_t task, struct dm_ioctl *dmi) in dm_list_versions() 254 dm_list_devices(libdm_task_t task, struct dm_ioctl *dmi) in dm_list_devices() 316 dm_table_status(libdm_task_t task, struct dm_ioctl *dmi) in dm_table_status() [all …]
|
H A D | libdm-targets.h | 24 struct dm_ioctl; 53 struct dm_ioctl *v4;
|
H A D | libdm-iface.c | 904 static int _unmarshal_status(struct dm_task *dmt, struct dm_ioctl *dmi) in _unmarshal_status() 1268 static struct dm_ioctl *_flatten(struct dm_task *dmt, unsigned repeat_count) in _flatten() 1273 struct dm_ioctl *dmi; in _flatten() 1276 size_t len = sizeof(struct dm_ioctl); in _flatten() 1353 dmi->data_start = sizeof(struct dm_ioctl); in _flatten() 1699 static struct dm_ioctl *_do_dm_ioctl(struct dm_task *dmt, unsigned command, in _do_dm_ioctl() 1702 struct dm_ioctl *dmi; in _do_dm_ioctl() 1798 struct dm_ioctl *dmi; in dm_task_run()
|
H A D | libdm-nbsd-iface.c | 349 static int _unmarshal_status(struct dm_task *dmt, struct dm_ioctl *dmi) in _unmarshal_status() 1030 static struct dm_ioctl *_do_dm_ioctl(struct dm_task *dmt, unsigned command) in _do_dm_ioctl() 1032 struct dm_ioctl *dmi; in _do_dm_ioctl() 1094 struct dm_ioctl *dmi; in dm_task_run()
|
/netbsd-src/sys/dev/dm/doc/ |
H A D | design.txt | 81 struct dm_ioctl in userspace. Kernel driver will list through 113 Kernel driver will find device with name from struct dm_ioctl-name/uuid. 114 Change name of selected device to string found behind struct dm_ioctl header 137 Kernel driver will find device with name from struct dm_ioctl-name/uuid. 138 Change values minor,open_count,target_count in dm_ioctl struct for 161 Kernel driver will find device with name from struct dm_ioctl-name/uuid. 194 Kernel driver will find device with name from struct dm_ioctl-name/uuid. 195 DM driver will copyout dm_target_spec structures behind struct dm_ioctl. 242 device-mapper tables -> table dm_table.c, dm_ioctl.c 292 1a) struct dm_ioctl based ioctl calls [all …]
|
/netbsd-src/external/gpl2/lvm2/lib/libdevmapper/ |
H A D | libdm-netbsd.h | 55 struct dm_ioctl* nbsd_dm_dict_to_dmi(libdm_task_t, const int);
|
/netbsd-src/sys/rump/dev/lib/libdm/ |
H A D | Makefile | 10 SRCS= device-mapper.c dm_dev.c dm_ioctl.c dm_pdev.c dm_table.c dm_target.c \
|
/netbsd-src/sys/modules/dm/ |
H A D | Makefile | 9 SRCS= device-mapper.c dm_dev.c dm_ioctl.c dm_pdev.c dm_table.c dm_target.c \
|
/netbsd-src/sys/dev/dm/ |
H A D | files.dm | 4 file dev/dm/dm_ioctl.c dm
|
/netbsd-src/external/gpl2/lvm2/dist/ |
H A D | WHATS_NEW_DM | 277 Fix memory leak (struct dm_ioctl) when struct dm_task is reused.
|