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

/linux-4.4.14/drivers/pci/hotplug/
H A Dibmphp_hpc.c108 static struct semaphore sem_exit; // make sure polling thread goes away variable in typeref:struct:semaphore
137 sema_init(&sem_exit, 0); ibmphp_hpc_initvars()
911 up (&sem_exit); poll_hpc()
1079 debug ("before sem_exit down \n"); ibmphp_hpc_stop_poll_thread()
1080 down (&sem_exit); ibmphp_hpc_stop_poll_thread()
1081 debug ("after sem_exit down \n"); ibmphp_hpc_stop_poll_thread()
1089 up (&sem_exit); ibmphp_hpc_stop_poll_thread()

Completed in 33 milliseconds