Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c154 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()
/kernel/linux/linux-5.10/include/linux/mlx5/
Ddriver.h294 struct semaphore pages_sem; member