]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/device-mapper.h
iommu sg: add IOMMU helper functions for the free area management
[mv-sheeva.git] / include / linux / device-mapper.h
index 8b3c7cdc599c6739e2f33f4e4e27698772642211..e765e191663dde89ecc150639d2d4eee1096ae88 100644 (file)
@@ -115,7 +115,9 @@ struct io_restrictions {
        unsigned short          max_hw_segments;
        unsigned short          hardsect_size;
        unsigned int            max_segment_size;
+       unsigned int            max_hw_sectors;
        unsigned long           seg_boundary_mask;
+       unsigned long           bounce_pfn;
        unsigned char           no_cluster; /* inverted so that 0 is default */
 };
 
@@ -183,6 +185,8 @@ int dm_resume(struct mapped_device *md);
  */
 uint32_t dm_get_event_nr(struct mapped_device *md);
 int dm_wait_event(struct mapped_device *md, int event_nr);
+uint32_t dm_next_uevent_seq(struct mapped_device *md);
+void dm_uevent_add(struct mapped_device *md, struct list_head *elist);
 
 /*
  * Info functions.