Lines Matching refs:proxy_fops
265 const struct file_operations *proxy_fops = filp->f_op; in full_proxy_release() local
278 kfree(proxy_fops); in full_proxy_release()
283 static void __full_proxy_fops_init(struct file_operations *proxy_fops, in __full_proxy_fops_init() argument
286 proxy_fops->release = full_proxy_release; in __full_proxy_fops_init()
288 proxy_fops->llseek = full_proxy_llseek; in __full_proxy_fops_init()
290 proxy_fops->read = full_proxy_read; in __full_proxy_fops_init()
292 proxy_fops->write = full_proxy_write; in __full_proxy_fops_init()
294 proxy_fops->poll = full_proxy_poll; in __full_proxy_fops_init()
296 proxy_fops->unlocked_ioctl = full_proxy_unlocked_ioctl; in __full_proxy_fops_init()
303 struct file_operations *proxy_fops = NULL; in full_proxy_open() local
332 proxy_fops = kzalloc(sizeof(*proxy_fops), GFP_KERNEL); in full_proxy_open()
333 if (!proxy_fops) { in full_proxy_open()
337 __full_proxy_fops_init(proxy_fops, real_fops); in full_proxy_open()
338 replace_fops(filp, proxy_fops); in full_proxy_open()
345 } else if (filp->f_op != proxy_fops) { in full_proxy_open()
355 kfree(proxy_fops); in full_proxy_open()