Searched refs:cfile (Results 1 – 1 of 1) sorted by relevance
352 struct file *cfile; /* Open file */ member449 struct file *cfile; in alloc_device() local453 cfile = filp_open(cache_file, O_CREAT | O_RDWR | O_LARGEFILE, 0600); in alloc_device()454 if (IS_ERR(cfile)) in alloc_device()455 return PTR_ERR(cfile); in alloc_device()456 if (!cfile->f_op || (!cfile->f_op->read && !cfile->f_op->aio_read)) { in alloc_device()461 if (!cfile->f_op->write && !cfile->f_op->aio_write) { in alloc_device()478 ns->cfile = cfile; in alloc_device()503 filp_close(cfile, NULL); in alloc_device()514 if (ns->cfile) { in free_device()[all …]