Searched refs:csem (Results 1 – 3 of 3) sorted by relevance
192 if (down_trylock(&mlc->csem)) { in hp_sdc_mlc_cts()193 if (priv->trans.act.semaphore != &mlc->csem) in hp_sdc_mlc_cts()203 priv->trans.act.semaphore = &mlc->csem; in hp_sdc_mlc_cts()218 up(&mlc->csem); in hp_sdc_mlc_cts()240 BUG_ON(down_trylock(&mlc->csem)); in hp_sdc_mlc_out()241 up(&mlc->csem); in hp_sdc_mlc_out()296 BUG_ON(down_trylock(&mlc->csem)); in hp_sdc_mlc_out()
934 sema_init(&(mlc->csem), 0); in hil_mlc_register()
136 struct semaphore csem; /* Raised when loop idle */ member