| Function report | 
| Source Code: kernel\user.c | Create Date:2022-07-28 09:14:05 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:uid_cache_init
Proto:static int __init uid_cache_init(void)
Type:int
Parameter:Nothing
| 216 | uid_cachep = kmem_cache_create("uid_cache", sizeof(structuser_struct), 0, Align objs on cache lines | Panic if kmem_cache_create() fails , NULL) | 
| 219 | When n < UIDHASH_SZ cycle 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) | 
| 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 | Return 0 | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |