Searched refs:cmd_pending (Results 1 – 3 of 3) sorted by relevance
418 static int cmd_pending(struct mlx4_dev *dev) in cmd_pending() function460 while (cmd_pending(dev)) { in mlx4_cmd_post()616 while (cmd_pending(dev) && time_before(jiffies, end)) { in mlx4_cmd_poll()634 if (cmd_pending(dev)) { in mlx4_cmd_poll()
976 ocs_list_t cmd_pending; member
370 ocs_list_init(&hw->cmd_pending, ocs_command_ctx_t, link); in ocs_hw_setup()558 if (!ocs_list_empty(&hw->cmd_pending)) { in ocs_hw_init()2259 ctx = ocs_list_remove_head(&hw->cmd_pending); in ocs_hw_cmd_submit_pending()2367 ocs_list_add_tail(&hw->cmd_pending, ctx); in ocs_hw_command()