Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: pr.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
#ifndef _PR_H
[1] Fix | Delete
#define _PR_H
[2] Fix | Delete
[3] Fix | Delete
#include <linux/types.h>
[4] Fix | Delete
[5] Fix | Delete
enum pr_type {
[6] Fix | Delete
PR_WRITE_EXCLUSIVE = 1,
[7] Fix | Delete
PR_EXCLUSIVE_ACCESS = 2,
[8] Fix | Delete
PR_WRITE_EXCLUSIVE_REG_ONLY = 3,
[9] Fix | Delete
PR_EXCLUSIVE_ACCESS_REG_ONLY = 4,
[10] Fix | Delete
PR_WRITE_EXCLUSIVE_ALL_REGS = 5,
[11] Fix | Delete
PR_EXCLUSIVE_ACCESS_ALL_REGS = 6,
[12] Fix | Delete
};
[13] Fix | Delete
[14] Fix | Delete
struct pr_reservation {
[15] Fix | Delete
__u64 key;
[16] Fix | Delete
__u32 type;
[17] Fix | Delete
__u32 flags;
[18] Fix | Delete
};
[19] Fix | Delete
[20] Fix | Delete
struct pr_registration {
[21] Fix | Delete
__u64 old_key;
[22] Fix | Delete
__u64 new_key;
[23] Fix | Delete
__u32 flags;
[24] Fix | Delete
__u32 __pad;
[25] Fix | Delete
};
[26] Fix | Delete
[27] Fix | Delete
struct pr_preempt {
[28] Fix | Delete
__u64 old_key;
[29] Fix | Delete
__u64 new_key;
[30] Fix | Delete
__u32 type;
[31] Fix | Delete
__u32 flags;
[32] Fix | Delete
};
[33] Fix | Delete
[34] Fix | Delete
struct pr_clear {
[35] Fix | Delete
__u64 key;
[36] Fix | Delete
__u32 flags;
[37] Fix | Delete
__u32 __pad;
[38] Fix | Delete
};
[39] Fix | Delete
[40] Fix | Delete
#define PR_FL_IGNORE_KEY (1 << 0) /* ignore existing key */
[41] Fix | Delete
[42] Fix | Delete
#define IOC_PR_REGISTER _IOW('p', 200, struct pr_registration)
[43] Fix | Delete
#define IOC_PR_RESERVE _IOW('p', 201, struct pr_reservation)
[44] Fix | Delete
#define IOC_PR_RELEASE _IOW('p', 202, struct pr_reservation)
[45] Fix | Delete
#define IOC_PR_PREEMPT _IOW('p', 203, struct pr_preempt)
[46] Fix | Delete
#define IOC_PR_PREEMPT_ABORT _IOW('p', 204, struct pr_preempt)
[47] Fix | Delete
#define IOC_PR_CLEAR _IOW('p', 205, struct pr_clear)
[48] Fix | Delete
[49] Fix | Delete
#endif /* _PR_H */
[50] Fix | Delete
[51] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function