]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/device-mapper.h
x86: Add UV partition call v4
[linux-2.6-omap-h63xx.git] / include / linux / device-mapper.h
index 178390de195ebd474e05d294f9f0db4f120577a5..08d783592b73ef4ef6bf8f2b03c8b1359ebe5b40 100644 (file)
@@ -207,6 +207,7 @@ int dm_copy_name_and_uuid(struct mapped_device *md, char *name, char *uuid);
 struct gendisk *dm_disk(struct mapped_device *md);
 int dm_suspended(struct mapped_device *md);
 int dm_noflush_suspending(struct dm_target *ti);
+union map_info *dm_get_mapinfo(struct bio *bio);
 
 /*
  * Geometry functions.
@@ -236,6 +237,11 @@ int dm_table_add_target(struct dm_table *t, const char *type,
  */
 int dm_table_complete(struct dm_table *t);
 
+/*
+ * Unplug all devices in a table.
+ */
+void dm_table_unplug_all(struct dm_table *t);
+
 /*
  * Table reference counting.
  */
@@ -261,6 +267,11 @@ void dm_table_event(struct dm_table *t);
  */
 int dm_swap_table(struct mapped_device *md, struct dm_table *t);
 
+/*
+ * A wrapper around vmalloc.
+ */
+void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size);
+
 /*-----------------------------------------------------------------
  * Macros.
  *---------------------------------------------------------------*/