]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/linux/pr.h
ACPI: fix acpi_find_child_device() invocation in acpi_preset_companion()
[mirror_ubuntu-bionic-kernel.git] / include / linux / pr.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef LINUX_PR_H
3 #define LINUX_PR_H
4
5 #include <uapi/linux/pr.h>
6
7 struct pr_ops {
8 int (*pr_register)(struct block_device *bdev, u64 old_key, u64 new_key,
9 u32 flags);
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,
13 enum pr_type type);
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);
17 };
18
19 #endif /* LINUX_PR_H */