函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lookup_undo

函数原型:static struct sem_undo *lookup_undo(struct sem_undo_list *ulp, int semid)

返回类型:struct sem_undo

参数:

类型参数名称
struct sem_undo_list *ulp
intsemid
1867  assert_spin_locked( & lock)
1869  un等于__lookup_undo(ulp, semid)
1870  如果un
1871  删除不需要重新初始化的列表项
1872  添加RCU保护项
1874  返回:un
调用者
名称描述
find_alloc_undod_alloc_undo - lookup (and if not present create) undo array*@ns: namespace*@semid: semaphore array id* The function looks up (and if not present creates) the undo structure.* The size of the undo structure depends on the size of the semaphore