linux/drivers/infiniband/sw/rxe/rxe_pool.c

// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
/*
 * Copyright (c) 2016 Mellanox Technologies Ltd. All rights reserved.
 * Copyright (c) 2015 System Fabric Works, Inc. All rights reserved.
 */

#include "rxe.h"

#define RXE_POOL_TIMEOUT
#define RXE_POOL_ALIGN

static const struct rxe_type_info {} rxe_type_info[RXE_NUM_TYPES] =;

void rxe_pool_init(struct rxe_dev *rxe, struct rxe_pool *pool,
		   enum rxe_elem_type type)
{}

void rxe_pool_cleanup(struct rxe_pool *pool)
{}

int __rxe_add_to_pool(struct rxe_pool *pool, struct rxe_pool_elem *elem,
				bool sleepable)
{}

void *rxe_pool_get_index(struct rxe_pool *pool, u32 index)
{}

static void rxe_elem_release(struct kref *kref)
{}

int __rxe_cleanup(struct rxe_pool_elem *elem, bool sleepable)
{}

int __rxe_get(struct rxe_pool_elem *elem)
{}

int __rxe_put(struct rxe_pool_elem *elem)
{}

void __rxe_finalize(struct rxe_pool_elem *elem)
{}