Searched refs:nr_node (Results 1 – 1 of 1) sorted by relevance
108 struct nr_node { struct126 static __inline__ void nr_node_put(struct nr_node *nr_node) in nr_node_put() argument128 if (refcount_dec_and_test(&nr_node->refcount)) { in nr_node_put()129 kfree(nr_node); in nr_node_put()148 static __inline__ void nr_node_lock(struct nr_node *nr_node) in nr_node_lock() argument150 nr_node_hold(nr_node); in nr_node_lock()151 spin_lock_bh(&nr_node->node_lock); in nr_node_lock()154 static __inline__ void nr_node_unlock(struct nr_node *nr_node) in nr_node_unlock() argument156 spin_unlock_bh(&nr_node->node_lock); in nr_node_unlock()157 nr_node_put(nr_node); in nr_node_unlock()