/third_party/iowow/src/fs/ |
D | iwexfile.h | 110 typedef off_t (*IW_EXT_RSPOLICY)(off_t nsize, off_t csize, struct IWFS_EXT *f, 118 IW_EXPORT off_t iw_exfile_szpolicy_fibo(off_t nsize, off_t csize, 126 IW_EXPORT off_t iw_exfile_szpolicy_mul(off_t nsize, off_t csize, 135 off_t initial_size; /**< Initial file size */ 153 off_t fsize; /**< Current file size */ 179 iwrc(*ensure_size)(struct IWFS_EXT *f, off_t off); 184 iwrc(*truncate)(struct IWFS_EXT *f, off_t off); 186 iwrc(*truncate_unsafe)(struct IWFS_EXT *f, off_t off); 214 iwrc(*add_mmap)(struct IWFS_EXT *f, off_t off, size_t len, iwfs_ext_mmap_opts_t opts); 216 iwrc(*add_mmap_unsafe)(struct IWFS_EXT *f, off_t off, size_t len, iwfs_ext_mmap_opts_t opts); [all …]
|
D | iwfsmfile.h | 217 iwrc(*allocate)(struct IWFS_FSM *f, off_t len, off_t *oaddr, off_t *olen, 236 iwrc(*reallocate)(struct IWFS_FSM *f, off_t nlen, off_t *oaddr, off_t *olen, 246 iwrc(*deallocate)(struct IWFS_FSM *f, off_t addr, off_t len); 253 iwrc(*check_allocation_status)(struct IWFS_FSM *f, off_t addr, off_t len, bool allocated); 266 iwrc(*writehdr)(struct IWFS_FSM *f, off_t off, const void *buf, off_t siz); 278 iwrc(*readhdr)(struct IWFS_FSM *f, off_t off, void *buf, off_t siz); 292 iwrc(*ensure_size)(struct IWFS_FSM *f, off_t size); 296 iwrc(*add_mmap)(struct IWFS_FSM *f, off_t off, size_t maxlen, iwfs_ext_mmap_opts_t opts); 312 iwrc(*acquire_mmap)(struct IWFS_FSM *f, off_t off, uint8_t **mm, size_t *sp); 317 iwrc(*probe_mmap)(struct IWFS_FSM *f, off_t off, uint8_t **mm, size_t *sp); [all …]
|
D | iwdlsnr.h | 31 iwrc(*onset)(struct IWDLSNR *self, off_t off, uint8_t val, off_t len, int flags); 36 iwrc(*oncopy)(struct IWDLSNR *self, off_t off, off_t len, off_t noff, int flags); 41 iwrc(*onwrite)(struct IWDLSNR *self, off_t off, const void *buf, off_t len, int flags); 50 iwrc(*onresize)(struct IWDLSNR *self, off_t osize, off_t nsize, int flags, bool *handled);
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | fcntl.h | 27 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_t); 191 int sync_file_range(int, off_t, off_t, unsigned); 193 ssize_t splice(int, off_t *, int, off_t *, size_t, unsigned); 195 #define loff_t off_t [all …]
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | fcntl.h | 27 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_t); 191 int sync_file_range(int, off_t, off_t, unsigned); 193 ssize_t splice(int, off_t *, int, off_t *, size_t, unsigned); 195 #define loff_t off_t [all …]
|
/third_party/musl/porting/linux/user/include/ |
D | fcntl.h | 28 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_t); 192 int sync_file_range(int, off_t, off_t, unsigned); 194 ssize_t splice(int, off_t *, int, off_t *, size_t, unsigned); 196 #define loff_t off_t [all …]
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | fcntl.h | 27 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_t); 191 int sync_file_range(int, off_t, off_t, unsigned); 193 ssize_t splice(int, off_t *, int, off_t *, size_t, unsigned); 195 #define loff_t off_t [all …]
|
/third_party/musl/porting/liteos_m/user/include/ |
D | fcntl.h | 27 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_t); 191 int sync_file_range(int, off_t, off_t, unsigned); 193 ssize_t splice(int, off_t *, int, off_t *, size_t, unsigned); 195 #define loff_t off_t [all …]
|
/third_party/musl/ndk_musl_include/ |
D | fcntl.h | 27 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_t); 191 int sync_file_range(int, off_t, off_t, unsigned); 193 ssize_t splice(int, off_t *, int, off_t *, size_t, unsigned); 195 #define loff_t off_t [all …]
|
/third_party/musl/include/ |
D | fcntl.h | 27 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_t); 191 int sync_file_range(int, off_t, off_t, unsigned); 193 ssize_t splice(int, off_t *, int, off_t *, size_t, unsigned); 195 #define loff_t off_t [all …]
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | fcntl.h | 27 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_t, unsigned); 187 ssize_t splice(int, off_t *, int, off_t *, size_t, unsigned);
|
/third_party/NuttX/fs/vfs/ |
D | fs_lseek.c | 58 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() 161 off_t lseek(int fd, off_t offset, int whence) in lseek() 171 return (off_t)VFS_ERROR; in lseek()
|
D | fs_pread.c | 48 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()
|
D | fs_pwrite.c | 48 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()
|
D | fs_sendfile.c | 87 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/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | llseek.c | 32 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) offset, origin); in llse_llseek()
|
/third_party/libsnd/cmake/ |
D | TestLargeFiles.cmake | 27 message (STATUS "Checking size of off_t without any definitions:") 28 check_type_size (off_t SIZEOF_OFF_T) 29 message (STATUS "Checking of off_t without any definitions: ${SIZEOF_OFF_T}") 31 set (LARGE_FILES_DEFINITIONS "" CACHE INTERNAL "64-bit off_t required definitions") 44 message (STATUS "Checking size of off_t with _FILE_OFFSET_BITS=64:") 45 check_type_size (off_t SIZEOF_OFF_T) 46 message (STATUS "Checking size of off_t with _FILE_OFFSET_BITS=64: ${SIZEOF_OFF_T}") 50 …{LARGE_FILES_DEFINITIONS} "/D_FILE_OFFSET_BITS=64" CACHE INTERNAL "64-bit off_t required definitio… 65 message (STATUS "Checking size of off_t with _LARGE_FILES:") 66 check_type_size (off_t SIZEOF_OFF_T) [all …]
|
/third_party/iowow/src/kv/ |
D | iwal.h | 66 off_t off; 67 off_t len; 73 off_t off; 74 off_t len; 75 off_t noff; 83 off_t off; 89 off_t osize; 90 off_t nsize;
|
/third_party/musl/porting/liteos_a/kernel/src/internal/ |
D | stdio_impl.h | 28 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); 72 hidden int __fseeko(FILE *, off_t, int); 73 hidden int __fseeko_unlocked(FILE *, off_t, int); 74 hidden off_t __ftello(FILE *); 75 hidden off_t __ftello_unlocked(FILE *);
|
/third_party/musl/src/internal/ |
D | stdio_impl.h | 30 off_t (*seek)(FILE *, off_t, int); 41 off_t off; 45 off_t shlim, shcnt; 60 hidden off_t __stdio_seek(FILE *, off_t, int); 76 hidden int __fseeko(FILE *, off_t, int); 77 hidden int __fseeko_unlocked(FILE *, off_t, int); 78 hidden off_t __ftello(FILE *); 79 hidden off_t __ftello_unlocked(FILE *);
|
/third_party/NuttX/fs/vfs/include/ |
D | file.h | 134 off_t (*seek)(struct file *filep, off_t offset, int whence); 141 int (*fallocate)(struct file* filep, int mode, off_t offset, off_t len); 300 ssize_t lib_sendfile(int outfd, int infd, off_t *offset, size_t count); 378 off_t offset); 393 size_t nbytes, off_t offset); 407 off_t file_seek(struct file *filep, off_t offset, int whence); 470 struct file *files_allocate(const struct Vnode *vnode_ptr, int oflags, off_t pos, const void *priv,… 519 ssize_t sendfile(int outfd, int infd, off_t *offset, size_t count);
|
/third_party/musl/porting/liteos_m/kernel/src/stdio/ |
D | ftell.c | 5 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/ |
D | ftell.c | 5 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/NuttX/include/nuttx/fs/ |
D | dirent_fs.h | 99 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/littlefs/bd/ |
D | lfs_filebd.c | 89 off_t res1 = lseek(bd->fd, in lfs_filebd_read() 90 (off_t)block*cfg->block_size + (off_t)off, SEEK_SET); in lfs_filebd_read() 121 off_t res1 = lseek(bd->fd, in lfs_filebd_prog() 122 (off_t)block*cfg->block_size + (off_t)off, SEEK_SET); in lfs_filebd_prog() 143 off_t res1 = lseek(bd->fd, in lfs_filebd_prog() 144 (off_t)block*cfg->block_size + (off_t)off, SEEK_SET); in lfs_filebd_prog() 171 off_t res1 = lseek(bd->fd, (off_t)block*cfg->block_size, SEEK_SET); in lfs_filebd_erase()
|