Function report |
Source Code:kernel\locking\rwsem.c |
Create Date:2022-07-28 09:48:30 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lock for writing
Proto:int __sched down_write_killable(struct rw_semaphore *sem)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rw_semaphore * | sem |
| 1544 | might_sleep() |
| 1545 | rwsem_acquire( & dep_map, 0, 0, _RET_IP_) |
| 1547 | If LOCK_CONTENDED_RETURN(sem, __down_write_trylock, __down_write_killable) Then |
| 1549 | rwsem_release( & dep_map, _RET_IP_) |
| 1550 | Return -EINTR |
| 1553 | Return 0 |
| Name | Describe |
|---|---|
| SYSCALL_DEFINE5 | |
| xol_add_vma | Slot allocation for XOL |
| do_mlock | |
| SYSCALL_DEFINE2 | |
| SYSCALL_DEFINE1 | |
| sys_munlockall | |
| SYSCALL_DEFINE1 | |
| __vm_munmap | |
| SYSCALL_DEFINE5 | Emulation of deprecated remap_file_pages() syscall. |
| vm_brk_flags | |
| do_mprotect_pkey | pkey==-1 when doing a legacy mprotect() |
| SYSCALL_DEFINE5 | Expand (or shrink) an existing mapping, potentially moving it at the* same time (controlled by the MREMAP_MAYMOVE flag and available VM space)* MREMAP_FIXED option added 5-Dec-1999 by Benjamin LaHaise* This option implies MREMAP_MAYMOVE. |
| SYSCALL_DEFINE3 | The madvise(2) system call |
| ksys_shmdt | detach and kill segment if marked destroyed.* The work is done in shm_close. |
| setup_arg_pages | Finalizes the stack vm_area_struct. The flags and permissions are updated,* the stack is optionally relocated, and some extra space is added. |
| iterate_dir | |
| aio_setup_ring | |
| coredump_wait |
| 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 |