linux/drivers/scsi/elx/efct/efct_io.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2021 Broadcom. All Rights Reserved. The term
 * “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.
 */

#include "efct_driver.h"
#include "efct_hw.h"
#include "efct_io.h"

struct efct_io_pool {};

struct efct_io_pool *
efct_io_pool_create(struct efct *efct, u32 num_sgl)
{}

int
efct_io_pool_free(struct efct_io_pool *io_pool)
{}

struct efct_io *
efct_io_pool_io_alloc(struct efct_io_pool *io_pool)
{}

/* Free an object used to track an IO */
void
efct_io_pool_io_free(struct efct_io_pool *io_pool, struct efct_io *io)
{}

/* Find an I/O given it's node and ox_id */
struct efct_io *
efct_io_find_tgt_io(struct efct *efct, struct efct_node *node,
		    u16 ox_id, u16 rx_id)
{}