函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\user.c Create Date:2022-07-27 10:13:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static void free_user(struct user_struct *up, unsigned long flags)__releases(&uidhash_lock)

返回类型:void

参数:

类型参数名称
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  释放一个对象
调用者
名称描述
free_uid