MCPcopy Create free account
hub / github.com/F-Stack/f-stack / lockmgr_sunlock_hard

Function lockmgr_sunlock_hard

freebsd/kern/kern_lock.c:1094–1109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1092}
1093
1094static __noinline int
1095lockmgr_sunlock_hard(struct lock *lk, uintptr_t x, u_int flags, struct lock_object *ilk,
1096 const char *file, int line)
1097
1098{
1099 int wakeup_swapper = 0;
1100
1101 if (KERNEL_PANICKED())
1102 goto out;
1103
1104 wakeup_swapper = wakeupshlk(lk, file, line);
1105
1106out:
1107 lockmgr_exit(flags, ilk, wakeup_swapper);
1108 return (0);
1109}
1110
1111static __noinline int
1112lockmgr_xunlock_hard(struct lock *lk, uintptr_t x, u_int flags, struct lock_object *ilk,

Callers 2

lockmgr_unlockFunction · 0.85
__lockmgr_argsFunction · 0.85

Calls 2

wakeupshlkFunction · 0.85
lockmgr_exitFunction · 0.85

Tested by

no test coverage detected