Home
last modified time | relevance | path

Searched refs:unix_gc_lock (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/unix/
H A Dscm.c21 DEFINE_SPINLOCK(unix_gc_lock); variable
22 EXPORT_SYMBOL(unix_gc_lock); variable
52 spin_lock(&unix_gc_lock); in unix_inflight()
67 spin_unlock(&unix_gc_lock); in unix_inflight()
74 spin_lock(&unix_gc_lock); in unix_notinflight()
88 spin_unlock(&unix_gc_lock); in unix_notinflight()
H A Dgarbage.c214 spin_lock(&unix_gc_lock); in unix_gc()
227 * Holding unix_gc_lock will protect these candidates from in unix_gc()
315 spin_unlock(&unix_gc_lock); in unix_gc()
333 spin_lock(&unix_gc_lock); in unix_gc()
350 spin_unlock(&unix_gc_lock); in unix_gc()
H A Dscm.h5 extern spinlock_t unix_gc_lock;
H A Daf_unix.c1554 * protected by unix_gc_lock, total_refs (file count) is not, hence this in unix_peek_fds()
1561 * candidates (*) does not change while unix_gc_lock is held. in unix_peek_fds()
1568 * that takes unix_gc_lock to decrement the inflight count, so it's in unix_peek_fds()
1587 spin_lock(&unix_gc_lock); in unix_peek_fds()
1588 spin_unlock(&unix_gc_lock); in unix_peek_fds()
/kernel/linux/linux-6.6/net/unix/
H A Dscm.c21 DEFINE_SPINLOCK(unix_gc_lock); variable
22 EXPORT_SYMBOL(unix_gc_lock); variable
51 spin_lock(&unix_gc_lock); in unix_inflight()
66 spin_unlock(&unix_gc_lock); in unix_inflight()
73 spin_lock(&unix_gc_lock); in unix_notinflight()
87 spin_unlock(&unix_gc_lock); in unix_notinflight()
H A Dgarbage.c214 spin_lock(&unix_gc_lock); in unix_gc()
227 * Holding unix_gc_lock will protect these candidates from in unix_gc()
307 spin_unlock(&unix_gc_lock); in unix_gc()
325 spin_lock(&unix_gc_lock); in unix_gc()
342 spin_unlock(&unix_gc_lock); in unix_gc()
H A Dscm.h5 extern spinlock_t unix_gc_lock;
H A Daf_unix.c1785 * protected by unix_gc_lock, total_refs (file count) is not, hence this in unix_peek_fds()
1792 * candidates (*) does not change while unix_gc_lock is held. in unix_peek_fds()
1799 * that takes unix_gc_lock to decrement the inflight count, so it's in unix_peek_fds()
1818 spin_lock(&unix_gc_lock); in unix_peek_fds()
1819 spin_unlock(&unix_gc_lock); in unix_peek_fds()

Completed in 13 milliseconds