Files
kernel_xiaomi_sm8250/include/linux
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-02 16:20:59 -08:00
2014-12-15 18:19:03 -08:00
2015-01-02 15:05:12 -07:00
2014-12-18 19:08:10 -08:00
2014-12-19 22:55:06 +01:00
2014-12-18 09:39:51 +01:00
2014-12-17 08:26:51 -05:00
2014-12-17 08:26:51 -05:00
2014-12-08 20:00:44 +01:00
2014-12-17 06:43:56 -05:00
2014-11-28 16:08:16 +01:00
2014-12-09 12:05:24 +02:00
2014-12-15 23:49:28 +02:00