Searched refs:max_reg_cmds (Results 1 – 2 of 2) sorted by relevance
116 ret = find_first_bit(&cmd->bitmask, cmd->max_reg_cmds); in alloc_ent()117 if (ret < cmd->max_reg_cmds) in alloc_ent()121 return ret < cmd->max_reg_cmds ? ret : -ENOMEM; in alloc_ent()858 ent->idx = cmd->max_reg_cmds; in cmd_work_handler()1400 for (i = 0; i < cmd->max_reg_cmds; i++) in mlx5_cmd_change_mod()1407 for (i = 0; i < cmd->max_reg_cmds; i++) in mlx5_cmd_change_mod()1820 cmd->max_reg_cmds = (1 << cmd->log_sz) - 1; in mlx5_cmd_init()1821 cmd->bitmask = (1UL << cmd->max_reg_cmds) - 1; in mlx5_cmd_init()1836 sema_init(&cmd->sem, cmd->max_reg_cmds); in mlx5_cmd_init()
311 int max_reg_cmds; member