Lines Matching defs:wfile
354 static __initdata struct file *wfile;
372 wfile = filp_open(collected, openflags, mode);
373 if (IS_ERR(wfile))
378 vfs_fchown(wfile, uid, gid);
379 vfs_fchmod(wfile, mode);
381 vfs_truncate(&wfile->f_path, body_len);
404 if (xwrite(wfile, victim, body_len, &wfile_pos) != body_len)
407 do_utime_path(&wfile->f_path, mtime);
408 fput(wfile);
415 if (xwrite(wfile, victim, byte_count, &wfile_pos) != byte_count)