Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\apparmorfs.c Create Date:2022-07-28 19:49:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:multi_transaction_read

Proto:static ssize_t multi_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *pos)

Type:ssize_t

Parameter:

TypeParameterName
struct file *file
char __user *buf
size_tsize
loff_t *pos
913  spin_lock( & TODO: replace with per file lock )
914  t = get_multi_transaction( needed for tty driver, and maybe others )
915  spin_unlock( & TODO: replace with per file lock )
916  If Not t Then Return 0
919  ret = simple_read_from_buffer(buf, size, pos, data, size)
920  put_multi_transaction(t)
922  Return ret