函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:multi_transaction_read

函数原型:static ssize_t multi_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *pos)

返回类型:ssize_t

参数:

类型参数名称
struct file *file
char __user *buf
size_tsize
loff_t *pos
913  加自旋锁
914  t等于get_multi_transaction( needed for tty driver, and maybe others )
915  自旋锁解锁
916  如果非t则返回:0
919  ret等于simple_read_from_buffer(buf, size, pos, data, size)
920  put_multi_transaction(t)
922  返回:ret