Lines Matching defs:cftype
299 * struct cftype: handler definitions for cgroup control files
303 * - the 'cftype' of the file is file->f_dentry->d_fsdata
307 struct cftype {
327 ssize_t (*read)(struct cgroup *cgrp, struct cftype *cft,
334 u64 (*read_u64)(struct cgroup *cgrp, struct cftype *cft);
338 s64 (*read_s64)(struct cgroup *cgrp, struct cftype *cft);
345 int (*read_map)(struct cgroup *cont, struct cftype *cft,
351 int (*read_seq_string)(struct cgroup *cont, struct cftype *cft,
354 ssize_t (*write)(struct cgroup *cgrp, struct cftype *cft,
363 int (*write_u64)(struct cgroup *cgrp, struct cftype *cft, u64 val);
367 int (*write_s64)(struct cgroup *cgrp, struct cftype *cft, s64 val);
374 int (*write_string)(struct cgroup *cgrp, struct cftype *cft,
388 * waiter for changes related to the cftype. Implement it if
392 int (*register_event)(struct cgroup *cgrp, struct cftype *cft,
400 void (*unregister_event)(struct cgroup *cgrp, struct cftype *cft,
418 const struct cftype *cft);
426 const struct cftype cft[],