Home
last modified time | relevance | path

Searched refs:kernfs_open_file (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.3-rc2/fs/kernfs/
A Dfile.c137 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()
355 struct kernfs_open_file *of = kernfs_of(file); in kernfs_vma_open()
562 struct kernfs_open_file *of) in kernfs_get_open_node()
606 struct kernfs_open_file *of, in kernfs_unlink_open_file()
644 struct kernfs_open_file *of; in kernfs_fop_open()
769 struct kernfs_open_file *of) in kernfs_release_file()
[all …]
/linux-6.3-rc2/include/linux/
A Dkernfs.h249 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,
A Dcgroup-defs.h33 struct kernfs_open_file;
599 int (*open)(struct kernfs_open_file *of);
600 void (*release)(struct kernfs_open_file *of);
639 ssize_t (*write)(struct kernfs_open_file *of,
642 __poll_t (*poll)(struct kernfs_open_file *of,
A Dcgroup.h572 static inline struct cftype *of_cft(struct kernfs_open_file *of) in of_cft()
577 struct cgroup_subsys_state *of_css(struct kernfs_open_file *of);
/linux-6.3-rc2/arch/x86/kernel/cpu/resctrl/
A Drdtgroup.c227 struct kernfs_open_file *of = m->private; in rdtgroup_seqfile_show()
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()
632 struct kernfs_open_file *of) in rdtgroup_task_write_permission()
654 struct kernfs_open_file *of) in rdtgroup_move_task()
725 static int rdtgroup_tasks_show(struct kernfs_open_file *of, in rdtgroup_tasks_show()
895 static int rdt_bit_usage_show(struct kernfs_open_file *of, in rdt_bit_usage_show()
975 static int rdt_min_bw_show(struct kernfs_open_file *of, in rdt_min_bw_show()
985 static int rdt_num_rmids_show(struct kernfs_open_file *of, in rdt_num_rmids_show()
1010 static int rdt_bw_gran_show(struct kernfs_open_file *of, in rdt_bw_gran_show()
[all …]
A Dinternal.h284 int (*seq_show)(struct kernfs_open_file *of,
291 ssize_t (*write)(struct kernfs_open_file *of,
516 ssize_t rdtgroup_schemata_write(struct kernfs_open_file *of,
518 int rdtgroup_schemata_show(struct kernfs_open_file *of,
A Dctrlmondata.c366 ssize_t rdtgroup_schemata_write(struct kernfs_open_file *of, in rdtgroup_schemata_write()
487 int rdtgroup_schemata_show(struct kernfs_open_file *of, in rdtgroup_schemata_show()
545 struct kernfs_open_file *of = m->private; in rdtgroup_mondata_show()
/linux-6.3-rc2/fs/sysfs/
A Dfile.c42 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-6.3-rc2/kernel/cgroup/
A Ddebug.c42 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()
A Dcgroup-v1.c396 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()
A Dcgroup.c657 struct cgroup_subsys_state *of_css(struct kernfs_open_file *of) in of_css()
3824 static ssize_t cgroup_pressure_write(struct kernfs_open_file *of, in cgroup_pressure_write()
3870 static void cgroup_pressure_release(struct kernfs_open_file *of) in cgroup_pressure_release()
3902 static ssize_t cgroup_freeze_write(struct kernfs_open_file *of, in cgroup_freeze_write()
4001 static int cgroup_file_open(struct kernfs_open_file *of) in cgroup_file_open()
4026 static void cgroup_file_release(struct kernfs_open_file *of) in cgroup_file_release()
4989 static void cgroup_procs_release(struct kernfs_open_file *of) in cgroup_procs_release()
4999 struct kernfs_open_file *of = s->private; in cgroup_procs_next()
5011 struct kernfs_open_file *of = s->private; in __cgroup_procs_start()
5172 static ssize_t cgroup_procs_write(struct kernfs_open_file *of, in cgroup_procs_write()
[all …]
A Dmisc.c246 static ssize_t misc_cg_max_write(struct kernfs_open_file *of, char *buf, in misc_cg_max_write()
A Dpids.c282 static ssize_t pids_max_write(struct kernfs_open_file *of, char *buf, in pids_max_write()
A Dlegacy_freezer.c412 static ssize_t freezer_write(struct kernfs_open_file *of, in freezer_write()
A Drdma.c425 static ssize_t rdmacg_resource_set_max(struct kernfs_open_file *of, in rdmacg_resource_set_max()
A Dcpuset.c2702 static ssize_t cpuset_write_resmask(struct kernfs_open_file *of, in cpuset_write_resmask()
2884 static ssize_t sched_partition_write(struct kernfs_open_file *of, char *buf, in sched_partition_write()
/linux-6.3-rc2/mm/
A Dhugetlb_cgroup.c594 static ssize_t hugetlb_cgroup_write(struct kernfs_open_file *of, in hugetlb_cgroup_write()
632 static ssize_t hugetlb_cgroup_write_legacy(struct kernfs_open_file *of, in hugetlb_cgroup_write_legacy()
638 static ssize_t hugetlb_cgroup_write_dfl(struct kernfs_open_file *of, in hugetlb_cgroup_write_dfl()
644 static ssize_t hugetlb_cgroup_reset(struct kernfs_open_file *of, in hugetlb_cgroup_reset()
A Dmemcontrol.c3835 static ssize_t mem_cgroup_write(struct kernfs_open_file *of, in mem_cgroup_write()
4846 static ssize_t memcg_write_event_control(struct kernfs_open_file *of, in memcg_write_event_control()
6402 static ssize_t memory_min_write(struct kernfs_open_file *of, in memory_min_write()
6425 static ssize_t memory_low_write(struct kernfs_open_file *of, in memory_low_write()
6448 static ssize_t memory_high_write(struct kernfs_open_file *of, in memory_high_write()
6497 static ssize_t memory_max_write(struct kernfs_open_file *of, in memory_max_write()
6631 static ssize_t memory_oom_group_write(struct kernfs_open_file *of, in memory_oom_group_write()
6653 static ssize_t memory_reclaim(struct kernfs_open_file *of, char *buf, in memory_reclaim()
7604 static ssize_t swap_high_write(struct kernfs_open_file *of, in swap_high_write()
7627 static ssize_t swap_max_write(struct kernfs_open_file *of, in swap_max_write()
[all …]
/linux-6.3-rc2/block/
A Dblk-ioprio.c102 static ssize_t ioprio_set_prio_policy(struct kernfs_open_file *of, char *buf, in ioprio_set_prio_policy()
A Dblk-throttle.c1362 static ssize_t tg_set_conf(struct kernfs_open_file *of, in tg_set_conf()
1396 static ssize_t tg_set_conf_u64(struct kernfs_open_file *of, in tg_set_conf_u64()
1402 static ssize_t tg_set_conf_uint(struct kernfs_open_file *of, in tg_set_conf_uint()
1552 static ssize_t tg_set_limit(struct kernfs_open_file *of, in tg_set_limit()
A Dbfq-cgroup.c1104 static ssize_t bfq_io_set_device_weight(struct kernfs_open_file *of, in bfq_io_set_device_weight()
1142 static ssize_t bfq_io_set_weight(struct kernfs_open_file *of, in bfq_io_set_weight()
A Dblk-iolatency.c827 static ssize_t iolatency_set_limit(struct kernfs_open_file *of, char *buf, in iolatency_set_limit()
A Dblk-iocost.c3072 static ssize_t ioc_weight_write(struct kernfs_open_file *of, char *buf, in ioc_weight_write()
3189 static ssize_t ioc_qos_write(struct kernfs_open_file *of, char *input, in ioc_qos_write()
3376 static ssize_t ioc_cost_model_write(struct kernfs_open_file *of, char *input, in ioc_cost_model_write()
/linux-6.3-rc2/net/core/
A Dnetprio_cgroup.c195 static ssize_t write_priomap(struct kernfs_open_file *of, in write_priomap()
/linux-6.3-rc2/security/
A Ddevice_cgroup.c784 static ssize_t devcgroup_access_write(struct kernfs_open_file *of, in devcgroup_access_write()

Completed in 79 milliseconds

12