Function report |
Source Code:fs\locks.c |
Create Date:2022-07-28 20:25:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Allocate an empty lock structure.
Proto:struct file_lock *locks_alloc_lock(void)
Type:struct file_lock
Parameter:Nothing
| 348 | If fl Then locks_init_lock_heads(fl) |
| 351 | Return fl |
| Name | Describe |
|---|---|
| flock_make_lock | Fill in a file_lock structure with an appropriate FLOCK lock. |
| lease_alloc | Allocate a file_lock initialised to this type of lease |
| flock_lock_inode | Try to create a FLOCK lock on filp |
| posix_lock_inode | |
| fcntl_getlk | Report the first existing lock that would conflict with l.* This implements the F_GETLK command of fcntl(). |
| fcntl_setlk | Apply the lock described by l to an open file descriptor.* This implements both the F_SETLK and F_SETLKW commands of fcntl(). |
| fcntl_getlk64 | Report the first existing lock that would conflict with l.* This implements the F_GETLK command of fcntl(). |
| fcntl_setlk64 | Apply the lock described by l to an open file descriptor.* This implements both the F_SETLK and F_SETLKW commands of fcntl(). |
| 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 |