Files
kernel_arpi/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-11-24 17:24:08 -05:00
2014-12-15 18:19:03 -08:00
2014-11-25 20:11:12 -08:00
2014-11-22 13:58:39 +05:30
2005-04-16 15:20:36 -07:00
2011-03-11 14:25:50 +00:00
2008-06-06 11:29:10 -07:00
2015-01-02 15:05:12 -07:00
2014-12-18 19:08:10 -08:00
2013-11-09 00:16:29 -05:00
2014-12-19 22:55:06 +01:00
2012-02-20 19:46:36 +11:00
2014-11-10 09:27:30 -07:00
2014-11-04 17:34:15 -08:00
2009-06-18 13:04:05 -07:00
2014-05-20 10:30:40 +09:00
2010-03-07 22:17:09 +01:00
2008-08-02 18:36:10 +01:00
2006-10-10 15:37:22 -07:00
2014-07-22 21:55:45 +01:00
2013-04-30 17:04:06 -07:00
2008-07-04 10:40:05 -07:00
2014-12-18 09:39:51 +01:00
2011-09-16 19:20:20 -04:00
2014-05-27 17:38:11 -07:00
2014-12-17 08:26:51 -05:00
2014-12-17 08:26:51 -05:00
2014-11-25 16:38:32 -05:00
2014-11-25 16:38:32 -05:00
2014-11-25 16:38:32 -05:00
2013-05-04 14:47:26 -04:00
2014-11-04 13:18:52 -07:00
2014-11-04 13:29:38 +00:00
2014-12-08 20:00:44 +01:00
2013-06-17 16:38:57 -07:00
2010-08-09 16:48:44 -04:00
2011-08-16 00:16:49 -07:00
2014-06-04 16:53:57 -07:00
2014-11-06 14:57:27 -08:00
2014-12-17 06:43:56 -05:00
2014-11-28 16:08:16 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2014-12-09 12:05:24 +02:00
2014-04-07 16:35:53 -07:00
2014-12-15 23:49:28 +02:00