Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\user.c Create Date:2022-07-28 09:14:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:IRQs are disabled and uidhash_lock is held upon function entry.* IRQ state (as stored in flags) is restored and uidhash_lock released* upon function exit.

Proto:static void free_user(struct user_struct *up, unsigned long flags)__releases(&uidhash_lock)

Type:void

Parameter:

TypeParameterName
struct user_struct *up
unsigned longflags
142  uid_hash_remove(up)
143  spin_unlock_irqrestore( & The uidhash_lock is mostly taken from process context, but it is* occasionally also taken from softirq/tasklet context, when* task-structs get RCU-freed, flags)
144  Deallocate an object
Caller
NameDescribe
free_uid