Lines Matching refs:refcount
3 * Out-of-line refcount functions.
7 #include <linux/refcount.h>
40 * refcount_dec_if_one - decrement a refcount if it is 1
41 * @r: the refcount
53 * Return: true if the resulting refcount is 0, false otherwise
64 * refcount_dec_not_one - decrement a refcount if it is not 1
65 * @r: the refcount
99 * refcount to 0
100 * @r: the refcount
110 * Return: true and hold mutex if able to decrement refcount to 0, false
130 * refcount to 0
131 * @r: the refcount
141 * Return: true and hold spinlock if able to decrement refcount to 0, false
161 * interrupts if able to decrement refcount to 0
162 * @r: the refcount
169 * Return: true and hold spinlock if able to decrement refcount to 0, false