Home
last modified time | relevance | path

Searched refs:off_t (Results 1 - 25 of 773) sorted by relevance

12345678910>>...31

/third_party/musl/porting/linux/user/include/
H A Dfcntl.h28 off_t l_start;
29 off_t l_len;
37 int posix_fadvise(int, off_t, off_t, int);
38 int posix_fallocate(int, off_t, off_t);
160 int lockf(int, int, off_t);
187 int fallocate(int, int, off_t, off_t);
191 ssize_t readahead(int, off_t, size_
[all...]
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dfcntl.h27 off_t l_start;
28 off_t l_len;
36 int posix_fadvise(int, off_t, off_t, int);
37 int posix_fallocate(int, off_t, off_t);
159 int lockf(int, int, off_t);
186 int fallocate(int, int, off_t, off_t);
190 ssize_t readahead(int, off_t, size_
[all...]
/third_party/musl/porting/liteos_m/kernel/include/
H A Dfcntl.h27 off_t l_start;
28 off_t l_len;
36 int posix_fadvise(int, off_t, off_t, int);
37 int posix_fallocate(int, off_t, off_t);
159 int lockf(int, int, off_t);
186 int fallocate(int, int, off_t, off_t);
190 ssize_t readahead(int, off_t, size_
[all...]
/third_party/musl/porting/uniproton/kernel/include/
H A Dfcntl.h27 off_t l_start;
28 off_t l_len;
36 int posix_fadvise(int, off_t, off_t, int);
37 int posix_fallocate(int, off_t, off_t);
159 int lockf(int, int, off_t);
186 int fallocate(int, int, off_t, off_t);
190 ssize_t readahead(int, off_t, size_
[all...]
/third_party/musl/porting/liteos_m/user/include/
H A Dfcntl.h27 off_t l_start;
28 off_t l_len;
36 int posix_fadvise(int, off_t, off_t, int);
37 int posix_fallocate(int, off_t, off_t);
159 int lockf(int, int, off_t);
186 int fallocate(int, int, off_t, off_t);
190 ssize_t readahead(int, off_t, size_
[all...]
/third_party/musl/include/
H A Dfcntl.h30 off_t l_start;
31 off_t l_len;
39 int posix_fadvise(int, off_t, off_t, int);
40 int posix_fallocate(int, off_t, off_t);
162 int lockf(int, int, off_t);
189 int fallocate(int, int, off_t, off_t);
193 ssize_t readahead(int, off_t, size_
[all...]
/third_party/musl/porting/liteos_a/kernel/include/
H A Dfcntl.h27 off_t l_start;
28 off_t l_len;
37 int posix_fadvise(int, off_t, off_t, int);
38 int posix_fallocate(int, off_t, off_t);
182 int fallocate(int, int, off_t, off_t);
184 ssize_t readahead(int, off_t, size_t);
185 int sync_file_range(int, off_t, off_
[all...]
/third_party/NuttX/fs/vfs/
H A Dfs_lseek.c58 off_t file_seek(struct file *filep, off_t offset, int whence) in file_seek()
62 off_t pos; in file_seek()
92 offset += (off_t)filep->f_pos; in file_seek()
117 return (off_t)filep->f_pos; in file_seek()
121 return (off_t)VFS_ERROR; in file_seek()
156 * EOVERFLOW The resulting file offset cannot be represented in an off_t.
161 off_t lseek(int fd, off_t offset, int whence) in lseek()
171 return (off_t)VFS_ERRO in lseek()
[all...]
H A Dfs_pread.c48 off_t offset) in file_pread()
50 off_t savepos; in file_pread()
51 off_t pos; in file_pread()
60 if (savepos == (off_t)-1) in file_pread()
70 if (pos == (off_t)-1) in file_pread()
85 if (pos == (off_t)-1 && ret >= 0) in file_pread()
128 ssize_t pread(int fd, void *buf, size_t nbytes, off_t offset) in pread()
H A Dfs_pwrite.c48 size_t nbytes, off_t offset) in file_pwrite()
50 off_t savepos; in file_pwrite()
51 off_t pos; in file_pwrite()
60 if (savepos == (off_t)-1) in file_pwrite()
70 if (pos == (off_t)-1) in file_pwrite()
85 if (pos == (off_t)-1 && ret >= 0) in file_pwrite()
132 ssize_t pwrite(int fd, const void *buf, size_t nbytes, off_t offset) in pwrite()
H A Dfs_sendfile.c87 ssize_t sendfile(int outfd, int infd, off_t *offset, size_t count) in sendfile()
91 off_t startpos = 0; in sendfile()
104 if (startpos == (off_t)-1) in sendfile()
111 if (lseek(infd, *offset, SEEK_SET) == (off_t)-1) in sendfile()
249 off_t curpos = lseek(infd, 0, SEEK_CUR); in sendfile()
250 if (curpos == (off_t)-1) in sendfile()
261 if (lseek(infd, startpos, SEEK_SET) == (off_t)-1) in sendfile()
/third_party/elfutils/src/
H A Dstrings.c51 static int read_fd (int fd, const char *fname, off_t fdlen);
52 static int read_elf (Elf *elf, int fd, const char *fname, off_t fdlen);
139 static off_t elfmap_off;
191 off_t fdlen = (fstat_fail in main()
193 if (fdlen > (off_t) min_len_bytes) in main()
312 process_chunk_mb (const char *fname, const unsigned char *buf, off_t to, in process_chunk_mb()
389 process_chunk (const char *fname, const unsigned char *buf, off_t to, in process_chunk()
453 map_file (int fd, off_t start_off, off_t fdlen, size_t *map_sizep) in map_file()
466 size_t map_size = MIN ((off_t) mmap_ma in map_file()
[all...]
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
H A Dllseek.c32 static off_t my_lseek(int fd, off_t off, int whence) in my_lseek()
37 static off_t my_lseek(int fd, off_t off, int whence) in my_lseek()
102 if ((sizeof(off_t) >= sizeof(llse_loff_t)) || in llse_llseek()
103 (offset < ((llse_loff_t) 1 << ((sizeof(off_t) * 8) - 1)))) in llse_llseek()
104 return lseek(fd, (off_t) offset, origin); in llse_llseek()
115 if ((sizeof(off_t) < sizeof(llse_loff_t)) && in llse_llseek()
116 (offset >= ((llse_loff_t) 1 << ((sizeof(off_t) * 8) - 1)))) { in llse_llseek()
120 return lseek(fd, (off_t) offse in llse_llseek()
[all...]
/third_party/libfuse/include/
H A Dfuse.h86 const struct stat *stbuf, off_t off,
412 int (*truncate) (const char *, off_t, struct fuse_file_info *fi);
472 int (*read) (const char *, char *, size_t, off_t,
484 int (*write) (const char *, const char *, size_t, off_t,
588 int (*readdir) (const char *, void *, fuse_fill_dir_t, off_t,
756 int (*write_buf) (const char *, struct fuse_bufvec *buf, off_t off,
774 size_t size, off_t off, struct fuse_file_info *);
803 int (*fallocate) (const char *, int, off_t, off_t,
820 off_t offset_i
[all...]
H A Dfuse_lowlevel.h133 ssize_t (*splice_receive)(int fdin, off_t *offin, int fdout,
134 off_t *offout, size_t len,
136 ssize_t (*splice_send)(int fdin, off_t *offin, int fdout,
137 off_t *offout, size_t len,
570 void (*read) (fuse_req_t req, fuse_ino_t ino, size_t size, off_t off,
600 size_t size, off_t off, struct fuse_file_info *fi);
731 * If off_t is non-zero, then it will correspond to one of the off_t
734 * coming before the position defined by the off_t value. If entries
740 * that off_t ca
[all...]
/third_party/rust/crates/nix/src/sys/
H A Dsendfile.rs7 use libc::{self, off_t};
29 offset: Option<&mut off_t>, in sendfile()
162 offset: off_t, in sendfile()
168 ) -> (Result<()>, off_t) { in sendfile()
174 let mut bytes_sent: off_t = 0; in sendfile()
183 &mut bytes_sent as *mut off_t, in sendfile()
212 offset: off_t, in sendfile()
216 ) -> (Result<()>, off_t) { in sendfile()
217 let mut bytes_sent: off_t = 0; in sendfile()
226 &mut bytes_sent as *mut off_t, in sendfile()
[all...]
/third_party/musl/porting/liteos_a/kernel/src/internal/
H A Dstdio_impl.h28 off_t (*seek)(FILE *, off_t, int);
38 off_t off;
42 off_t shlim, shcnt;
56 hidden off_t __stdio_seek(FILE *, off_t, int);
70 hidden int __fseeko(FILE *, off_t, int);
71 hidden int __fseeko_unlocked(FILE *, off_t, int);
72 hidden off_t __ftello(FILE *);
73 hidden off_t __ftello_unlocke
[all...]
/third_party/NuttX/fs/vfs/include/
H A Dfile.h137 off_t (*seek)(struct file *filep, off_t offset, int whence);
144 int (*fallocate)(struct file* filep, int mode, off_t offset, off_t len);
303 ssize_t lib_sendfile(int outfd, int infd, off_t *offset, size_t count);
381 off_t offset);
396 size_t nbytes, off_t offset);
410 off_t file_seek(struct file *filep, off_t offset, int whence);
473 struct file *files_allocate(const struct Vnode *vnode_ptr, int oflags, off_t po
[all...]
/third_party/musl/porting/liteos_m/kernel/src/stdio/
H A Dftell.c5 off_t __ftello_unlocked(FILE *f) in __ftello_unlocked()
7 off_t pos = lseek(f->fd, (off_t)0, in __ftello_unlocked()
20 off_t __ftello(FILE *f) in __ftello()
22 off_t pos; in __ftello()
31 off_t pos = __ftello(f); in ftell()
/third_party/musl/porting/uniproton/kernel/src/stdio/
H A Dftell.c5 off_t __ftello_unlocked(FILE *f) in __ftello_unlocked()
7 off_t pos = lseek(f->fd, (off_t)0, in __ftello_unlocked()
20 off_t __ftello(FILE *f) in __ftello()
22 off_t pos; in __ftello()
31 off_t pos = __ftello(f); in ftell()
/third_party/ntfs-3g/include/fuse-lite/
H A Dfuse.h49 const struct stat *stbuf, off_t off);
128 int (*truncate) (const char *, off_t);
166 int (*read) (const char *, char *, size_t, off_t,
177 int (*write) (const char *, const char *, size_t, off_t,
277 int (*readdir) (const char *, void *, fuse_fill_dir_t, off_t,
355 int (*ftruncate) (const char *, off_t, struct fuse_file_info *);
579 off_t off, struct fuse_file_info *fi);
581 size_t size, off_t off, struct fuse_file_info *fi);
590 fuse_fill_dir_t filler, off_t off,
602 int fuse_fs_truncate(struct fuse_fs *fs, const char *path, off_t siz
[all...]
/third_party/zlib/examples/
H A Dzran.h11 off_t out; // offset in uncompressed data
12 off_t in; // offset in compressed file of first full byte
21 off_t length; // total length of uncompressed data
34 int deflate_index_build(FILE *in, off_t span, struct deflate_index **built);
48 off_t offset, unsigned char *buf, size_t len);
/third_party/NuttX/include/nuttx/fs/
H A Ddirent_fs.h99 off_t fd_startcluster; /* Start cluster number of the directory */
100 off_t fd_currcluster; /* Current cluster number being read */
101 off_t fd_currsector; /* Current sector being read */
113 off_t fr_firstoffset; /* Offset to the first entry in the directory */
114 off_t fr_curroffset; /* Current offset into the directory contents */
154 off_t nx_offset; /* Offset to the next vnode */
250 off_t fd_position;
253 off_t fd_int_offset;
/third_party/musl/src/internal/
H A Dstdio_impl.h84 off_t (*seek)(FILE *, off_t, int);
107 off_t off;
111 off_t shlim, shcnt;
127 hidden off_t __stdio_seek(FILE *, off_t, int);
145 hidden int __fseeko(FILE *, off_t, int);
146 hidden int __fseeko_unlocked(FILE *, off_t, int);
147 hidden off_t __ftello(FILE *);
148 hidden off_t __ftello_unlocke
[all...]
/third_party/musl/porting/linux/user/src/internal/
H A Dstdio_impl.h84 off_t (*seek)(FILE *, off_t, int);
103 off_t off;
107 off_t shlim, shcnt;
123 hidden off_t __stdio_seek(FILE *, off_t, int);
141 hidden int __fseeko(FILE *, off_t, int);
142 hidden int __fseeko_unlocked(FILE *, off_t, int);
143 hidden off_t __ftello(FILE *);
144 hidden off_t __ftello_unlocke
[all...]

Completed in 13 milliseconds

12345678910>>...31