linux/include/linux/pr.h
<<
>>
Prefs
   1#ifndef LINUX_PR_H
   2#define LINUX_PR_H
   3
   4#include <uapi/linux/pr.h>
   5
   6struct 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);
  16};
  17
  18#endif /* LINUX_PR_H */
  19