Print this page
5045 use atomic_{inc,dec}_* instead of atomic_add_*

*** 147,157 **** }; #define CLONE2STATS(clone_xprt) \ ((struct cots_master_data *)(clone_xprt)->xp_master->xp_p2)->cmd_stats #define RSSTAT_INCR(s, x) \ ! atomic_add_64(&(s)->x.value.ui64, 1) /* * Pointer to a transport specific `ready to receive' function in rpcmod * (set from rpcmod). */ --- 147,157 ---- }; #define CLONE2STATS(clone_xprt) \ ((struct cots_master_data *)(clone_xprt)->xp_master->xp_p2)->cmd_stats #define RSSTAT_INCR(s, x) \ ! atomic_inc_64(&(s)->x.value.ui64) /* * Pointer to a transport specific `ready to receive' function in rpcmod * (set from rpcmod). */