android_kernel_xiaomi_sm8350/drivers/infiniband/core
Roland Dreier 3463175d6e IB/uverbs: Factor out common idr code
Factor out common code for adding a userspace object to an idr into a
function idr_add_uobj().  This shrinks both the source and object code:

add/remove: 1/0 grow/shrink: 0/6 up/down: 57/-220 (-163)
function                                     old     new   delta
idr_add_uobj                                   -      57     +57
ib_uverbs_create_ah                          543     512     -31
ib_uverbs_create_srq                         662     630     -32
ib_uverbs_reg_mr                             737     699     -38
ib_uverbs_create_cq                          639     600     -39
ib_uverbs_alloc_pd                           485     446     -39
ib_uverbs_create_qp                         1020     979     -41

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-06-17 20:37:40 -07:00
..
addr.c IB: address translation to map IP toIB addresses (GIDs) 2006-06-17 20:37:28 -07:00
agent.c
agent.h
cache.c IB: Add caching of ports' LMC 2006-06-17 20:37:34 -07:00
cm_msgs.h
cm.c IB/cm: Use address handle helpers 2006-06-17 20:37:40 -07:00
cma.c IB: IP address based RDMA connection manager 2006-06-17 20:37:29 -07:00
core_priv.h
device.c
fmr_pool.c IB/fmr: Use device's max_map_map_per_fmr attribute in FMR pool. 2006-06-17 20:37:37 -07:00
mad_priv.h IB: Make needlessly global ib_mad_cache static 2006-06-17 20:37:31 -07:00
mad_rmpp.c IB: refcount race fixes 2006-05-12 14:57:52 -07:00
mad_rmpp.h
mad.c IB/mad: Check GID/LID when matching requests 2006-06-17 20:37:34 -07:00
Makefile IB: IP address based RDMA connection manager 2006-06-17 20:37:29 -07:00
packer.c
sa_query.c IB/cm: Use address handle helpers 2006-06-17 20:37:40 -07:00
smi.c
smi.h
sysfs.c IB: Fix display of 4-bit port counters in sysfs 2006-05-09 10:50:28 -07:00
ucm.c IB/ucm: Get rid of duplicate P_Key parameter 2006-06-17 20:37:39 -07:00
ud_header.c
user_mad.c IB/mad: RMPP support for additional classes 2006-03-30 07:19:51 -08:00
uverbs_cmd.c IB/uverbs: Factor out common idr code 2006-06-17 20:37:40 -07:00
uverbs_main.c
uverbs_marshall.c IB: common handling for marshalling parameters to/from userspace 2006-06-17 20:37:27 -07:00
uverbs_mem.c IB/uverbs: Don't leak ref to mm on error path 2006-05-17 22:20:50 -07:00
uverbs.h
verbs.c IB: Add ib_init_ah_from_wc() 2006-06-17 20:37:39 -07:00