Lines Matching refs:real_fops
63 return fsd->real_fops;
103 fsd->real_fops = (void *)((unsigned long)d_fsd &
156 const struct file_operations *real_fops)
160 !real_fops->unlocked_ioctl &&
161 !real_fops->compat_ioctl &&
162 !real_fops->mmap)
174 const struct file_operations *real_fops = NULL;
181 real_fops = debugfs_real_fops(filp);
183 r = debugfs_locked_down(inode, filp, real_fops);
187 if (!fops_get(real_fops)) {
189 if (real_fops->owner &&
190 real_fops->owner->state == MODULE_STATE_GOING) {
202 replace_fops(filp, real_fops);
204 if (real_fops->open)
205 r = real_fops->open(inode, filp);
223 const struct file_operations *real_fops; \
229 real_fops = debugfs_real_fops(filp); \
230 r = real_fops->name(args); \
258 const struct file_operations *real_fops;
263 real_fops = debugfs_real_fops(filp);
264 r = real_fops->poll(filp, wait);
272 const struct file_operations *real_fops = debugfs_real_fops(filp);
282 if (real_fops->release)
283 r = real_fops->release(inode, filp);
287 fops_put(real_fops);
292 const struct file_operations *real_fops)
295 if (real_fops->llseek)
297 if (real_fops->read)
299 if (real_fops->write)
301 if (real_fops->poll)
303 if (real_fops->unlocked_ioctl)
310 const struct file_operations *real_fops = NULL;
318 real_fops = debugfs_real_fops(filp);
320 r = debugfs_locked_down(inode, filp, real_fops);
324 if (!fops_get(real_fops)) {
326 if (real_fops->owner &&
327 real_fops->owner->state == MODULE_STATE_GOING) {
345 __full_proxy_fops_init(proxy_fops, real_fops);
348 if (real_fops->open) {
349 r = real_fops->open(inode, filp);
364 fops_put(real_fops);