Function report |
Source Code:fs\locks.c |
Create Date:2022-07-28 20:25:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_fcntl_add_lease
Proto:static int do_fcntl_add_lease(unsigned int fd, struct file *filp, long arg)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | fd | |
struct file * | filp | |
long | arg |
2092 | new = fasync_alloc() |
2093 | If Not new Then |
2095 | Return -ENOMEM |
2100 | If fl Then Free a lock which is not in use. |
2102 | If new Then NOTE! This can be used only for unused fasync entries:* entries that actually got inserted on the fasync list* need to be released by rcu - see fasync_remove_entry. |
2104 | Return error |
Name | Describe |
---|---|
fcntl_setlease | sets a lease on an open file |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |