Searched refs:kf_ops (Results 1 – 1 of 1) sorted by relevance
3661 cgroup_file_mode(cft), 0, cft->kf_ops, cft, in cgroup_add_file()3764 kfree(cft->kf_ops); in cgroup_exit_cftypes()3765 cft->kf_ops = NULL; in cgroup_exit_cftypes()3778 struct kernfs_ops *kf_ops; in cgroup_init_cftypes() local3780 WARN_ON(cft->ss || cft->kf_ops); in cgroup_init_cftypes()3783 kf_ops = &cgroup_kf_ops; in cgroup_init_cftypes()3785 kf_ops = &cgroup_kf_single_ops; in cgroup_init_cftypes()3792 kf_ops = kmemdup(kf_ops, sizeof(*kf_ops), GFP_KERNEL); in cgroup_init_cftypes()3793 if (!kf_ops) { in cgroup_init_cftypes()3797 kf_ops->atomic_write_len = cft->max_write_len; in cgroup_init_cftypes()[all …]