函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ioctl_fioasync

函数原型:static int ioctl_fioasync(unsigned int fd, struct file *filp, int __user *argp)

返回类型:int

参数:

类型参数名称
unsigned intfd
struct file *filp
int __user *argp
577  error等于Careful: we have to cast the result to the type of the pointer* for sign reasons(on, argp)
578  如果error则返回:error
580  flag等于如果onFASYNC否则0
583  如果flag按位异或f_flags的值按位与FASYNC
584  如果fasyncerror等于fasync(fd, filp, on)
587  否则error等于负ENOTTY
590  返回:如果error小于0则error否则0
调用者
名称描述
do_vfs_ioctlWhen you add any new common ioctls to the switches above and below* please update compat_sys_ioctl() too.* do_vfs_ioctl() is not for drivers and not intended to be EXPORT_SYMBOL()'d.* It's just a simple helper for sys_ioctl and compat_sys_ioctl.