Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\util.h Create Date:2022-07-28 16:38:48
Last Modify:2022-05-20 10:36:20 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ipc_update_pid

Proto:static inline void ipc_update_pid(struct pid **pos, struct pid *pid)

Type:void

Parameter:

TypeParameterName
struct pid **pos
struct pid *pid
186  old = pos
187  If old != pid Then
188  pos = get_pid(pid)
189  put_pid(old)
Caller
NameDescribe
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.