cmd_alloc_buf 1876 drivers/net/ethernet/mellanox/mlx5/core/cmd.c cmd->cmd_alloc_buf = dma_alloc_coherent(ddev, MLX5_ADAPTER_PAGE_SIZE, cmd_alloc_buf 1878 drivers/net/ethernet/mellanox/mlx5/core/cmd.c if (!cmd->cmd_alloc_buf) cmd_alloc_buf 1882 drivers/net/ethernet/mellanox/mlx5/core/cmd.c if (!((uintptr_t)cmd->cmd_alloc_buf & (MLX5_ADAPTER_PAGE_SIZE - 1))) { cmd_alloc_buf 1883 drivers/net/ethernet/mellanox/mlx5/core/cmd.c cmd->cmd_buf = cmd->cmd_alloc_buf; cmd_alloc_buf 1889 drivers/net/ethernet/mellanox/mlx5/core/cmd.c dma_free_coherent(ddev, MLX5_ADAPTER_PAGE_SIZE, cmd->cmd_alloc_buf, cmd_alloc_buf 1891 drivers/net/ethernet/mellanox/mlx5/core/cmd.c cmd->cmd_alloc_buf = dma_alloc_coherent(ddev, cmd_alloc_buf 1894 drivers/net/ethernet/mellanox/mlx5/core/cmd.c if (!cmd->cmd_alloc_buf) cmd_alloc_buf 1897 drivers/net/ethernet/mellanox/mlx5/core/cmd.c cmd->cmd_buf = PTR_ALIGN(cmd->cmd_alloc_buf, MLX5_ADAPTER_PAGE_SIZE); cmd_alloc_buf 1907 drivers/net/ethernet/mellanox/mlx5/core/cmd.c dma_free_coherent(ddev, cmd->alloc_size, cmd->cmd_alloc_buf, cmd_alloc_buf 276 include/linux/mlx5/driver.h void *cmd_alloc_buf;