Lines Matching refs:filp
124 sched_feat_write(struct file *filp, const char __user *ubuf,
142 inode = file_inode(filp);
156 static int sched_feat_open(struct inode *inode, struct file *filp)
158 return single_open(filp, sched_feat_show, NULL);
171 static ssize_t sched_scaling_write(struct file *filp, const char __user *ubuf,
204 static int sched_scaling_open(struct inode *inode, struct file *filp)
206 return single_open(filp, sched_scaling_show, NULL);
221 static ssize_t sched_dynamic_write(struct file *filp, const char __user *ubuf,
266 static int sched_dynamic_open(struct inode *inode, struct file *filp)
268 return single_open(filp, sched_dynamic_show, NULL);
287 static ssize_t sched_verbose_write(struct file *filp, const char __user *ubuf,
297 result = debugfs_write_file_bool(filp, ubuf, cnt, ppos);
324 static int sched_debug_open(struct inode *inode, struct file *filp)
326 return seq_open(filp, &sched_debug_sops);