Searched refs:pages_sem (Results 1 – 2 of 2) sorted by relevance
154 up(ent->page_queue ? &cmd->pages_sem : &cmd->sem); in cmd_ent_put()911 sem = ent->page_queue ? &cmd->pages_sem : &cmd->sem; in cmd_work_handler()1487 down(&cmd->pages_sem); in mlx5_cmd_allowed_opcode()1491 up(&cmd->pages_sem); in mlx5_cmd_allowed_opcode()1503 down(&cmd->pages_sem); in mlx5_cmd_change_mod()1507 up(&cmd->pages_sem); in mlx5_cmd_change_mod()1693 while (down_trylock(&cmd->pages_sem)) in mlx5_cmd_flush()1697 up(&cmd->pages_sem); in mlx5_cmd_flush()2076 sema_init(&cmd->pages_sem, 1); in mlx5_cmd_init()
294 struct semaphore pages_sem; member