Lines Matching refs:proxy_fops
273 const struct file_operations *proxy_fops = filp->f_op; in full_proxy_release() local
286 kfree(proxy_fops); in full_proxy_release()
291 static void __full_proxy_fops_init(struct file_operations *proxy_fops, in __full_proxy_fops_init() argument
294 proxy_fops->release = full_proxy_release; in __full_proxy_fops_init()
296 proxy_fops->llseek = full_proxy_llseek; in __full_proxy_fops_init()
298 proxy_fops->read = full_proxy_read; in __full_proxy_fops_init()
300 proxy_fops->write = full_proxy_write; in __full_proxy_fops_init()
302 proxy_fops->poll = full_proxy_poll; in __full_proxy_fops_init()
304 proxy_fops->unlocked_ioctl = full_proxy_unlocked_ioctl; in __full_proxy_fops_init()
311 struct file_operations *proxy_fops = NULL; in full_proxy_open() local
340 proxy_fops = kzalloc(sizeof(*proxy_fops), GFP_KERNEL); in full_proxy_open()
341 if (!proxy_fops) { in full_proxy_open()
345 __full_proxy_fops_init(proxy_fops, real_fops); in full_proxy_open()
346 replace_fops(filp, proxy_fops); in full_proxy_open()
353 } else if (filp->f_op != proxy_fops) { in full_proxy_open()
363 kfree(proxy_fops); in full_proxy_open()