Lines Matching refs:proxy_fops
357 const struct file_operations *proxy_fops = filp->f_op; in full_proxy_release() local
370 kfree(proxy_fops); in full_proxy_release()
375 static void __full_proxy_fops_init(struct file_operations *proxy_fops, in __full_proxy_fops_init() argument
378 proxy_fops->release = full_proxy_release; in __full_proxy_fops_init()
380 proxy_fops->llseek = full_proxy_llseek; in __full_proxy_fops_init()
382 proxy_fops->read = full_proxy_read; in __full_proxy_fops_init()
384 proxy_fops->write = full_proxy_write; in __full_proxy_fops_init()
386 proxy_fops->poll = full_proxy_poll; in __full_proxy_fops_init()
388 proxy_fops->unlocked_ioctl = full_proxy_unlocked_ioctl; in __full_proxy_fops_init()
395 struct file_operations *proxy_fops = NULL; in full_proxy_open() local
424 proxy_fops = kzalloc(sizeof(*proxy_fops), GFP_KERNEL); in full_proxy_open()
425 if (!proxy_fops) { in full_proxy_open()
429 __full_proxy_fops_init(proxy_fops, real_fops); in full_proxy_open()
430 replace_fops(filp, proxy_fops); in full_proxy_open()
437 } else if (filp->f_op != proxy_fops) { in full_proxy_open()
447 kfree(proxy_fops); in full_proxy_open()