Home
last modified time | relevance | path

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

/drivers/misc/ibmasm/
Dr_heartbeat.c49 void ibmasm_init_reverse_heartbeat(struct service_processor *sp, struct reverse_heartbeat *rhb) in ibmasm_init_reverse_heartbeat() argument
51 init_waitqueue_head(&rhb->wait); in ibmasm_init_reverse_heartbeat()
52 rhb->stopped = 0; in ibmasm_init_reverse_heartbeat()
61 int ibmasm_start_reverse_heartbeat(struct service_processor *sp, struct reverse_heartbeat *rhb) in ibmasm_start_reverse_heartbeat() argument
80 wait_event_interruptible_timeout(rhb->wait, in ibmasm_start_reverse_heartbeat()
81 rhb->stopped, in ibmasm_start_reverse_heartbeat()
84 if (signal_pending(current) || rhb->stopped) { in ibmasm_start_reverse_heartbeat()
90 rhb->stopped = 0; in ibmasm_start_reverse_heartbeat()
95 void ibmasm_stop_reverse_heartbeat(struct reverse_heartbeat *rhb) in ibmasm_stop_reverse_heartbeat() argument
97 rhb->stopped = 1; in ibmasm_stop_reverse_heartbeat()
[all …]
Dibmasm.h190 void ibmasm_init_reverse_heartbeat(struct service_processor *sp, struct reverse_heartbeat *rhb);
191 int ibmasm_start_reverse_heartbeat(struct service_processor *sp, struct reverse_heartbeat *rhb);
192 void ibmasm_stop_reverse_heartbeat(struct reverse_heartbeat *rhb);