Searched refs:pages_sem (Results 1 – 2 of 2) sorted by relevance
155 up(ent->page_queue ? &cmd->pages_sem : &cmd->sem); in cmd_ent_put()958 sem = ent->page_queue ? &cmd->pages_sem : &cmd->sem; in cmd_work_handler()1563 down(&cmd->pages_sem); in mlx5_cmd_allowed_opcode()1567 up(&cmd->pages_sem); in mlx5_cmd_allowed_opcode()1579 down(&cmd->pages_sem); in mlx5_cmd_change_mod()1583 up(&cmd->pages_sem); in mlx5_cmd_change_mod()1769 while (down_trylock(&cmd->pages_sem)) { in mlx5_cmd_flush()1775 up(&cmd->pages_sem); in mlx5_cmd_flush()2223 sema_init(&cmd->pages_sem, 1); in mlx5_cmd_init()
310 struct semaphore pages_sem; member