Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\ioctl.c Create Date:2022-07-28 20:06:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ioctl_fioasync

Proto:static int ioctl_fioasync(unsigned int fd, struct file *filp, int __user *argp)

Type:int

Parameter:

TypeParameterName
unsigned intfd
struct file *filp
int __user *argp
577  error = Get a simple variable from user space(on, argp)
578  If error Then Return error
580  flag = If on Then FASYNC Else 0
583  If (flag ^ f_flags) & FASYNC Then
584  If fasync Then error = fasync(fd, filp, on)
587  Else error = -ENOTTY
590  Return If error < 0 Then error Else 0
Caller
NameDescribe
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.