函数逻辑报告 |
Source Code:fs\fcntl.c |
Create Date:2022-07-29 10:35:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:send_sigio
函数原型:void send_sigio(struct fown_struct *fown, int fd, int band)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct fown_struct * | fown | |
int | fd | |
int | band |
784 | read_lock( & protects pid, uid, euid fields ) |
788 | 如果非pid则转到:out_unlock_fown |
791 | 如果type小于等于PIDTYPE_TGID则 |
797 | 否则 |
798 | read_lock( & tasklist_lock) |
799 | 循环 |
799 | typeof(({typeof(( * ((struct hlist_node * * )( & ( & (pid)->进程属性列[type])->first))))________p1 = ({union{typeof(( * ((struct hlist_node * * )( & ( & (pid)->进程属性列[type])->first))))__val;char __c[1];}__u;if (1)__read_once_size( & (( * ((struct hlist_node * * )( & ( & (pid)->进程属性列[type])->first)))), __u.__c, sizeof(( * ((struct hlist_node * * )( & ( & (pid)->进程属性列[type])->first)))));否则 __read_once_size_nocheck( & (( * ((struct hlist_node * * )( & ( & (pid)->进程属性列[type])->first)))), __u.__c, sizeof(( * ((struct hlist_node * * )( & ( & (pid)->进程属性列[type])->first)))));循环{}while (0);__u.__val;});((typeof( * ( * ((struct hlist_node * * )( & ( & (pid)->进程属性列[type])->first)))) * )(________p1));}))____ptr = (({ |
799 | typeof(( * ((struct hlist_node * * )( & ( & (pid)->进程属性列[type])->first))))________p1 = ({ |
799 | union{typeof(( * ((structhlist_node * * )( & first)))) __val;char __c[1];}__u |
799 | 如果1则__read_once_size( & (( * ((structhlist_node * * )( & first)))), __c, *first的长度) |
799 | 否则__read_once_size_nocheck( & (( * ((structhlist_node * * )( & first)))), __c, *first的长度) |
799 | 循环 |
799 | 当0循环 |
799 | __val |
799 | }) |
799 | })) |
799 | ____ptr ? ({ |
799 | }) : NULL |
799 | typeof(({typeof(( * ((struct hlist_node * * )( & ( & ((p))->pid_links[type])->next))))________p1 = ({union{typeof(( * ((struct hlist_node * * )( & ( & ((p))->pid_links[type])->next))))__val;char __c[1];}__u;if (1)__read_once_size( & (( * ((struct hlist_node * * )( & ( & ((p))->pid_links[type])->next)))), __u.__c, sizeof(( * ((struct hlist_node * * )( & ( & ((p))->pid_links[type])->next)))));否则 __read_once_size_nocheck( & (( * ((struct hlist_node * * )( & ( & ((p))->pid_links[type])->next)))), __u.__c, sizeof(( * ((struct hlist_node * * )( & ( & ((p))->pid_links[type])->next)))));循环{}while (0);__u.__val;});((typeof( * ( * ((struct hlist_node * * )( & ( & ((p))->pid_links[type])->next)))) * )(________p1));}))____ptr = (({ |
799 | typeof(( * ((struct hlist_node * * )( & ( & ((p))->pid_links[type])->next))))________p1 = ({ |
799 | union{typeof(( * ((structhlist_node * * )( & next)))) __val;char __c[1];}__u |
799 | 如果1则__read_once_size( & (( * ((structhlist_node * * )( & next)))), __c, *next的长度) |
799 | 否则__read_once_size_nocheck( & (( * ((structhlist_node * * )( & next)))), __c, *next的长度) |
799 | 循环 |
799 | 当0循环 |
799 | __val |
799 | }) |
799 | })) |
799 | ____ptr ? ({ |
799 | }) : NULL |
799 | })) |
801 | 当0循环 |
802 | read_unlock( & tasklist_lock) |
804 | out_unlock_fown : |
名称 | 描述 |
---|---|
kill_fasync_rcu | _read_lock() is held |
dnotify_handle_event | Mains fsnotify call where events are delivered to dnotify.* Find the dnotify mark on the relevant inode, run the list of dnotify structs* on that mark and determine which of them has expressed interest in receiving* events of this type |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |