Home
last modified time | relevance | path

Searched refs:rhb (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/misc/ibmasm/
Dr_heartbeat.c36 void ibmasm_init_reverse_heartbeat(struct service_processor *sp, struct reverse_heartbeat *rhb) in ibmasm_init_reverse_heartbeat() argument
38 init_waitqueue_head(&rhb->wait); in ibmasm_init_reverse_heartbeat()
39 rhb->stopped = 0; in ibmasm_init_reverse_heartbeat()
48 int ibmasm_start_reverse_heartbeat(struct service_processor *sp, struct reverse_heartbeat *rhb) in ibmasm_start_reverse_heartbeat() argument
67 wait_event_interruptible_timeout(rhb->wait, in ibmasm_start_reverse_heartbeat()
68 rhb->stopped, in ibmasm_start_reverse_heartbeat()
71 if (signal_pending(current) || rhb->stopped) { in ibmasm_start_reverse_heartbeat()
77 rhb->stopped = 0; in ibmasm_start_reverse_heartbeat()
82 void ibmasm_stop_reverse_heartbeat(struct reverse_heartbeat *rhb) in ibmasm_stop_reverse_heartbeat() argument
84 rhb->stopped = 1; in ibmasm_stop_reverse_heartbeat()
[all …]
Dibmasm.h179 void ibmasm_init_reverse_heartbeat(struct service_processor *sp, struct reverse_heartbeat *rhb);
180 int ibmasm_start_reverse_heartbeat(struct service_processor *sp, struct reverse_heartbeat *rhb);
181 void ibmasm_stop_reverse_heartbeat(struct reverse_heartbeat *rhb);