函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:uid_cache_init

函数原型:static int __init uid_cache_init(void)

返回类型:int

参数:

216  uid_cachep等于创建高速缓存区
219 n小于UIDHASH_SZ循环INIT_HLIST_HEAD(uidhash_table + n)
223  spin_lock_irq( & 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)
224  These routines must be called with the uidhash spinlock held!
225  spin_unlock_irq( & 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)
227  返回:0