kernfs_open_file
static ssize_t bfq_io_set_device_weight(struct kernfs_open_file *of,
static ssize_t bfq_io_set_weight(struct kernfs_open_file *of,
static ssize_t ioc_weight_write(struct kernfs_open_file *of, char *buf,
static ssize_t ioc_qos_write(struct kernfs_open_file *of, char *input,
static ssize_t ioc_cost_model_write(struct kernfs_open_file *of, char *input,
static ssize_t iolatency_set_limit(struct kernfs_open_file *of, char *buf,
static ssize_t ioprio_set_prio_policy(struct kernfs_open_file *of, char *buf,
static ssize_t tg_set_conf(struct kernfs_open_file *of,
static ssize_t tg_set_conf_u64(struct kernfs_open_file *of,
static ssize_t tg_set_conf_uint(struct kernfs_open_file *of,
static ssize_t tg_set_limit(struct kernfs_open_file *of,
static struct kernfs_open_file *kernfs_of(struct file *file)
struct kernfs_open_file *of = sf->private;
struct kernfs_open_file *of = sf->private;
struct kernfs_open_file *of = sf->private;
struct kernfs_open_file *of = sf->private;
struct kernfs_open_file *of = sf->private;
struct kernfs_open_file *of = kernfs_of(iocb->ki_filp);
struct kernfs_open_file *of = kernfs_of(iocb->ki_filp);
struct kernfs_open_file *of = kernfs_of(file);
struct kernfs_open_file *of = kernfs_of(file);
struct kernfs_open_file *of = kernfs_of(file);
struct kernfs_open_file *of = kernfs_of(file);
struct kernfs_open_file *of = kernfs_of(file);
struct kernfs_open_file *of)
struct kernfs_open_file *of,
struct kernfs_open_file *of;
of = kzalloc_obj(struct kernfs_open_file);
static struct kernfs_open_node *of_on(struct kernfs_open_file *of)
static struct kernfs_open_file *kernfs_get_active_of(struct kernfs_open_file *of)
struct kernfs_open_file *of)
struct kernfs_open_file *of = kernfs_of(filp);
struct kernfs_open_file *of;
__poll_t kernfs_generic_poll(struct kernfs_open_file *of, poll_table *wait)
static void kernfs_put_active_of(struct kernfs_open_file *of)
struct kernfs_open_file *of = kernfs_of(filp);
struct kernfs_open_file *of = kernfs_of(file);
ssize_t rdtgroup_schemata_write(struct kernfs_open_file *of,
int rdtgroup_schemata_show(struct kernfs_open_file *of,
ssize_t rdtgroup_mba_mbps_event_write(struct kernfs_open_file *of,
int rdtgroup_mba_mbps_event_show(struct kernfs_open_file *of,
struct kernfs_open_file *of = m->private;
int resctrl_io_alloc_show(struct kernfs_open_file *of, struct seq_file *seq, void *v)
ssize_t resctrl_io_alloc_write(struct kernfs_open_file *of, char *buf,
int resctrl_io_alloc_cbm_show(struct kernfs_open_file *of, struct seq_file *seq, void *v)
ssize_t resctrl_io_alloc_cbm_write(struct kernfs_open_file *of, char *buf,
int (*seq_show)(struct kernfs_open_file *of,
ssize_t (*write)(struct kernfs_open_file *of,
ssize_t rdtgroup_schemata_write(struct kernfs_open_file *of,
int rdtgroup_schemata_show(struct kernfs_open_file *of,
ssize_t rdtgroup_mba_mbps_event_write(struct kernfs_open_file *of,
int rdtgroup_mba_mbps_event_show(struct kernfs_open_file *of,
int resctrl_mbm_assign_mode_show(struct kernfs_open_file *of, struct seq_file *s, void *v);
ssize_t resctrl_mbm_assign_mode_write(struct kernfs_open_file *of, char *buf,
int resctrl_num_mbm_cntrs_show(struct kernfs_open_file *of, struct seq_file *s, void *v);
int resctrl_available_mbm_cntrs_show(struct kernfs_open_file *of, struct seq_file *s,
int event_filter_show(struct kernfs_open_file *of, struct seq_file *seq, void *v);
ssize_t event_filter_write(struct kernfs_open_file *of, char *buf, size_t nbytes,
int resctrl_mbm_assign_on_mkdir_show(struct kernfs_open_file *of,
ssize_t resctrl_mbm_assign_on_mkdir_write(struct kernfs_open_file *of, char *buf,
int mbm_L3_assignments_show(struct kernfs_open_file *of, struct seq_file *s, void *v);
ssize_t mbm_L3_assignments_write(struct kernfs_open_file *of, char *buf, size_t nbytes,
int resctrl_io_alloc_show(struct kernfs_open_file *of, struct seq_file *seq, void *v);
ssize_t resctrl_io_alloc_write(struct kernfs_open_file *of, char *buf,
int resctrl_io_alloc_cbm_show(struct kernfs_open_file *of, struct seq_file *seq,
ssize_t resctrl_io_alloc_cbm_write(struct kernfs_open_file *of, char *buf,
int event_filter_show(struct kernfs_open_file *of, struct seq_file *seq, void *v)
int resctrl_mbm_assign_on_mkdir_show(struct kernfs_open_file *of, struct seq_file *s,
ssize_t resctrl_mbm_assign_on_mkdir_write(struct kernfs_open_file *of, char *buf,
ssize_t event_filter_write(struct kernfs_open_file *of, char *buf, size_t nbytes,
int resctrl_mbm_assign_mode_show(struct kernfs_open_file *of,
ssize_t resctrl_mbm_assign_mode_write(struct kernfs_open_file *of, char *buf,
int resctrl_num_mbm_cntrs_show(struct kernfs_open_file *of,
int resctrl_available_mbm_cntrs_show(struct kernfs_open_file *of,
int mbm_L3_assignments_show(struct kernfs_open_file *of, struct seq_file *s, void *v)
ssize_t mbm_L3_assignments_write(struct kernfs_open_file *of, char *buf,
static int rdt_default_ctrl_show(struct kernfs_open_file *of,
static int rdt_min_cbm_bits_show(struct kernfs_open_file *of,
static int rdt_shareable_bits_show(struct kernfs_open_file *of,
static int rdt_bit_usage_show(struct kernfs_open_file *of,
static int rdt_min_bw_show(struct kernfs_open_file *of,
static int rdt_num_rmids_show(struct kernfs_open_file *of,
static int rdt_mon_features_show(struct kernfs_open_file *of,
static int rdt_bw_gran_show(struct kernfs_open_file *of,
static int rdt_delay_linear_show(struct kernfs_open_file *of,
static int max_threshold_occ_show(struct kernfs_open_file *of,
static int rdt_thread_throttle_mode_show(struct kernfs_open_file *of,
static ssize_t max_threshold_occ_write(struct kernfs_open_file *of,
static int rdtgroup_mode_show(struct kernfs_open_file *of,
static int rdt_has_sparse_bitmasks_show(struct kernfs_open_file *of,
static ssize_t rdtgroup_mode_write(struct kernfs_open_file *of,
static int rdtgroup_size_show(struct kernfs_open_file *of,
static int mbm_total_bytes_config_show(struct kernfs_open_file *of,
static int mbm_local_bytes_config_show(struct kernfs_open_file *of,
static ssize_t mbm_total_bytes_config_write(struct kernfs_open_file *of,
static ssize_t mbm_local_bytes_config_write(struct kernfs_open_file *of,
struct kernfs_open_file *of = m->private;
static ssize_t rdtgroup_file_write(struct kernfs_open_file *of, char *buf,
static bool is_cpu_list(struct kernfs_open_file *of)
static int rdtgroup_cpus_show(struct kernfs_open_file *of,
static ssize_t rdtgroup_cpus_write(struct kernfs_open_file *of,
struct kernfs_open_file *of)
struct kernfs_open_file *of)
static ssize_t rdtgroup_tasks_write(struct kernfs_open_file *of,
static int rdtgroup_tasks_show(struct kernfs_open_file *of,
static int rdtgroup_closid_show(struct kernfs_open_file *of,
static int rdtgroup_rmid_show(struct kernfs_open_file *of,
static int rdt_last_cmd_status_show(struct kernfs_open_file *of,
static int rdt_num_closids_show(struct kernfs_open_file *of,
static ssize_t sysfs_kf_read(struct kernfs_open_file *of, char *buf,
static ssize_t sysfs_kf_write(struct kernfs_open_file *of, char *buf,
static ssize_t sysfs_kf_bin_write(struct kernfs_open_file *of, char *buf,
static int sysfs_kf_bin_mmap(struct kernfs_open_file *of,
static loff_t sysfs_kf_bin_llseek(struct kernfs_open_file *of, loff_t offset,
static int sysfs_kf_bin_open(struct kernfs_open_file *of)
struct kernfs_open_file *of = sf->private;
static ssize_t sysfs_kf_bin_read(struct kernfs_open_file *of, char *buf,
struct kernfs_open_file;
int (*open)(struct kernfs_open_file *of);
void (*release)(struct kernfs_open_file *of);
ssize_t (*write)(struct kernfs_open_file *of,
__poll_t (*poll)(struct kernfs_open_file *of,
static inline struct cftype *of_cft(struct kernfs_open_file *of)
struct cgroup_subsys_state *of_css(struct kernfs_open_file *of);
struct cgroup_of_peak *of_peak(struct kernfs_open_file *of);
int (*open)(struct kernfs_open_file *of);
void (*release)(struct kernfs_open_file *of);
ssize_t (*read)(struct kernfs_open_file *of, char *buf, size_t bytes,
ssize_t (*write)(struct kernfs_open_file *of, char *buf, size_t bytes,
__poll_t (*poll)(struct kernfs_open_file *of,
int (*mmap)(struct kernfs_open_file *of, struct vm_area_struct *vma);
loff_t (*llseek)(struct kernfs_open_file *of, loff_t offset, int whence);
__poll_t kernfs_generic_poll(struct kernfs_open_file *of,
static inline __poll_t kernfs_generic_poll(struct kernfs_open_file *of,
struct kernfs_open_file *of);
struct kernfs_open_file *of;
struct kernfs_open_file *of = s->private;
struct kernfs_open_file *of = s->private;
struct kernfs_open_file *of = s->private;
static ssize_t __cgroup1_procs_write(struct kernfs_open_file *of,
static ssize_t cgroup1_procs_write(struct kernfs_open_file *of,
static ssize_t cgroup1_tasks_write(struct kernfs_open_file *of,
static ssize_t cgroup_release_agent_write(struct kernfs_open_file *of,
struct cgroup_of_peak *of_peak(struct kernfs_open_file *of)
static ssize_t cgroup_subtree_control_write(struct kernfs_open_file *of,
static ssize_t cgroup_type_write(struct kernfs_open_file *of, char *buf,
static ssize_t cgroup_max_descendants_write(struct kernfs_open_file *of,
static ssize_t cgroup_max_depth_write(struct kernfs_open_file *of,
static ssize_t pressure_write(struct kernfs_open_file *of, char *buf,
static ssize_t cgroup_io_pressure_write(struct kernfs_open_file *of,
static ssize_t cgroup_memory_pressure_write(struct kernfs_open_file *of,
static ssize_t cgroup_cpu_pressure_write(struct kernfs_open_file *of,
static ssize_t cgroup_irq_pressure_write(struct kernfs_open_file *of,
static ssize_t cgroup_pressure_write(struct kernfs_open_file *of,
static __poll_t cgroup_pressure_poll(struct kernfs_open_file *of,
static void cgroup_pressure_release(struct kernfs_open_file *of)
static ssize_t cgroup_freeze_write(struct kernfs_open_file *of,
static ssize_t cgroup_kill_write(struct kernfs_open_file *of, char *buf,
static int cgroup_file_open(struct kernfs_open_file *of)
static void cgroup_file_release(struct kernfs_open_file *of)
static ssize_t cgroup_file_write(struct kernfs_open_file *of, char *buf,
static __poll_t cgroup_file_poll(struct kernfs_open_file *of, poll_table *pt)
static void cgroup_procs_release(struct kernfs_open_file *of)
struct kernfs_open_file *of = s->private;
struct kernfs_open_file *of = s->private;
static ssize_t __cgroup_procs_write(struct kernfs_open_file *of, char *buf,
static ssize_t cgroup_procs_write(struct kernfs_open_file *of,
static ssize_t cgroup_threads_write(struct kernfs_open_file *of,
struct cgroup_subsys_state *of_css(struct kernfs_open_file *of)
ssize_t cpuset_write_resmask(struct kernfs_open_file *of,
ssize_t cpuset_write_resmask(struct kernfs_open_file *of,
static ssize_t cpuset_partition_write(struct kernfs_open_file *of, char *buf,
struct kernfs_open_file *of = seq->private;
struct kernfs_open_file *of = seq->private;
struct kernfs_open_file *of = seq->private;
static ssize_t dmemcg_limit_write(struct kernfs_open_file *of,
static ssize_t dmem_cgroup_region_min_write(struct kernfs_open_file *of,
static ssize_t dmem_cgroup_region_low_write(struct kernfs_open_file *of,
static ssize_t dmem_cgroup_region_max_write(struct kernfs_open_file *of,
static ssize_t freezer_write(struct kernfs_open_file *of,
static ssize_t misc_cg_max_write(struct kernfs_open_file *of, char *buf,
static ssize_t pids_max_write(struct kernfs_open_file *of, char *buf,
static ssize_t rdmacg_resource_set_max(struct kernfs_open_file *of,
static ssize_t cpu_max_write(struct kernfs_open_file *of,
static ssize_t cpu_uclamp_write(struct kernfs_open_file *of, char *buf,
static ssize_t cpu_uclamp_min_write(struct kernfs_open_file *of,
static ssize_t cpu_uclamp_max_write(struct kernfs_open_file *of,
struct kernfs_open_file *of)
static ssize_t hugetlb_cgroup_write(struct kernfs_open_file *of,
static ssize_t hugetlb_cgroup_write_legacy(struct kernfs_open_file *of,
static ssize_t hugetlb_cgroup_write_dfl(struct kernfs_open_file *of,
static ssize_t hugetlb_cgroup_reset(struct kernfs_open_file *of,
static ssize_t memcg_write_event_control(struct kernfs_open_file *of,
static ssize_t mem_cgroup_force_empty_write(struct kernfs_open_file *of,
static ssize_t mem_cgroup_write(struct kernfs_open_file *of,
static ssize_t mem_cgroup_reset(struct kernfs_open_file *of, char *buf,
static int peak_open(struct kernfs_open_file *of)
static void peak_release(struct kernfs_open_file *of)
static ssize_t peak_write(struct kernfs_open_file *of, char *buf, size_t nbytes,
static ssize_t memory_peak_write(struct kernfs_open_file *of, char *buf,
static ssize_t memory_min_write(struct kernfs_open_file *of,
static ssize_t memory_low_write(struct kernfs_open_file *of,
static ssize_t memory_high_write(struct kernfs_open_file *of,
static ssize_t memory_max_write(struct kernfs_open_file *of,
static ssize_t memory_oom_group_write(struct kernfs_open_file *of,
static ssize_t memory_reclaim(struct kernfs_open_file *of, char *buf,
static ssize_t swap_peak_write(struct kernfs_open_file *of, char *buf,
static ssize_t swap_high_write(struct kernfs_open_file *of,
static ssize_t swap_max_write(struct kernfs_open_file *of,
static ssize_t zswap_max_write(struct kernfs_open_file *of,
static ssize_t zswap_writeback_write(struct kernfs_open_file *of,
static ssize_t write_priomap(struct kernfs_open_file *of,
static ssize_t devcgroup_access_write(struct kernfs_open_file *of,