函数逻辑报告 |
Source Code:kernel\locking\rwsem.c |
Create Date:2022-07-27 10:48:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:lock for writing
函数原型:int __sched down_write_killable(struct rw_semaphore *sem)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct rw_semaphore * | sem |
| 1544 | might_sleep() |
| 1545 | rwsem_acquire( & dep_map, 0, 0, _RET_IP_) |
| 1549 | rwsem_release( & dep_map, _RET_IP_) |
| 1550 | 返回:负EINTR |
| 1553 | 返回:0 |
| 名称 | 描述 |
|---|---|
| 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 | |
| write_ldt | |
| dup_mmap | |
| vm_mmap_pgoff | |
| do_shmat | Fix shmaddr, allocate descriptor, map shm, add attach descriptor to lists.* NOTE! Despite the name, this is NOT a direct system call entrypoint. The* "raddr" thing points to kernel space, and there has to be a wrapper around* this. |
| __bprm_mm_init |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |