函数逻辑报告

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

函数名称:uid_hash_find

函数原型:static struct user_struct *uid_hash_find(kuid_t uid, struct hlist_head *hashent)

返回类型:struct user_struct

参数:

类型参数名称
kuid_tuid
struct hlist_head *hashent
126  如果uid_eq(uid, uid)则
127  _inc - increment a refcount*@r: the refcount to increment* Similar to atomic_inc(), but will saturate at REFCOUNT_SATURATED and WARN
128  返回:user
132  返回:NULL
调用者
名称描述
find_userLocate the user_struct for the passed UID. If found, take a ref on it. The* caller must undo that ref with free_uid().* If the user_struct could not be found, return NULL.
alloc_uid