函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\util.h Create Date:2022-07-27 18:14:09
Last Modify:2022-05-20 10:36:20 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ipc_update_pid

函数原型:static inline void ipc_update_pid(struct pid **pos, struct pid *pid)

返回类型:void

参数:

类型参数名称
struct pid **pos
struct pid *pid
186  old等于pos
187  如果old不等于pid
188  pos等于get_pid(pid)
189  put_pid(old)
调用者
名称描述
freequeque() wakes up waiters on the sender and receiver waiting queue,* removes the message queue from message queue ID IDR, and cleans up all the* messages associated with this queue.* msg_ids.rwsem (writer) and the spinlock for this message queue are held
pipelined_send
do_msgsnd
do_msgrcv
perform_atomic_semop_slowperform_atomic_semop[_slow] - Attempt to perform semaphore* operations on a given array
perform_atomic_semop
freearyFree a semaphore set. freeary() is called with sem_ids.rwsem locked* as a writer and the spinlock for this semaphore set hold. sem_ids.rwsem* remains locked on exit.
semctl_setval
semctl_main
exit_semadd semadj values to semaphores, free undo structures
__shm_open
shm_destroy
shm_close
newsegwseg - Create a new shared memory segment*@ns: namespace*@params: ptr to the structure that contains key, size and shmflg* Called with shm_ids.rwsem held as a writer.