linux/include/net/bluetooth
Peter Zijlstra 2c935bc572 locking/atomic, kref: Add kref_read()
Since we need to change the implementation, stop exposing internals.

Provide kref_read() to read the current reference count; typically
used for debug messages.

Kills two anti-patterns:

	atomic_read(&kref->refcount)
	kref->refcount.counter

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-01-14 11:37:18 +01:00
..
bluetooth.h Bluetooth: __ variants of u8 and friends are not neccessary inside kernel 2016-11-27 07:41:05 +01:00
hci_core.h locking/atomic, kref: Add kref_read() 2017-01-14 11:37:18 +01:00
hci_mon.h Bluetooth: Add support for sending MGMT commands and events to monitor 2016-09-19 20:19:34 +02:00
hci_sock.h Bluetooth: Add support for controller specific logging 2015-11-19 17:50:28 +01:00
hci.h Bluetooth: Add framework for Extended Controller Information 2016-09-19 20:19:34 +02:00
l2cap.h Bluetooth: L2CAP: Introduce proper defines for PSM ranges 2016-01-29 11:47:24 +01:00
mgmt.h Bluetooth: Add support for appearance in scan rsp 2016-09-19 20:19:34 +02:00
rfcomm.h Bluetooth: Remove duplicate constant for RFCOMM PSM 2014-12-20 19:55:04 +02:00
sco.h Bluetooth: Move SCO timeout constants into net/bluetooth/sco.c 2014-07-11 13:58:58 +03:00