Files
kernel_google_wahoo/include/uapi/linux
Martijn Coenen edaed8a883 android: binder: support for scatter-gather.
Previously all data passed over binder needed
to be serialized, with the exception of Binder
objects and file descriptors.

This patchs adds support for scatter-gathering raw
memory buffers into a binder transaction, avoiding
the need to first serialize them into a Parcel.

To remain backwards compatibile with existing
binder clients, it introduces two new command
ioctls for this purpose - BC_TRANSACTION_SG and
BC_REPLY_SG. These commands may only be used with
the new binder_transaction_data_sg structure,
which adds a field for the total size of the
buffers we are scatter-gathering.

Because memory buffers may contain pointers to
other buffers, we allow callers to specify
a parent buffer and an offset into it, to indicate
this is a location pointing to the buffer that
we are fixing up. The kernel will then take care
of fixing up the pointer to that buffer as well.

Change-Id: Ia9bb2c588d932b6627a04baf4a62a09ae6aca087
Signed-off-by: Martijn Coenen <maco@google.com>
Git-commit: 34b8f97791
Git-repo: https://git.linaro.org/kernel/linux-linaro-stable
[tsoni@codeaurora.org: Fixed 32 bit compilation]
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
2017-02-02 09:30:50 -08:00
..
2015-10-13 17:42:34 +02:00
2015-04-21 16:16:02 -04:00
2016-03-22 11:04:51 -07:00
2015-10-05 03:16:46 -07:00
2015-08-25 14:41:50 -05:00
2016-03-22 11:10:20 -07:00
2016-03-22 11:16:34 -07:00
2015-04-12 21:25:13 -04:00
2016-03-22 11:04:54 -07:00
2016-03-22 11:07:51 -07:00
2015-05-25 13:25:35 -04:00
2015-02-17 14:34:51 -08:00
2015-08-03 17:30:00 -07:00
2016-04-13 11:12:20 -07:00
2015-07-21 10:39:05 -07:00
2015-01-20 13:51:06 +01:00
2016-03-22 11:08:56 -07:00
2016-03-22 11:07:51 -07:00
2015-05-05 13:40:44 -06:00
2015-02-02 18:46:51 -08:00
2016-03-22 11:09:38 -07:00
2015-08-27 19:44:53 -04:00
2015-04-23 15:16:14 -04:00
2015-07-20 14:58:46 -04:00
2015-09-17 21:09:07 -07:00
2016-03-23 19:57:25 -07:00
2016-03-23 19:57:25 -07:00
2016-08-20 19:04:33 -07:00
2016-03-22 11:09:38 -07:00
2016-04-22 11:57:49 -07:00
2016-03-22 11:04:51 -07:00
2016-03-22 11:04:51 -07:00
2016-06-21 15:13:20 -07:00
2016-03-22 11:08:58 -07:00
2015-03-05 22:08:42 -05:00
2015-05-24 12:49:16 -07:00
2015-06-11 23:37:37 +02:00
2015-10-27 18:55:31 -07:00
2015-12-04 08:38:42 -07:00
2015-10-16 10:44:02 +02:00
2015-06-03 14:17:38 +02:00
2015-03-29 12:13:52 +10:30
2015-03-31 13:58:35 -04:00