alistair23-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.h Bluetooth: Add framework for Extended Controller Information 2016-09-19 20:19:34 +02: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
l2cap.h
mgmt.h Bluetooth: Add support for appearance in scan rsp 2016-09-19 20:19:34 +02:00
rfcomm.h
sco.h