/Linux-v5.10/fs/kernfs/ |
D | file.c | 54 static struct kernfs_open_file *kernfs_of(struct file *file) in kernfs_of() 94 struct kernfs_open_file *of = sf->private; in kernfs_seq_stop_active() 104 struct kernfs_open_file *of = sf->private; in kernfs_seq_start() 133 struct kernfs_open_file *of = sf->private; in kernfs_seq_next() 154 struct kernfs_open_file *of = sf->private; in kernfs_seq_stop() 163 struct kernfs_open_file *of = sf->private; in kernfs_seq_show() 183 static ssize_t kernfs_file_direct_read(struct kernfs_open_file *of, in kernfs_file_direct_read() 248 struct kernfs_open_file *of = kernfs_of(file); in kernfs_fop_read() 275 struct kernfs_open_file *of = kernfs_of(file); in kernfs_fop_write() 336 struct kernfs_open_file *of = kernfs_of(file); in kernfs_vma_open() [all …]
|
/Linux-v5.10/include/linux/ |
D | kernfs.h | 197 struct kernfs_open_file { struct 222 int (*open)(struct kernfs_open_file *of); argument 223 void (*release)(struct kernfs_open_file *of); 242 ssize_t (*read)(struct kernfs_open_file *of, char *buf, size_t bytes, 260 ssize_t (*write)(struct kernfs_open_file *of, char *buf, size_t bytes, 263 __poll_t (*poll)(struct kernfs_open_file *of, 266 int (*mmap)(struct kernfs_open_file *of, struct vm_area_struct *vma); 395 __poll_t kernfs_generic_poll(struct kernfs_open_file *of,
|
D | cgroup-defs.h | 33 struct kernfs_open_file; 566 int (*open)(struct kernfs_open_file *of); 567 void (*release)(struct kernfs_open_file *of); 606 ssize_t (*write)(struct kernfs_open_file *of, 609 __poll_t (*poll)(struct kernfs_open_file *of,
|
D | cgroup.h | 631 static inline struct cftype *of_cft(struct kernfs_open_file *of) in of_cft() 636 struct cgroup_subsys_state *of_css(struct kernfs_open_file *of);
|
/Linux-v5.10/arch/x86/kernel/cpu/resctrl/ |
D | rdtgroup.c | 224 struct kernfs_open_file *of = m->private; in rdtgroup_seqfile_show() 232 static ssize_t rdtgroup_file_write(struct kernfs_open_file *of, char *buf, in rdtgroup_file_write() 254 static bool is_cpu_list(struct kernfs_open_file *of) in is_cpu_list() 261 static int rdtgroup_cpus_show(struct kernfs_open_file *of, in rdtgroup_cpus_show() 441 static ssize_t rdtgroup_cpus_write(struct kernfs_open_file *of, in rdtgroup_cpus_write() 651 struct kernfs_open_file *of) in rdtgroup_task_write_permission() 673 struct kernfs_open_file *of) in rdtgroup_move_task() 701 static ssize_t rdtgroup_tasks_write(struct kernfs_open_file *of, in rdtgroup_tasks_write() 744 static int rdtgroup_tasks_show(struct kernfs_open_file *of, in rdtgroup_tasks_show() 846 static int rdt_last_cmd_status_show(struct kernfs_open_file *of, in rdt_last_cmd_status_show() [all …]
|
D | internal.h | 271 int (*seq_show)(struct kernfs_open_file *of, 278 ssize_t (*write)(struct kernfs_open_file *of, 585 ssize_t rdtgroup_schemata_write(struct kernfs_open_file *of, 587 int rdtgroup_schemata_show(struct kernfs_open_file *of,
|
D | ctrlmondata.c | 297 ssize_t rdtgroup_schemata_write(struct kernfs_open_file *of, in rdtgroup_schemata_write() 394 int rdtgroup_schemata_show(struct kernfs_open_file *of, in rdtgroup_schemata_show() 451 struct kernfs_open_file *of = m->private; in rdtgroup_mondata_show()
|
/Linux-v5.10/fs/sysfs/ |
D | file.c | 42 struct kernfs_open_file *of = sf->private; in sysfs_kf_seq_show() 80 static ssize_t sysfs_kf_bin_read(struct kernfs_open_file *of, char *buf, in sysfs_kf_bin_read() 104 static ssize_t sysfs_kf_read(struct kernfs_open_file *of, char *buf, in sysfs_kf_read() 130 static ssize_t sysfs_kf_write(struct kernfs_open_file *of, char *buf, in sysfs_kf_write() 143 static ssize_t sysfs_kf_bin_write(struct kernfs_open_file *of, char *buf, in sysfs_kf_bin_write() 164 static int sysfs_kf_bin_mmap(struct kernfs_open_file *of, in sysfs_kf_bin_mmap()
|
/Linux-v5.10/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 | 395 struct kernfs_open_file *of = s->private; in cgroup_pidlist_start() 450 struct kernfs_open_file *of = s->private; in cgroup_pidlist_stop() 461 struct kernfs_open_file *of = s->private; in cgroup_pidlist_next() 486 static ssize_t __cgroup1_procs_write(struct kernfs_open_file *of, in __cgroup1_procs_write() 529 static ssize_t cgroup1_procs_write(struct kernfs_open_file *of, in cgroup1_procs_write() 535 static ssize_t cgroup1_tasks_write(struct kernfs_open_file *of, in cgroup1_tasks_write() 541 static ssize_t cgroup_release_agent_write(struct kernfs_open_file *of, in cgroup_release_agent_write()
|
D | cgroup.c | 623 struct cgroup_subsys_state *of_css(struct kernfs_open_file *of) in of_css() 3214 static ssize_t cgroup_subtree_control_write(struct kernfs_open_file *of, in cgroup_subtree_control_write() 3381 static ssize_t cgroup_type_write(struct kernfs_open_file *of, char *buf, in cgroup_type_write() 3416 static ssize_t cgroup_max_descendants_write(struct kernfs_open_file *of, in cgroup_max_descendants_write() 3459 static ssize_t cgroup_max_depth_write(struct kernfs_open_file *of, in cgroup_max_depth_write() 3565 static ssize_t cgroup_pressure_write(struct kernfs_open_file *of, char *buf, in cgroup_pressure_write() 3591 static ssize_t cgroup_io_pressure_write(struct kernfs_open_file *of, in cgroup_io_pressure_write() 3598 static ssize_t cgroup_memory_pressure_write(struct kernfs_open_file *of, in cgroup_memory_pressure_write() 3605 static ssize_t cgroup_cpu_pressure_write(struct kernfs_open_file *of, in cgroup_cpu_pressure_write() 3612 static __poll_t cgroup_pressure_poll(struct kernfs_open_file *of, in cgroup_pressure_poll() [all …]
|
D | pids.c | 262 static ssize_t pids_max_write(struct kernfs_open_file *of, char *buf, in pids_max_write()
|
D | legacy_freezer.c | 419 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 | 2333 static ssize_t cpuset_write_resmask(struct kernfs_open_file *of, in cpuset_write_resmask() 2502 static ssize_t sched_partition_write(struct kernfs_open_file *of, char *buf, in sched_partition_write()
|
/Linux-v5.10/mm/ |
D | hugetlb_cgroup.c | 492 static ssize_t hugetlb_cgroup_write(struct kernfs_open_file *of, in hugetlb_cgroup_write() 530 static ssize_t hugetlb_cgroup_write_legacy(struct kernfs_open_file *of, in hugetlb_cgroup_write_legacy() 536 static ssize_t hugetlb_cgroup_write_dfl(struct kernfs_open_file *of, in hugetlb_cgroup_write_dfl() 542 static ssize_t hugetlb_cgroup_reset(struct kernfs_open_file *of, in hugetlb_cgroup_reset()
|
D | memcontrol.c | 3522 static ssize_t mem_cgroup_force_empty_write(struct kernfs_open_file *of, in mem_cgroup_force_empty_write() 3839 static ssize_t mem_cgroup_write(struct kernfs_open_file *of, in mem_cgroup_write() 3883 static ssize_t mem_cgroup_reset(struct kernfs_open_file *of, char *buf, in mem_cgroup_reset() 4858 static ssize_t memcg_write_event_control(struct kernfs_open_file *of, in memcg_write_event_control() 6262 static ssize_t memory_min_write(struct kernfs_open_file *of, in memory_min_write() 6285 static ssize_t memory_low_write(struct kernfs_open_file *of, in memory_low_write() 6308 static ssize_t memory_high_write(struct kernfs_open_file *of, in memory_high_write() 6358 static ssize_t memory_max_write(struct kernfs_open_file *of, in memory_max_write() 6482 static ssize_t memory_oom_group_write(struct kernfs_open_file *of, in memory_oom_group_write() 7378 static ssize_t swap_high_write(struct kernfs_open_file *of, in swap_high_write() [all …]
|
/Linux-v5.10/net/core/ |
D | netprio_cgroup.c | 195 static ssize_t write_priomap(struct kernfs_open_file *of, in write_priomap()
|
/Linux-v5.10/block/ |
D | blk-throttle.c | 1448 static ssize_t tg_set_conf(struct kernfs_open_file *of, in tg_set_conf() 1481 static ssize_t tg_set_conf_u64(struct kernfs_open_file *of, in tg_set_conf_u64() 1487 static ssize_t tg_set_conf_uint(struct kernfs_open_file *of, in tg_set_conf_uint() 1637 static ssize_t tg_set_limit(struct kernfs_open_file *of, in tg_set_limit()
|
D | bfq-cgroup.c | 1045 static ssize_t bfq_io_set_device_weight(struct kernfs_open_file *of, in bfq_io_set_device_weight() 1083 static ssize_t bfq_io_set_weight(struct kernfs_open_file *of, in bfq_io_set_weight()
|
D | blk-iolatency.c | 788 static ssize_t iolatency_set_limit(struct kernfs_open_file *of, char *buf, in iolatency_set_limit()
|
D | blk-iocost.c | 3005 static ssize_t ioc_weight_write(struct kernfs_open_file *of, char *buf, in ioc_weight_write() 3120 static ssize_t ioc_qos_write(struct kernfs_open_file *of, char *input, in ioc_qos_write() 3287 static ssize_t ioc_cost_model_write(struct kernfs_open_file *of, char *input, in ioc_cost_model_write()
|
/Linux-v5.10/security/ |
D | device_cgroup.c | 758 static ssize_t devcgroup_access_write(struct kernfs_open_file *of, in devcgroup_access_write()
|
/Linux-v5.10/kernel/sched/ |
D | core.c | 7786 static ssize_t cpu_uclamp_write(struct kernfs_open_file *of, char *buf, in cpu_uclamp_write() 7821 static ssize_t cpu_uclamp_min_write(struct kernfs_open_file *of, in cpu_uclamp_min_write() 7828 static ssize_t cpu_uclamp_max_write(struct kernfs_open_file *of, in cpu_uclamp_max_write() 8367 static ssize_t cpu_max_write(struct kernfs_open_file *of, in cpu_max_write()
|