Searched refs:oldp (Results 1 – 3 of 3) sorted by relevance
/include/linux/ |
D | refcount.h | 150 static inline __must_check bool __refcount_add_not_zero(int i, refcount_t *r, int *oldp) in __refcount_add_not_zero() argument 159 if (oldp) in __refcount_add_not_zero() 160 *oldp = old; in __refcount_add_not_zero() 191 static inline void __refcount_add(int i, refcount_t *r, int *oldp) in __refcount_add() argument 195 if (oldp) in __refcount_add() 196 *oldp = old; in __refcount_add() 225 static inline __must_check bool __refcount_inc_not_zero(refcount_t *r, int *oldp) in __refcount_inc_not_zero() argument 227 return __refcount_add_not_zero(1, r, oldp); in __refcount_inc_not_zero() 248 static inline void __refcount_inc(refcount_t *r, int *oldp) in __refcount_inc() argument 250 __refcount_add(1, r, oldp); in __refcount_inc() [all …]
|
D | nodemask.h | 348 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __node_remap() argument 350 return bitmap_bitremap(oldbit, oldp->bits, newp->bits, nbits); in __node_remap() 356 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __nodes_remap() argument 358 bitmap_remap(dstp->bits, srcp->bits, oldp->bits, newp->bits, nbits); in __nodes_remap()
|
/include/linux/atomic/ |
D | atomic-instrumented.h | 1842 #define try_cmpxchg(ptr, oldp, ...) \ argument 1845 typeof(oldp) __ai_oldp = (oldp); \ 1851 #define try_cmpxchg_acquire(ptr, oldp, ...) \ argument 1854 typeof(oldp) __ai_oldp = (oldp); \ 1860 #define try_cmpxchg_release(ptr, oldp, ...) \ argument 1863 typeof(oldp) __ai_oldp = (oldp); \ 1869 #define try_cmpxchg_relaxed(ptr, oldp, ...) \ argument 1872 typeof(oldp) __ai_oldp = (oldp); \
|