Lines Matching defs:count
71 PFLAG_NS_COUNT = 0x400, /* carries NS ref count */
96 * @count: current count of profiles (includes null profiles)
102 int count;
113 * @uniq_id: a unique id count for the profiles in the namespace
155 struct kref count;
162 * @count: reference count of the obj
200 struct kref count;
276 kref_get(&(p->count));
290 if (p && kref_get_not0(&p->count))
310 } while (c && !kref_get_not0(&c->count));
342 kref_put(&p->count, aa_free_profile_kref);
348 kref_get(&(p->count));
356 kref_put(&p->count, aa_free_replacedby_kref);
372 * aa_get_namespace - increment references count on @ns
373 * @ns: namespace to increment reference count of (MAYBE NULL)
390 * Decrement reference count of @ns and if no longer in use free it