Function report |
Source Code:ipc\util.h |
Create Date:2022-07-28 16:38:51 |
| Last Modify:2022-05-20 10:36:20 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pc_valid_object() - helper to sort out IPC_RMID races for codepaths* where the respective ipc_ids.rwsem is not being held down.* Checks whether the ipc object is still around or if it's gone already, as
Proto:static inline bool ipc_valid_object(struct kern_ipc_perm *perm)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kern_ipc_perm * | perm |
| 238 | Return Not deleted |
| Name | Describe |
|---|---|
| msgctl_stat | |
| do_msgsnd | |
| do_msgrcv | |
| semctl_stat | |
| semctl_setval | |
| semctl_main | |
| find_alloc_undo | d_alloc_undo - lookup (and if not present create) undo array*@ns: namespace*@semid: semaphore array id* The function looks up (and if not present creates) the undo structure.* The size of the undo structure depends on the size of the semaphore |
| do_semtimedop | |
| exit_sem | add semadj values to semaphores, free undo structures |
| shm_lock | shm_lock_(check_) routines are called in the paths where the rwsem* is not necessarily held. |
| shmctl_stat | |
| shmctl_do_lock | |
| 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. |
| 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 |