/Linux-v6.1/fs/kernfs/ |
D | file.c | 65 static struct kernfs_open_node *of_on(struct kernfs_open_file *of) in of_on() 93 static struct kernfs_open_file *kernfs_of(struct file *file) in kernfs_of() 133 struct kernfs_open_file *of = sf->private; in kernfs_seq_stop_active() 143 struct kernfs_open_file *of = sf->private; in kernfs_seq_start() 167 struct kernfs_open_file *of = sf->private; in kernfs_seq_next() 188 struct kernfs_open_file *of = sf->private; in kernfs_seq_stop() 197 struct kernfs_open_file *of = sf->private; in kernfs_seq_show() 219 struct kernfs_open_file *of = kernfs_of(iocb->ki_filp); in kernfs_file_read_iter() 291 struct kernfs_open_file *of = kernfs_of(iocb->ki_filp); in kernfs_fop_write_iter() 351 struct kernfs_open_file *of = kernfs_of(file); in kernfs_vma_open() [all …]
|
/Linux-v6.1/include/linux/ |
D | kernfs.h | 249 struct kernfs_open_file { struct 274 int (*open)(struct kernfs_open_file *of); argument 275 void (*release)(struct kernfs_open_file *of); 294 ssize_t (*read)(struct kernfs_open_file *of, char *buf, size_t bytes, 312 ssize_t (*write)(struct kernfs_open_file *of, char *buf, size_t bytes, 315 __poll_t (*poll)(struct kernfs_open_file *of, 318 int (*mmap)(struct kernfs_open_file *of, struct vm_area_struct *vma); 444 __poll_t kernfs_generic_poll(struct kernfs_open_file *of,
|
D | cgroup-defs.h | 33 struct kernfs_open_file; 595 int (*open)(struct kernfs_open_file *of); 596 void (*release)(struct kernfs_open_file *of); 635 ssize_t (*write)(struct kernfs_open_file *of, 638 __poll_t (*poll)(struct kernfs_open_file *of,
|
D | cgroup.h | 644 static inline struct cftype *of_cft(struct kernfs_open_file *of) in of_cft() 649 struct cgroup_subsys_state *of_css(struct kernfs_open_file *of);
|
/Linux-v6.1/arch/x86/kernel/cpu/resctrl/ |
D | rdtgroup.c | 227 struct kernfs_open_file *of = m->private; in rdtgroup_seqfile_show() 235 static ssize_t rdtgroup_file_write(struct kernfs_open_file *of, char *buf, in rdtgroup_file_write() 257 static bool is_cpu_list(struct kernfs_open_file *of) in is_cpu_list() 264 static int rdtgroup_cpus_show(struct kernfs_open_file *of, in rdtgroup_cpus_show() 444 static ssize_t rdtgroup_cpus_write(struct kernfs_open_file *of, in rdtgroup_cpus_write() 635 struct kernfs_open_file *of) in rdtgroup_task_write_permission() 657 struct kernfs_open_file *of) in rdtgroup_move_task() 685 static ssize_t rdtgroup_tasks_write(struct kernfs_open_file *of, in rdtgroup_tasks_write() 728 static int rdtgroup_tasks_show(struct kernfs_open_file *of, in rdtgroup_tasks_show() 830 static int rdt_last_cmd_status_show(struct kernfs_open_file *of, in rdt_last_cmd_status_show() [all …]
|
D | internal.h | 269 int (*seq_show)(struct kernfs_open_file *of, 276 ssize_t (*write)(struct kernfs_open_file *of, 500 ssize_t rdtgroup_schemata_write(struct kernfs_open_file *of, 502 int rdtgroup_schemata_show(struct kernfs_open_file *of,
|
D | ctrlmondata.c | 372 ssize_t rdtgroup_schemata_write(struct kernfs_open_file *of, in rdtgroup_schemata_write() 493 int rdtgroup_schemata_show(struct kernfs_open_file *of, in rdtgroup_schemata_show() 551 struct kernfs_open_file *of = m->private; in rdtgroup_mondata_show()
|
/Linux-v6.1/fs/sysfs/ |
D | file.c | 42 struct kernfs_open_file *of = sf->private; in sysfs_kf_seq_show() 77 static ssize_t sysfs_kf_bin_read(struct kernfs_open_file *of, char *buf, in sysfs_kf_bin_read() 101 static ssize_t sysfs_kf_read(struct kernfs_open_file *of, char *buf, in sysfs_kf_read() 127 static ssize_t sysfs_kf_write(struct kernfs_open_file *of, char *buf, in sysfs_kf_write() 140 static ssize_t sysfs_kf_bin_write(struct kernfs_open_file *of, char *buf, in sysfs_kf_bin_write() 161 static int sysfs_kf_bin_mmap(struct kernfs_open_file *of, in sysfs_kf_bin_mmap() 170 static int sysfs_kf_bin_open(struct kernfs_open_file *of) in sysfs_kf_bin_open()
|
/Linux-v6.1/kernel/cgroup/ |
D | debug.c | 42 struct kernfs_open_file *of = seq->private; in current_css_set_read() 205 struct kernfs_open_file *of = seq->private; in cgroup_subsys_states_read() 257 struct kernfs_open_file *of = seq->private; in cgroup_masks_read()
|
D | cgroup-v1.c | 396 struct kernfs_open_file *of = s->private; in cgroup_pidlist_start() 451 struct kernfs_open_file *of = s->private; in cgroup_pidlist_stop() 463 struct kernfs_open_file *of = s->private; in cgroup_pidlist_next() 489 static ssize_t __cgroup1_procs_write(struct kernfs_open_file *of, in __cgroup1_procs_write() 533 static ssize_t cgroup1_procs_write(struct kernfs_open_file *of, in cgroup1_procs_write() 539 static ssize_t cgroup1_tasks_write(struct kernfs_open_file *of, in cgroup1_tasks_write() 545 static ssize_t cgroup_release_agent_write(struct kernfs_open_file *of, in cgroup_release_agent_write()
|
D | cgroup.c | 651 struct cgroup_subsys_state *of_css(struct kernfs_open_file *of) in of_css() 3387 static ssize_t cgroup_subtree_control_write(struct kernfs_open_file *of, in cgroup_subtree_control_write() 3554 static ssize_t cgroup_type_write(struct kernfs_open_file *of, char *buf, in cgroup_type_write() 3589 static ssize_t cgroup_max_descendants_write(struct kernfs_open_file *of, in cgroup_max_descendants_write() 3632 static ssize_t cgroup_max_depth_write(struct kernfs_open_file *of, in cgroup_max_depth_write() 3738 static ssize_t pressure_write(struct kernfs_open_file *of, char *buf, in pressure_write() 3772 static ssize_t cgroup_io_pressure_write(struct kernfs_open_file *of, in cgroup_io_pressure_write() 3779 static ssize_t cgroup_memory_pressure_write(struct kernfs_open_file *of, in cgroup_memory_pressure_write() 3786 static ssize_t cgroup_cpu_pressure_write(struct kernfs_open_file *of, in cgroup_cpu_pressure_write() 3802 static ssize_t cgroup_irq_pressure_write(struct kernfs_open_file *of, in cgroup_irq_pressure_write() [all …]
|
D | misc.c | 246 static ssize_t misc_cg_max_write(struct kernfs_open_file *of, char *buf, in misc_cg_max_write()
|
D | pids.c | 282 static ssize_t pids_max_write(struct kernfs_open_file *of, char *buf, in pids_max_write()
|
D | legacy_freezer.c | 412 static ssize_t freezer_write(struct kernfs_open_file *of, in freezer_write()
|
D | rdma.c | 425 static ssize_t rdmacg_resource_set_max(struct kernfs_open_file *of, in rdmacg_resource_set_max()
|
D | cpuset.c | 2671 static ssize_t cpuset_write_resmask(struct kernfs_open_file *of, in cpuset_write_resmask() 2853 static ssize_t sched_partition_write(struct kernfs_open_file *of, char *buf, in sched_partition_write()
|
/Linux-v6.1/mm/ |
D | hugetlb_cgroup.c | 593 static ssize_t hugetlb_cgroup_write(struct kernfs_open_file *of, in hugetlb_cgroup_write() 631 static ssize_t hugetlb_cgroup_write_legacy(struct kernfs_open_file *of, in hugetlb_cgroup_write_legacy() 637 static ssize_t hugetlb_cgroup_write_dfl(struct kernfs_open_file *of, in hugetlb_cgroup_write_dfl() 643 static ssize_t hugetlb_cgroup_reset(struct kernfs_open_file *of, in hugetlb_cgroup_reset()
|
D | memcontrol.c | 3620 static ssize_t mem_cgroup_force_empty_write(struct kernfs_open_file *of, in mem_cgroup_force_empty_write() 3818 static ssize_t mem_cgroup_write(struct kernfs_open_file *of, in mem_cgroup_write() 3864 static ssize_t mem_cgroup_reset(struct kernfs_open_file *of, char *buf, in mem_cgroup_reset() 4825 static ssize_t memcg_write_event_control(struct kernfs_open_file *of, in memcg_write_event_control() 6332 static ssize_t memory_min_write(struct kernfs_open_file *of, in memory_min_write() 6355 static ssize_t memory_low_write(struct kernfs_open_file *of, in memory_low_write() 6378 static ssize_t memory_high_write(struct kernfs_open_file *of, in memory_high_write() 6427 static ssize_t memory_max_write(struct kernfs_open_file *of, in memory_max_write() 6561 static ssize_t memory_oom_group_write(struct kernfs_open_file *of, in memory_oom_group_write() 6583 static ssize_t memory_reclaim(struct kernfs_open_file *of, char *buf, in memory_reclaim() [all …]
|
/Linux-v6.1/block/ |
D | blk-ioprio.c | 102 static ssize_t ioprio_set_prio_policy(struct kernfs_open_file *of, char *buf, in ioprio_set_prio_policy()
|
D | blk-throttle.c | 1374 static ssize_t tg_set_conf(struct kernfs_open_file *of, in tg_set_conf() 1408 static ssize_t tg_set_conf_u64(struct kernfs_open_file *of, in tg_set_conf_u64() 1414 static ssize_t tg_set_conf_uint(struct kernfs_open_file *of, in tg_set_conf_uint() 1564 static ssize_t tg_set_limit(struct kernfs_open_file *of, in tg_set_limit()
|
D | bfq-cgroup.c | 1093 static ssize_t bfq_io_set_device_weight(struct kernfs_open_file *of, in bfq_io_set_device_weight() 1131 static ssize_t bfq_io_set_weight(struct kernfs_open_file *of, in bfq_io_set_weight()
|
D | blk-iolatency.c | 834 static ssize_t iolatency_set_limit(struct kernfs_open_file *of, char *buf, in iolatency_set_limit()
|
D | blk-iocost.c | 3051 static ssize_t ioc_weight_write(struct kernfs_open_file *of, char *buf, in ioc_weight_write() 3166 static ssize_t ioc_qos_write(struct kernfs_open_file *of, char *input, in ioc_qos_write() 3335 static ssize_t ioc_cost_model_write(struct kernfs_open_file *of, char *input, in ioc_cost_model_write()
|
/Linux-v6.1/net/core/ |
D | netprio_cgroup.c | 195 static ssize_t write_priomap(struct kernfs_open_file *of, in write_priomap()
|
/Linux-v6.1/security/ |
D | device_cgroup.c | 759 static ssize_t devcgroup_access_write(struct kernfs_open_file *of, in devcgroup_access_write()
|