1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (C) 2006-2009 Red Hat, Inc.
4 *
5 * This file is released under the LGPL.
6 */
7
8#ifndef __DM_LOG_USERSPACE_TRANSFER_H__
9#define __DM_LOG_USERSPACE_TRANSFER_H__
10
11#define DM_MSG_PREFIX "dm-log-userspace"
12
13int dm_ulog_tfr_init(void);
14void dm_ulog_tfr_exit(void);
15int dm_consult_userspace(const char *uuid, uint64_t luid, int request_type,
16 char *data, size_t data_size,
17 char *rdata, size_t *rdata_size);
18
19#endif /* __DM_LOG_USERSPACE_TRANSFER_H__ */
20

source code of linux/drivers/md/dm-log-userspace-transfer.h