Searched refs:fd_hook (Results 1 – 2 of 2) sorted by relevance
/external/bison/lib/ |
D | fd-hook.h | 42 struct fd_hook struct 45 struct fd_hook *private_next; argument 46 struct fd_hook *private_prev; argument 49 int (*private_close_fn) (const struct fd_hook *remaining_list, argument 55 int (*private_ioctl_fn) (const struct fd_hook *remaining_list, argument 66 typedef int (*close_hook_fn) (const struct fd_hook *remaining_list, 72 extern int execute_close_hooks (const struct fd_hook *remaining_list, 86 typedef int (*ioctl_hook_fn) (const struct fd_hook *remaining_list, 92 extern int execute_ioctl_hooks (const struct fd_hook *remaining_list, 106 struct fd_hook *link); [all …]
|
D | fd-hook.c | 31 static struct fd_hook anchor = { &anchor, &anchor, NULL, NULL }; 34 execute_close_hooks (const struct fd_hook *remaining_list, gl_close_fn primary, in execute_close_hooks() 52 execute_ioctl_hooks (const struct fd_hook *remaining_list, gl_ioctl_fn primary, in execute_ioctl_hooks() 71 register_fd_hook (close_hook_fn close_hook, ioctl_hook_fn ioctl_hook, struct fd_hook *link) in register_fd_hook() 98 unregister_fd_hook (struct fd_hook *link) in unregister_fd_hook() 100 struct fd_hook *next = link->private_next; in unregister_fd_hook() 101 struct fd_hook *prev = link->private_prev; in unregister_fd_hook()
|