1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <uapi/linux/pr.h>
8 int (*pr_register)(struct block_device *bdev, u64 old_key, u64 new_key,
10 int (*pr_reserve)(struct block_device *bdev, u64 key,
11 enum pr_type type, u32 flags);
12 int (*pr_release)(struct block_device *bdev, u64 key,
14 int (*pr_preempt)(struct block_device *bdev, u64 old_key, u64 new_key,
15 enum pr_type type, bool abort);
16 int (*pr_clear)(struct block_device *bdev, u64 key);
19 #endif /* LINUX_PR_H */