]>
git.proxmox.com Git - ceph.git/blob - ceph/src/pmdk/src/libpmem2/persist.h
1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright 2019-2020, Intel Corporation */
5 * persist.h -- internal definitions for libpmem2 persist module
7 #ifndef PMEM2_PERSIST_H
8 #define PMEM2_PERSIST_H
18 void pmem2_persist_init(void);
20 int pmem2_flush_file_buffers_os(struct pmem2_map
*map
, const void *addr
,
21 size_t len
, int autorestart
);
22 void pmem2_set_flush_fns(struct pmem2_map
*map
);
23 void pmem2_set_mem_fns(struct pmem2_map
*map
);