コード例 #1
0
static inline void dec_slabs_node(struct kmem_cache *s, int node, int objects)
{
	struct kmem_cache_node *n = get_node(s, node);

	atomic_long_dec(&n->nr_slabs);
	atomic_long_sub(objects, &n->total_objects);
}
コード例 #2
0
ファイル: ff_wrapper.hpp プロジェクト: jzsu/fix8
	value_type operator-=(value_type value)
		{ atomic_long_sub(value, &_rep); return atomic_long_read(&_rep); }