函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Try to leave the mode that disallows simple operations:* Caller must own sem_perm.lock.

函数原型:static void complexmode_tryleave(struct sem_array *sma)

返回类型:void

参数:

类型参数名称
struct sem_array *sma
340  如果pending complex operations
344  返回
346  如果>0: global lock required 恒等于1则
353  smp_store_release( & >0: global lock required , 0)
354  否则
355  >0: global lock required 自减
调用者
名称描述
sem_unlock
sysvipc_sem_proc_show