cftypeRegular
4.4: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
};
4.8: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
};
4.10: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
};
4.13: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
};
4.15: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
};
4.18: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
};
5.0: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
};
5.3: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
};
5.4: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
};
5.8: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
};
5.11: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
};
5.13: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
};
5.15: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
};
5.19: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
};
6.2: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
};
6.5: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
};
6.8: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
};
arm64: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
};
armhf: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
};
ppc64el: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
};
riscv64: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
};
aws: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
};
azure: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
};
gcp: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
};
lowlatency: ✅struct cftype {
char name[64];
long unsigned int private;
size_t max_write_len;
unsigned int flags;
unsigned int file_offset;
struct cgroup_subsys *ss;
struct list_head node;
struct kernfs_ops *kf_ops;
int (*open)(struct kernfs_open_file *);
void (*release)(struct kernfs_open_file *);
u64 (*read_u64)(struct cgroup_subsys_state *, struct cftype *);
s64 (*read_s64)(struct cgroup_subsys_state *, struct cftype *);
int (*seq_show)(struct seq_file *, void *);
void * (*seq_start)(struct seq_file *, loff_t *);
void * (*seq_next)(struct seq_file *, void *, loff_t *);
void (*seq_stop)(struct seq_file *, void *);
int (*write_u64)(struct cgroup_subsys_state *, struct cftype *, u64);
int (*write_s64)(struct cgroup_subsys_state *, struct cftype *, s64);
ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t);
__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *);
};
Regular
4.4 and 4.8 ✅
4.8 and 4.10 ✅
4.10 and 4.13 ⚠️int (*open)(struct kernfs_open_file *)
void (*release)(struct kernfs_open_file *)
4.13 and 4.15 ✅
4.15 and 4.18 ✅
4.18 and 5.0 ✅
5.0 and 5.3 ⚠️__poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *)
5.3 and 5.4 ✅
5.4 and 5.8 ✅
5.8 and 5.11 ✅
5.11 and 5.13 ✅
5.13 and 5.15 ✅
5.15 and 5.19 ✅
5.19 and 6.2 ✅
6.2 and 6.5 ✅
6.5 and 6.8 ✅
amd64 and arm64 ✅
amd64 and armhf ✅
amd64 and ppc64el ✅
amd64 and riscv64 ✅
generic and aws ✅
generic and azure ✅
generic and gcp ✅
generic and lowlatency ✅