Home
last modified time | relevance | path

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

12

/linux/fs/kernfs/
A Dfile.c95 struct kernfs_open_file *of = sf->private; in kernfs_seq_stop_active()
105 struct kernfs_open_file *of = sf->private; in kernfs_seq_start()
134 struct kernfs_open_file *of = sf->private; in kernfs_seq_next()
155 struct kernfs_open_file *of = sf->private; in kernfs_seq_stop()
164 struct kernfs_open_file *of = sf->private; in kernfs_seq_show()
317 struct kernfs_open_file *of = kernfs_of(file); in kernfs_vma_open()
524 struct kernfs_open_file *of) in kernfs_get_open_node()
575 struct kernfs_open_file *of) in kernfs_put_open_node()
602 struct kernfs_open_file *of; in kernfs_fop_open()
727 struct kernfs_open_file *of) in kernfs_release_file()
[all …]
/linux/include/linux/
A Dkernfs.h202 struct kernfs_open_file { struct
227 int (*open)(struct kernfs_open_file *of); argument
228 void (*release)(struct kernfs_open_file *of);
247 ssize_t (*read)(struct kernfs_open_file *of, char *buf, size_t bytes,
265 ssize_t (*write)(struct kernfs_open_file *of, char *buf, size_t bytes,
268 __poll_t (*poll)(struct kernfs_open_file *of,
271 int (*mmap)(struct kernfs_open_file *of, struct vm_area_struct *vma);
396 __poll_t kernfs_generic_poll(struct kernfs_open_file *of,
A Dcgroup-defs.h33 struct kernfs_open_file;
570 int (*open)(struct kernfs_open_file *of);
571 void (*release)(struct kernfs_open_file *of);
610 ssize_t (*write)(struct kernfs_open_file *of,
613 __poll_t (*poll)(struct kernfs_open_file *of,
A Dcgroup.h631 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/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()
635 struct kernfs_open_file *of) in rdtgroup_task_write_permission()
657 struct kernfs_open_file *of) in rdtgroup_move_task()
728 static int rdtgroup_tasks_show(struct kernfs_open_file *of, in rdtgroup_tasks_show()
898 static int rdt_bit_usage_show(struct kernfs_open_file *of, in rdt_bit_usage_show()
978 static int rdt_min_bw_show(struct kernfs_open_file *of, in rdt_min_bw_show()
988 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.h278 int (*seq_show)(struct kernfs_open_file *of,
285 ssize_t (*write)(struct kernfs_open_file *of,
507 ssize_t rdtgroup_schemata_write(struct kernfs_open_file *of,
509 int rdtgroup_schemata_show(struct kernfs_open_file *of,
A Dctrlmondata.c351 ssize_t rdtgroup_schemata_write(struct kernfs_open_file *of, in rdtgroup_schemata_write()
462 int rdtgroup_schemata_show(struct kernfs_open_file *of, in rdtgroup_schemata_show()
520 struct kernfs_open_file *of = m->private; in rdtgroup_mondata_show()
/linux/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/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.c651 struct cgroup_subsys_state *of_css(struct kernfs_open_file *of) in of_css()
3680 static __poll_t cgroup_pressure_poll(struct kernfs_open_file *of, in cgroup_pressure_poll()
3688 static void cgroup_pressure_release(struct kernfs_open_file *of) in cgroup_pressure_release()
3717 static ssize_t cgroup_freeze_write(struct kernfs_open_file *of, in cgroup_freeze_write()
3816 static int cgroup_file_open(struct kernfs_open_file *of) in cgroup_file_open()
3841 static void cgroup_file_release(struct kernfs_open_file *of) in cgroup_file_release()
4776 static void cgroup_procs_release(struct kernfs_open_file *of) in cgroup_procs_release()
4786 struct kernfs_open_file *of = s->private; in cgroup_procs_next()
4798 struct kernfs_open_file *of = s->private; in __cgroup_procs_start()
4959 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.c262 static ssize_t pids_max_write(struct kernfs_open_file *of, char *buf, in pids_max_write()
A Dlegacy_freezer.c419 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.c2417 static ssize_t cpuset_write_resmask(struct kernfs_open_file *of, in cpuset_write_resmask()
2586 static ssize_t sched_partition_write(struct kernfs_open_file *of, char *buf, in sched_partition_write()
/linux/mm/
A Dhugetlb_cgroup.c495 static ssize_t hugetlb_cgroup_write(struct kernfs_open_file *of, in hugetlb_cgroup_write()
533 static ssize_t hugetlb_cgroup_write_legacy(struct kernfs_open_file *of, in hugetlb_cgroup_write_legacy()
539 static ssize_t hugetlb_cgroup_write_dfl(struct kernfs_open_file *of, in hugetlb_cgroup_write_dfl()
545 static ssize_t hugetlb_cgroup_reset(struct kernfs_open_file *of, in hugetlb_cgroup_reset()
A Dmemcontrol.c3512 static ssize_t mem_cgroup_force_empty_write(struct kernfs_open_file *of, in mem_cgroup_force_empty_write()
3719 static ssize_t mem_cgroup_write(struct kernfs_open_file *of, in mem_cgroup_write()
3761 static ssize_t mem_cgroup_reset(struct kernfs_open_file *of, char *buf, in mem_cgroup_reset()
4717 static ssize_t memcg_write_event_control(struct kernfs_open_file *of, in memcg_write_event_control()
6160 static ssize_t memory_min_write(struct kernfs_open_file *of, in memory_min_write()
6183 static ssize_t memory_low_write(struct kernfs_open_file *of, in memory_low_write()
6206 static ssize_t memory_high_write(struct kernfs_open_file *of, in memory_high_write()
6255 static ssize_t memory_max_write(struct kernfs_open_file *of, in memory_max_write()
6387 static ssize_t memory_oom_group_write(struct kernfs_open_file *of, in memory_oom_group_write()
7307 static ssize_t swap_high_write(struct kernfs_open_file *of, in swap_high_write()
[all …]
/linux/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.c1318 static ssize_t tg_set_conf(struct kernfs_open_file *of, in tg_set_conf()
1351 static ssize_t tg_set_conf_u64(struct kernfs_open_file *of, in tg_set_conf_u64()
1357 static ssize_t tg_set_conf_uint(struct kernfs_open_file *of, in tg_set_conf_uint()
1507 static ssize_t tg_set_limit(struct kernfs_open_file *of, in tg_set_limit()
A Dbfq-cgroup.c1055 static ssize_t bfq_io_set_device_weight(struct kernfs_open_file *of, in bfq_io_set_device_weight()
1093 static ssize_t bfq_io_set_weight(struct kernfs_open_file *of, in bfq_io_set_weight()
A Dblk-iolatency.c789 static ssize_t iolatency_set_limit(struct kernfs_open_file *of, char *buf, in iolatency_set_limit()
A Dblk-iocost.c3046 static ssize_t ioc_weight_write(struct kernfs_open_file *of, char *buf, in ioc_weight_write()
3161 static ssize_t ioc_qos_write(struct kernfs_open_file *of, char *input, in ioc_qos_write()
3328 static ssize_t ioc_cost_model_write(struct kernfs_open_file *of, char *input, in ioc_cost_model_write()
/linux/net/core/
A Dnetprio_cgroup.c195 static ssize_t write_priomap(struct kernfs_open_file *of, in write_priomap()
/linux/security/
A Ddevice_cgroup.c758 static ssize_t devcgroup_access_write(struct kernfs_open_file *of, in devcgroup_access_write()

Completed in 78 milliseconds

12