linux/Documentation
Matthew Wilcox dd22f551ac block: Change direct_access calling convention
In order to support accesses to larger chunks of memory, pass in a
'size' parameter (counted in bytes), and return the amount available at
that address.

Add a new helper function, bdev_direct_access(), to handle common
functionality including partition handling, checking the length requested
is positive, checking for the sector being page-aligned, and checking
the length of the request does not pass the end of the partition.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Boaz Harrosh <boaz@plexistor.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2015-01-13 21:58:11 -07:00
..
2014-12-18 20:24:55 -08:00
2014-10-09 22:26:02 -04:00
2014-12-18 20:14:49 -08:00
2014-05-05 15:32:05 +02:00
2014-02-28 15:12:08 -08:00
2014-08-25 03:28:09 -05:00
2014-11-20 11:08:55 +01:00
2014-12-10 17:41:10 -08:00
2014-06-11 08:35:34 -07:00
2014-12-15 11:45:15 -05:00
2014-12-14 14:57:16 -08:00
2014-06-19 17:45:14 -07:00
2014-05-05 15:32:05 +02:00
2014-03-21 13:16:58 +01:00
2014-03-21 13:16:58 +01:00
2014-12-08 09:07:11 -05:00
2014-08-08 15:57:24 -07:00
2014-11-21 19:48:50 +05:30
2014-05-05 15:32:05 +02:00
2014-05-05 15:32:05 +02:00
2014-05-05 15:32:05 +02:00
2014-09-23 23:44:16 -07:00