Home
last modified time | relevance | path

Searched refs:File (Results 1 - 25 of 41) sorted by relevance

12

/kernel/liteos_m/components/fs/vfs/
H A Dvfs_files.h51 struct File;
56 int (*open)(struct File *, const char *, int);
57 int (*close)(struct File *);
58 ssize_t (*read)(struct File *, char *, size_t);
59 ssize_t (*write)(struct File *, const char *, size_t);
60 off_t (*lseek)(struct File *, off_t, int);
62 int (*truncate)(struct File *, off_t);
65 int (*ioctl)(struct File *, int, unsigned long);
66 int (*sync)(struct File *);
74 struct File { struct
[all...]
H A Dvfs_files.c40 static struct File g_files[NR_OPEN_DEFAULT];
42 int FileToFd(const struct File *file) in FileToFd()
50 struct File *FdToFile(int fd) in FdToFile()
58 struct File *VfsFileGet(void) in VfsFileGet()
72 struct File *VfsFileGetSpec(int fd) in VfsFileGetSpec()
85 void VfsFilePut(struct File *file) in VfsFilePut()
H A Dvfs_fs.c232 struct File *file = NULL; in VfsOpen()
302 static struct File *VfsAttachFile(int fd, UINT32 status) in VfsAttachFile()
304 struct File *file = NULL; in VfsAttachFile()
333 static struct File *VfsAttachFileReady(int fd) in VfsAttachFileReady()
338 static struct File *VfsAttachFileWithStatus(int fd, int status) in VfsAttachFileWithStatus()
343 static void VfsDetachFile(const struct File *file) in VfsDetachFile()
351 struct File *file = NULL; in VfsClose()
382 struct File *file = NULL; in VfsRead()
415 struct File *file = NULL; in VfsWrite()
445 struct File *fil in VfsIoctl()
[all...]
/kernel/linux/linux-6.6/scripts/
H A Drustdoc_test_gen.rs33 fs::File,
156 File::open(path).unwrap().read_to_string(&mut body).unwrap(); in main()
224 BufWriter::new(File::create("rust/doctests_kernel_generated.rs").unwrap()), in main()
235 BufWriter::new(File::create("rust/doctests_kernel_generated_kunit.c").unwrap()), in main()
H A Dparse-maintainers.pl48 F: File and directory pattern
49 X: File and directory exclusion pattern
50 N: File glob
H A Dget_abi.pl11 use File::Find;
90 my $file = $File::Find::name;
103 my $nametag = "File $fn";
104 $data{$nametag}->{what} = "File $name";
105 $data{$nametag}->{type} = "File";
277 next if ($data{$what}->{file} eq "File");
321 ($data{$a}->{type} eq "File") cmp ($data{$b}->{type} eq "File") ||
337 if ($type ne "File") {
381 if ($type eq "File") {
[all...]
H A Dleaking_addresses.pl24 use File::Basename;
25 use File::Spec;
H A Dcleanfile10 use File::Basename;
H A Dcleanpatch10 use File::Basename;
H A Dget_feat.pl7 use File::Find;
93 my $file = $File::Find::name;
/kernel/linux/linux-5.10/scripts/
H A Dparse-maintainers.pl48 F: File and directory pattern
49 X: File and directory exclusion pattern
50 N: File glob
H A Dleaking_addresses.pl24 use File::Basename;
25 use File::Spec;
H A Dcleanfile10 use File::Basename;
H A Dheaders_check.pl24 use File::Basename;
H A Dcleanpatch10 use File::Basename;
H A Dget_abi.pl9 use File::Find;
68 my $file = $File::Find::name;
80 my $nametag = "File $fn";
81 $data{$nametag}->{what} = "File $name";
82 $data{$nametag}->{type} = "File";
253 next if ($data{$what}->{file} eq "File");
293 ($data{$a}->{type} eq "File") cmp ($data{$b}->{type} eq "File") ||
310 if ($type ne "File") {
353 if ($type eq "File") {
[all...]
H A Dmarkup_oops.pl4 use File::Basename;
/kernel/liteos_m/components/fs/fatfs/
H A Dfatfs.c371 int FatfsOpen(struct File *file, const char *path, int oflag) in FatfsOpen()
413 int FatfsClose(struct File *file) in FatfsClose()
441 ssize_t FatfsRead(struct File *file, char *buf, size_t nbyte) in FatfsRead()
466 ssize_t FatfsWrite(struct File *file, const char *buf, size_t nbyte) in FatfsWrite()
497 off_t FatfsLseek(struct File *file, off_t offset, int whence) in FatfsLseek()
605 int FatfsSync(struct File *file) in FatfsSync()
852 static int DoTruncate(struct File *file, off_t length, UINT32 count) in DoTruncate()
881 int FatfsTruncate(struct File *file, off_t length) in FatfsTruncate()
/kernel/liteos_m/components/fs/littlefs/
H A Dlfs_adapter.c426 int LfsOpen(struct File *file, const char *pathName, int openFlag) in LfsOpen()
458 int LfsRead(struct File *file, char *buf, size_t len) in LfsRead()
489 int LfsWrite(struct File *file, const char *buf, size_t len) in LfsWrite()
520 off_t LfsSeek(struct File *file, off_t offset, int whence) in LfsSeek()
547 int LfsClose(struct File *file) in LfsClose()
630 int LfsSync(struct File *file) in LfsSync()
/kernel/linux/linux-6.6/usr/include/
H A Dheaders_check.pl24 use File::Basename;
/kernel/linux/linux-6.6/arch/ia64/mm/
H A Dfault.c125 # error File is out of sync with <linux/mm.h>. Please update. in ia64_do_page_fault()
/kernel/linux/linux-5.10/arch/ia64/mm/
H A Dfault.c135 # error File is out of sync with <linux/mm.h>. Please update. in ia64_do_page_fault()
/kernel/linux/linux-5.10/usr/
H A Dgen_initramfs.sh26 <cpio_source> File list or directory for cpio archive.
/kernel/linux/linux-6.6/usr/
H A Dgen_initramfs.sh27 <cpio_source> File list or directory for cpio archive.
/kernel/linux/linux-6.6/tools/testing/selftests/rcutorture/bin/
H A Dkvm-remote.sh203 echo " ---" File \"$2\" not found: ssh $1 test -f \"$2\" | tee -a "$oldrun/remote-log"

Completed in 11 milliseconds

12