Linux 4.6-rc6
[cris-mirror.git] / include / linux / pr.h
blob65c01c10b335911e49091bf923b7f7136cdcba75
1 #ifndef LINUX_PR_H
2 #define LINUX_PR_H
4 #include <uapi/linux/pr.h>
6 struct pr_ops {
7 int (*pr_register)(struct block_device *bdev, u64 old_key, u64 new_key,
8 u32 flags);
9 int (*pr_reserve)(struct block_device *bdev, u64 key,
10 enum pr_type type, u32 flags);
11 int (*pr_release)(struct block_device *bdev, u64 key,
12 enum pr_type type);
13 int (*pr_preempt)(struct block_device *bdev, u64 old_key, u64 new_key,
14 enum pr_type type, bool abort);
15 int (*pr_clear)(struct block_device *bdev, u64 key);
18 #endif /* LINUX_PR_H */