函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mlock.c Create Date:2022-07-27 16:13:49
Last Modify:2022-05-23 14:12:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:user_shm_unlock

函数原型:void user_shm_unlock(size_t size, struct user_struct *user)

返回类型:void

参数:

类型参数名称
size_tsize
struct user_struct *user
869  加自旋锁
870  How many pages of mlocked shm ? 减等于sizePAGE_SIZE减1右移PAGE_SHIFT determines the page size
871  自旋锁解锁
872  free_uid(user)
调用者
名称描述
newsegwseg - Create a new shared memory segment*@ns: namespace*@params: ptr to the structure that contains key, size and shmflg* Called with shm_ids.rwsem held as a writer.
shm_destroy