/linux-6.12.1/fs/kernfs/ |
D | file.c | 67 static struct kernfs_open_node *of_on(struct kernfs_open_file *of) in of_on() 97 static struct kernfs_open_file *kernfs_of(struct file *file) in kernfs_of() 137 struct kernfs_open_file *of = sf->private; in kernfs_seq_stop_active() 147 struct kernfs_open_file *of = sf->private; in kernfs_seq_start() 171 struct kernfs_open_file *of = sf->private; in kernfs_seq_next() 192 struct kernfs_open_file *of = sf->private; in kernfs_seq_stop() 201 struct kernfs_open_file *of = sf->private; in kernfs_seq_show() 223 struct kernfs_open_file *of = kernfs_of(iocb->ki_filp); in kernfs_file_read_iter() 295 struct kernfs_open_file *of = kernfs_of(iocb->ki_filp); in kernfs_fop_write_iter() 355 struct kernfs_open_file *of = kernfs_of(file); in kernfs_vma_open() [all …]
|
/linux-6.12.1/include/linux/ |
D | kernfs.h | 251 struct kernfs_open_file { struct 276 int (*open)(struct kernfs_open_file *of); argument 277 void (*release)(struct kernfs_open_file *of); 296 ssize_t (*read)(struct kernfs_open_file *of, char *buf, size_t bytes, 314 ssize_t (*write)(struct kernfs_open_file *of, char *buf, size_t bytes, 317 __poll_t (*poll)(struct kernfs_open_file *of, 320 int (*mmap)(struct kernfs_open_file *of, struct vm_area_struct *vma); 321 loff_t (*llseek)(struct kernfs_open_file *of, loff_t offset, int whence); 447 __poll_t kernfs_generic_poll(struct kernfs_open_file *of, 556 static inline __poll_t kernfs_generic_poll(struct kernfs_open_file *of, in kernfs_generic_poll()
|
D | cgroup-defs.h | 33 struct kernfs_open_file; 653 int (*open)(struct kernfs_open_file *of); 654 void (*release)(struct kernfs_open_file *of); 693 ssize_t (*write)(struct kernfs_open_file *of, 696 __poll_t (*poll)(struct kernfs_open_file *of,
|
D | psi.h | 28 struct kernfs_open_file *of);
|
D | cgroup.h | 569 static inline struct cftype *of_cft(struct kernfs_open_file *of) in of_cft() 574 struct cgroup_subsys_state *of_css(struct kernfs_open_file *of); 858 struct cgroup_of_peak *of_peak(struct kernfs_open_file *of);
|
D | psi_types.h | 141 struct kernfs_open_file *of;
|
/linux-6.12.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 loff_t sysfs_kf_bin_llseek(struct kernfs_open_file *of, loff_t offset, in sysfs_kf_bin_llseek() 182 static int sysfs_kf_bin_open(struct kernfs_open_file *of) in sysfs_kf_bin_open()
|
/linux-6.12.1/arch/x86/kernel/cpu/resctrl/ |
D | rdtgroup.c | 266 struct kernfs_open_file *of = m->private; in rdtgroup_seqfile_show() 274 static ssize_t rdtgroup_file_write(struct kernfs_open_file *of, char *buf, in rdtgroup_file_write() 296 static bool is_cpu_list(struct kernfs_open_file *of) in is_cpu_list() 303 static int rdtgroup_cpus_show(struct kernfs_open_file *of, in rdtgroup_cpus_show() 478 static ssize_t rdtgroup_cpus_write(struct kernfs_open_file *of, in rdtgroup_cpus_write() 684 struct kernfs_open_file *of) in rdtgroup_task_write_permission() 706 struct kernfs_open_file *of) in rdtgroup_move_task() 734 static ssize_t rdtgroup_tasks_write(struct kernfs_open_file *of, in rdtgroup_tasks_write() 800 static int rdtgroup_tasks_show(struct kernfs_open_file *of, in rdtgroup_tasks_show() 816 static int rdtgroup_closid_show(struct kernfs_open_file *of, in rdtgroup_closid_show() [all …]
|
D | internal.h | 349 int (*seq_show)(struct kernfs_open_file *of, 356 ssize_t (*write)(struct kernfs_open_file *of, 606 ssize_t rdtgroup_schemata_write(struct kernfs_open_file *of, 608 int rdtgroup_schemata_show(struct kernfs_open_file *of,
|
D | ctrlmondata.c | 357 ssize_t rdtgroup_schemata_write(struct kernfs_open_file *of, in rdtgroup_schemata_write() 475 int rdtgroup_schemata_show(struct kernfs_open_file *of, in rdtgroup_schemata_show() 562 struct kernfs_open_file *of = m->private; in rdtgroup_mondata_show()
|
/linux-6.12.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 | 401 struct kernfs_open_file *of = s->private; in cgroup_pidlist_start() 456 struct kernfs_open_file *of = s->private; in cgroup_pidlist_stop() 468 struct kernfs_open_file *of = s->private; in cgroup_pidlist_next() 494 static ssize_t __cgroup1_procs_write(struct kernfs_open_file *of, in __cgroup1_procs_write() 538 static ssize_t cgroup1_procs_write(struct kernfs_open_file *of, in cgroup1_procs_write() 544 static ssize_t cgroup1_tasks_write(struct kernfs_open_file *of, in cgroup1_tasks_write() 550 static ssize_t cgroup_release_agent_write(struct kernfs_open_file *of, in cgroup_release_agent_write()
|
D | cgroup.c | 636 struct cgroup_subsys_state *of_css(struct kernfs_open_file *of) in of_css() 1975 struct cgroup_of_peak *of_peak(struct kernfs_open_file *of) in of_peak() 3391 static ssize_t cgroup_subtree_control_write(struct kernfs_open_file *of, in cgroup_subtree_control_write() 3558 static ssize_t cgroup_type_write(struct kernfs_open_file *of, char *buf, in cgroup_type_write() 3593 static ssize_t cgroup_max_descendants_write(struct kernfs_open_file *of, in cgroup_max_descendants_write() 3636 static ssize_t cgroup_max_depth_write(struct kernfs_open_file *of, in cgroup_max_depth_write() 3823 static ssize_t pressure_write(struct kernfs_open_file *of, char *buf, in pressure_write() 3857 static ssize_t cgroup_io_pressure_write(struct kernfs_open_file *of, in cgroup_io_pressure_write() 3864 static ssize_t cgroup_memory_pressure_write(struct kernfs_open_file *of, in cgroup_memory_pressure_write() 3871 static ssize_t cgroup_cpu_pressure_write(struct kernfs_open_file *of, in cgroup_cpu_pressure_write() [all …]
|
D | cpuset-internal.h | 276 ssize_t cpuset_write_resmask(struct kernfs_open_file *of,
|
D | legacy_freezer.c | 424 static ssize_t freezer_write(struct kernfs_open_file *of, in freezer_write()
|
D | pids.c | 301 static ssize_t pids_max_write(struct kernfs_open_file *of, char *buf, in pids_max_write()
|
D | misc.c | 266 static ssize_t misc_cg_max_write(struct kernfs_open_file *of, char *buf, in misc_cg_max_write()
|
D | rdma.c | 427 static ssize_t rdmacg_resource_set_max(struct kernfs_open_file *of, in rdmacg_resource_set_max()
|
/linux-6.12.1/mm/ |
D | hugetlb_cgroup.c | 595 static ssize_t hugetlb_cgroup_write(struct kernfs_open_file *of, in hugetlb_cgroup_write() 633 static ssize_t hugetlb_cgroup_write_legacy(struct kernfs_open_file *of, in hugetlb_cgroup_write_legacy() 639 static ssize_t hugetlb_cgroup_write_dfl(struct kernfs_open_file *of, in hugetlb_cgroup_write_dfl() 645 static ssize_t hugetlb_cgroup_reset(struct kernfs_open_file *of, in hugetlb_cgroup_reset()
|
D | memcontrol.c | 3948 static int peak_open(struct kernfs_open_file *of) in peak_open() 3956 static void peak_release(struct kernfs_open_file *of) in peak_release() 3970 static ssize_t peak_write(struct kernfs_open_file *of, char *buf, size_t nbytes, in peak_write() 3998 static ssize_t memory_peak_write(struct kernfs_open_file *of, char *buf, in memory_peak_write() 4015 static ssize_t memory_min_write(struct kernfs_open_file *of, in memory_min_write() 4038 static ssize_t memory_low_write(struct kernfs_open_file *of, in memory_low_write() 4061 static ssize_t memory_high_write(struct kernfs_open_file *of, in memory_high_write() 4110 static ssize_t memory_max_write(struct kernfs_open_file *of, in memory_max_write() 4251 static ssize_t memory_oom_group_write(struct kernfs_open_file *of, in memory_oom_group_write() 4283 static ssize_t memory_reclaim(struct kernfs_open_file *of, char *buf, in memory_reclaim() [all …]
|
D | memcontrol-v1.c | 1931 static ssize_t memcg_write_event_control(struct kernfs_open_file *of, in memcg_write_event_control() 2413 static ssize_t mem_cgroup_force_empty_write(struct kernfs_open_file *of, in mem_cgroup_force_empty_write() 2535 static ssize_t mem_cgroup_write(struct kernfs_open_file *of, in mem_cgroup_write() 2590 static ssize_t mem_cgroup_reset(struct kernfs_open_file *of, char *buf, in mem_cgroup_reset()
|
/linux-6.12.1/block/ |
D | blk-ioprio.c | 82 static ssize_t ioprio_set_prio_policy(struct kernfs_open_file *of, char *buf, in ioprio_set_prio_policy()
|
D | blk-throttle.c | 1248 static ssize_t tg_set_conf(struct kernfs_open_file *of, in tg_set_conf() 1294 static ssize_t tg_set_conf_u64(struct kernfs_open_file *of, in tg_set_conf_u64() 1300 static ssize_t tg_set_conf_uint(struct kernfs_open_file *of, in tg_set_conf_uint() 1432 static ssize_t tg_set_limit(struct kernfs_open_file *of, in tg_set_limit()
|
D | bfq-cgroup.c | 1041 static ssize_t bfq_io_set_device_weight(struct kernfs_open_file *of, in bfq_io_set_device_weight() 1081 static ssize_t bfq_io_set_weight(struct kernfs_open_file *of, in bfq_io_set_weight()
|
/linux-6.12.1/net/core/ |
D | netprio_cgroup.c | 195 static ssize_t write_priomap(struct kernfs_open_file *of, in write_priomap()
|