Searched refs:r_msg (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/ipc/
H A Dmsg.c55 * Mark r_msg volatile so that the compiler
60 struct msg_msg *volatile r_msg; member in struct:msg_receiver
191 msr->r_msg = NULL; /* initialize expunge ordering */ expunge_all()
194 * Ensure that the wakeup is visible before setting r_msg as expunge_all()
200 msr->r_msg = ERR_PTR(res); expunge_all()
581 msr->r_msg = NULL; pipelined_send()
584 msr->r_msg = ERR_PTR(-E2BIG); pipelined_send()
586 msr->r_msg = NULL; pipelined_send()
592 * setting r_msg, as the receiving end depends pipelined_send()
597 msr->r_msg = msg; pipelined_send()
913 msr_d.r_msg = ERR_PTR(-EAGAIN); do_msgrcv()
925 * Prior to destruction, expunge_all(-EIRDM) changes r_msg. do_msgrcv()
926 * Thus if r_msg is -EAGAIN, then the queue not yet destroyed. do_msgrcv()
927 * rcu_read_lock() prevents preemption between reading r_msg do_msgrcv()
937 msg = (struct msg_msg *)msr_d.r_msg; do_msgrcv()
940 msg = (struct msg_msg *)msr_d.r_msg; do_msgrcv()
958 msg = (struct msg_msg *)msr_d.r_msg; do_msgrcv()

Completed in 41 milliseconds