linux_dsm_epyc7002/drivers/scsi/bnx2fc
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
..
57xx_hsi_bnx2fc.h bnx2fc: Remove 'NetXtreme II' from source files. 2015-11-09 17:29:04 -08:00
bnx2fc_constants.h bnx2fc: Remove 'NetXtreme II' from source files. 2015-11-09 17:29:04 -08:00
bnx2fc_debug.c bnx2fc: Remove 'NetXtreme II' from source files. 2015-11-09 17:29:04 -08:00
bnx2fc_debug.h bnx2fc: Remove 'NetXtreme II' from source files. 2015-11-09 17:29:04 -08:00
bnx2fc_els.c scsi: bnx2fc: Mark symbols static where possible 2016-09-09 07:11:07 -04:00
bnx2fc_fcoe.c scsi/bnx2fc: Convert to hotplug state machine 2016-12-25 10:47:42 +01:00
bnx2fc_hwi.c scsi: bnx2fc: Mark symbols static where possible 2016-09-09 07:11:07 -04:00
bnx2fc_io.c locking/atomic, kref: Add kref_read() 2017-01-14 11:37:18 +01:00
bnx2fc_tgt.c scsi: libfc: Replace ->rport_logoff callback with function call 2016-11-08 17:29:55 -05:00
bnx2fc.h bnx2fc: Update version number to 2.10.3. 2016-04-15 16:53:11 -04:00
Kconfig bnx2fc: Remove 'NetXtreme II' from source files. 2015-11-09 17:29:04 -08:00
Makefile [SCSI] bnx2fc: Reduce object size by consolidating formats 2012-07-20 08:58:17 +01:00