Home
last modified time | relevance | path

Searched refs:realfile (Results 1 – 4 of 4) sorted by relevance

/linux/fs/erofs/
H A Dishare.c106 struct file *realfile; in erofs_ishare_file_open() local
110 realfile = alloc_empty_backing_file(O_RDONLY|O_NOATIME, current_cred(), in erofs_ishare_file_open()
112 if (IS_ERR(realfile)) in erofs_ishare_file_open()
113 return PTR_ERR(realfile); in erofs_ishare_file_open()
115 realfile->f_op = &erofs_file_fops; in erofs_ishare_file_open()
116 realfile->f_inode = sharedinode; in erofs_ishare_file_open()
117 realfile->f_mapping = sharedinode->i_mapping; in erofs_ishare_file_open()
119 backing_file_set_user_path(realfile, &file->f_path); in erofs_ishare_file_open()
121 file_ra_state_init(&realfile->f_ra, file->f_mapping); in erofs_ishare_file_open()
122 realfile->private_data = EROFS_I(inode); in erofs_ishare_file_open()
[all …]
/linux/fs/overlayfs/
H A Dreaddir.c64 struct file *realfile; member
376 struct file *realfile; in ovl_dir_read() local
379 realfile = ovl_path_open(realpath, O_RDONLY | O_LARGEFILE); in ovl_dir_read()
380 if (IS_ERR(realfile)) in ovl_dir_read()
381 return PTR_ERR(realfile); in ovl_dir_read()
388 err = iterate_dir(realfile, &rdd->ctx); in ovl_dir_read()
396 fput(realfile); in ovl_dir_read()
830 err = iterate_dir(od->realfile, &rdt.ctx); in ovl_iterate_real()
912 return iterate_dir(od->realfile, ctx); in ovl_iterate()
926 res = vfs_llseek(od->realfile, offset, origin); in ovl_dir_llseek()
[all …]
H A Doverlayfs.h919 struct ovl_file *ovl_file_alloc(struct file *realfile);
/linux/scripts/
H A Dcheckpatch.pl2640 my ($realfile) = @_;
2643 return $realfile =~ m@^tools/testing/selftests/bpf/progs/.*\.c$@ ||
2644 $realfile =~ m@^samples/bpf/.*_kern\.c$@ ||
2645 $realfile =~ m@/bpf/.*\.bpf\.c$@;
2649 my ($realfile) = @_;
2650 return ($realfile =~ m@^tools/@ || $realfile =~ m@^scripts/@);
2700 my $realfile = '';
2886 $realfile = $1;
2887 $realfile =~ s@^([^/]*)/@@ if (!$file);
2891 $realfile = $1;
[all …]