linux/drivers/md/dm-path-selector.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2003 Sistina Software.
 * Copyright (C) 2004 Red Hat, Inc. All rights reserved.
 *
 * Module Author: Heinz Mauelshagen
 *
 * This file is released under the GPL.
 *
 * Path selector registration.
 */

#include <linux/device-mapper.h>
#include <linux/module.h>

#include "dm-path-selector.h"

#include <linux/slab.h>

struct ps_internal {};

#define pst_to_psi(__pst)

static LIST_HEAD(_path_selectors);
static DECLARE_RWSEM(_ps_lock);

static struct ps_internal *__find_path_selector_type(const char *name)
{}

static struct ps_internal *get_path_selector(const char *name)
{}

struct path_selector_type *dm_get_path_selector(const char *name)
{}

void dm_put_path_selector(struct path_selector_type *pst)
{}

static struct ps_internal *_alloc_path_selector(struct path_selector_type *pst)
{}

int dm_register_path_selector(struct path_selector_type *pst)
{}
EXPORT_SYMBOL_GPL();

int dm_unregister_path_selector(struct path_selector_type *pst)
{}
EXPORT_SYMBOL_GPL();