Home
last modified time | relevance | path

Searched refs:lockref (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/lib/
A Dlockref.c42 void lockref_get(struct lockref *lockref) in lockref_get() argument
51 lockref->count++; in lockref_get()
61 int lockref_get_not_zero(struct lockref *lockref) in lockref_get_not_zero() argument
76 lockref->count++; in lockref_get_not_zero()
89 int lockref_put_not_zero(struct lockref *lockref) in lockref_put_not_zero() argument
104 lockref->count--; in lockref_put_not_zero()
119 int lockref_put_return(struct lockref *lockref) in lockref_put_return() argument
137 int lockref_put_or_lock(struct lockref *lockref) in lockref_put_or_lock() argument
150 lockref->count--; in lockref_put_or_lock()
160 void lockref_mark_dead(struct lockref *lockref) in lockref_mark_dead() argument
[all …]
A DMakefile43 obj-y += lockref.o
/linux-6.3-rc2/include/linux/
A Dlockref.h25 struct lockref { struct
37 extern void lockref_get(struct lockref *); argument
38 extern int lockref_put_return(struct lockref *);
39 extern int lockref_get_not_zero(struct lockref *);
40 extern int lockref_put_not_zero(struct lockref *);
41 extern int lockref_put_or_lock(struct lockref *);
43 extern void lockref_mark_dead(struct lockref *);
44 extern int lockref_get_not_dead(struct lockref *);
47 static inline bool __lockref_is_dead(const struct lockref *l) in __lockref_is_dead()
A Ddcache.h94 struct lockref d_lockref; /* per-dentry lock and refcount */
/linux-6.3-rc2/fs/gfs2/
A Dincore.h341 struct lockref gl_lockref;
445 struct lockref qd_lockref;
/linux-6.3-rc2/Documentation/filesystems/
A Dpath-lookup.rst167 This uses the lockref primitive to provide both a spinlock and a

Completed in 14 milliseconds