函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\fcntl.c Create Date:2022-07-29 10:35:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:f_getown_ex

函数原型:static int f_getown_ex(struct file *filp, unsigned long arg)

返回类型:int

参数:

类型参数名称
struct file *filp
unsigned longarg
202  __userowner_p等于arg
204  ret等于0
206  read_lock( & protects pid, uid, euid fields )
207  pid等于pid_vnr( pid or -pgrp where SIGIO should be sent )
209  : Kind of process group SIGIO should be sent to 恒等于单一进程
210  type等于F_OWNER_TID
211  退出
213  : Kind of process group SIGIO should be sent to 恒等于PIDTYPE_TGID
214  type等于F_OWNER_PID
215  退出
217  : Kind of process group SIGIO should be sent to 恒等于进程组
218  type等于F_OWNER_PGRP
219  退出
221  默认
222  WARN_ON(1)
223  ret等于负EINVAL
224  退出
226  read_unlock( & protects pid, uid, euid fields )
228  如果非ret
229  ret等于copy_to_user(owner_p, & owner, owner的长度)
230  如果retret等于负EFAULT
233  返回:ret
调用者
名称描述
do_fcntl