Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / md / dm-log-userspace-transfer.h
blobf2f970af906f12b795a2f665c74b96b686c8ea16
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2006-2009 Red Hat, Inc.
5 * This file is released under the LGPL.
6 */
8 #ifndef __DM_LOG_USERSPACE_TRANSFER_H__
9 #define __DM_LOG_USERSPACE_TRANSFER_H__
11 #define DM_MSG_PREFIX "dm-log-userspace"
13 int dm_ulog_tfr_init(void);
14 void dm_ulog_tfr_exit(void);
15 int 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);
19 #endif /* __DM_LOG_USERSPACE_TRANSFER_H__ */