linux/drivers/infiniband/hw/cxgb3
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
..
cxio_dbg.c IB/cxgb3: Remove debug prints after allocation failure 2016-12-03 13:12:52 -05:00
cxio_hal.c RDMA/cxgb3: device driver frees DMA memory with different size 2016-05-24 11:19:46 -04:00
cxio_hal.h RDMA/cxgb3: Don't exceed the max HW CQ depth 2010-09-02 14:52:21 -07:00
cxio_resource.c RDMA: Rename random32() to prandom_u32() 2013-04-16 22:47:05 -07:00
cxio_resource.h
cxio_wr.h tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
iwch_cm.c iw_cxgb3: Remove deprecated create_singlethread_workqueue 2016-10-07 16:54:26 -04:00
iwch_cm.h locking/atomic, kref: Add kref_read() 2017-01-14 11:37:18 +01:00
iwch_cq.c IB: remove in-kernel support for memory windows 2015-12-23 14:29:04 -05:00
iwch_ev.c RDMA/cxgb3: Serialize calls to CQ's comp_handler 2011-10-31 11:33:17 -07:00
iwch_mem.c cxgb3: simplify iwch_get_dma_wr 2015-12-23 14:29:04 -05:00
iwch_provider.c IB/core: Let create_ah return extended response to user 2016-12-13 13:38:27 -05:00
iwch_provider.h cxgb3: simplify iwch_get_dma_wr 2015-12-23 14:29:04 -05:00
iwch_qp.c locking/atomic, kref: Add kref_read() 2017-01-14 11:37:18 +01:00
iwch.c IB/cxgb3: Move user vendor structures 2016-10-07 16:54:35 -04:00
iwch.h IB/cxgb3: convert to idr_alloc() 2013-02-27 19:10:16 -08:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile chelsio: Move the Chelsio drivers 2011-08-10 19:54:52 -07:00
tcb.h