atomic_add_int
#define DBG_COUNTER_INC(name) atomic_add_int(&(iflib_ ## name), 1)
atomic_add_int(refcnt, 1);
atomic_add_int(&(_ni)->ni_refcnt, 1)