函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ksys_semtimedop

函数原型:long ksys_semtimedop(int semid, struct sembuf __user *tsops, unsigned int nsops, const struct __kernel_timespec __user *timeout)

返回类型:long

参数:

类型参数名称
intsemid
struct sembuf __user *tsops
unsigned intnsops
const struct __kernel_timespec __user *timeout
2222  如果timeout
2224  如果get_timespec64( & ts, timeout)则返回:负EFAULT
2226  返回:do_semtimedop(semid, tsops, nsops, & ts)
2228  返回:do_semtimedop(semid, tsops, nsops, NULL)
调用者
名称描述
SYSCALL_DEFINE4
ksys_ipc