alistair23-linux/net/bluetooth
David Howells aa563d7bca iov_iter: Separate type from direction and use accessor functions
In the iov_iter struct, separate the iterator type from the iterator
direction and use accessor functions to access them in most places.

Convert a bunch of places to use switch-statements to access them rather
then chains of bitwise-AND statements.  This makes it easier to add further
iterator types.  Also, this can be more efficient as to implement a switch
of small contiguous integers, the compiler can use ~50% fewer compare
instructions than it has to use bitwise-and instructions.

Further, cease passing the iterator type into the iterator setup function.
The iterator function can set that itself.  Only the direction is required.

Signed-off-by: David Howells <dhowells@redhat.com>
2018-10-24 00:41:07 +01:00
..
bnep Bluetooth: Remove unnecessary smp_mb__{before,after}_atomic 2018-09-27 11:59:58 +02:00
cmtp Bluetooth: Remove unnecessary smp_mb__{before,after}_atomic 2018-09-27 11:59:58 +02:00
hidp Bluetooth: Remove unnecessary smp_mb__{before,after}_atomic 2018-09-27 11:59:58 +02:00
rfcomm Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL 2018-06-28 10:40:47 -07:00
6lowpan.c iov_iter: Separate type from direction and use accessor functions 2018-10-24 00:41:07 +01:00
a2mp.c iov_iter: Separate type from direction and use accessor functions 2018-10-24 00:41:07 +01:00
a2mp.h
af_bluetooth.c Bluetooth: Use lock_sock_nested in bt_accept_enqueue 2018-07-18 14:10:29 +02:00
amp.c
amp.h
ecdh_helper.c
ecdh_helper.h
hci_conn.c Bluetooth: Implement Set ADV set random address 2018-07-30 13:44:53 +02:00
hci_core.c Bluetooth: Fix debugfs NULL pointer dereference 2018-09-28 20:53:48 +02:00
hci_debugfs.c Bluetooth: Store Resolv list size 2018-07-06 12:40:08 +02:00
hci_debugfs.h
hci_event.c Bluetooth: Add definitions and track LE resolve list modification 2018-09-27 12:38:52 +02:00
hci_request.c Bluetooth: Implement secondary advertising on different PHYs 2018-07-30 13:44:53 +02:00
hci_request.h Bluetooth: Implement Set ADV set random address 2018-07-30 13:44:53 +02:00
hci_sock.c Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL 2018-06-28 10:40:47 -07:00
hci_sysfs.c
Kconfig
l2cap_core.c Bluetooth: L2CAP: Detect if remote is not able to use the whole MPS 2018-09-27 12:52:08 +02:00
l2cap_sock.c Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL 2018-06-28 10:40:47 -07:00
leds.c leds: triggers: let struct led_trigger::activate() return an error code 2018-07-05 23:21:10 +02:00
leds.h
lib.c
Makefile
mgmt.c Bluetooth: SMP: fix crash in unpairing 2018-09-26 12:39:32 +03:00
mgmt_util.c
mgmt_util.h
sco.c Bluetooth: avoid killing an already killed socket 2018-07-16 15:14:56 +02:00
selftest.c
selftest.h
smp.c iov_iter: Separate type from direction and use accessor functions 2018-10-24 00:41:07 +01:00
smp.h Bluetooth: SMP: fix crash in unpairing 2018-09-26 12:39:32 +03:00