Home
last modified time | relevance | path

Searched refs:loff_t (Results 1 – 25 of 28) sorted by relevance

12

/external/yaffs2/yaffs2/mtdemul/
Dnandemul2k.c280 static int nand_read (struct mtd_info *mtd, loff_t from, size_t len,
282 static int nand_read_ecc (struct mtd_info *mtd, loff_t from, size_t len,
284 static int nand_read_oob (struct mtd_info *mtd, loff_t from, size_t len,
286 static int nand_write (struct mtd_info *mtd, loff_t to, size_t len,
288 static int nand_write_ecc (struct mtd_info *mtd, loff_t to, size_t len,
291 static int nand_write_oob (struct mtd_info *mtd, loff_t to, size_t len,
295 unsigned long count, loff_t to, size_t *retlen);
298 unsigned long count, loff_t to, size_t *retlen);
308 static int nand_read (struct mtd_info *mtd, loff_t from, size_t len, in nand_read()
318 static int nand_read_ecc (struct mtd_info *mtd, loff_t from, size_t len, in nand_read_ecc()
[all …]
/external/elfutils/0.153/libdwfl/
Dcore-file.c67 elf_begin_rand (Elf *parent, loff_t offset, loff_t size, loff_t *next) in elf_begin_rand()
82 loff_t min = (parent->kind == ELF_K_ELF ? in elf_begin_rand()
89 || unlikely (offset >= (loff_t) parent->maximum_size)) in elf_begin_rand()
116 || unlikely ((loff_t) parent->maximum_size - offset < size)) in elf_begin_rand()
120 if (unlikely ((loff_t) parent->maximum_size - offset < size)) in elf_begin_rand()
128 && unlikely (size == (loff_t) parent->maximum_size)) in elf_begin_rand()
138 assert ((loff_t) data->d_size == size); in elf_begin_rand()
/external/yaffs2/yaffs2/
Dyaffs_mtdif.c84 loff_t addr = ((loff_t) chunkInNAND) * dev->nDataBytesPerChunk; in nandmtd_WriteChunkToNAND()
148 loff_t addr = ((loff_t) chunkInNAND) * dev->nDataBytesPerChunk; in nandmtd_ReadChunkFromNAND()
212 ((loff_t) blockNumber) * dev->nDataBytesPerChunk in nandmtd_EraseBlockInNAND()
Dyaffs_mtdif2.c131 loff_t addr = ((loff_t) chunkInNAND) * dev->nDataBytesPerChunk; in nandmtd2_WriteChunkWithTagsToNAND()
190 loff_t addr = ((loff_t) chunkInNAND) * dev->nDataBytesPerChunk; in nandmtd2_ReadChunkWithTagsFromNAND()
Dyaffs_guts.h827 int yaffs_ReadDataFromFile(yaffs_Object * obj, __u8 * buffer, loff_t offset,
829 int yaffs_WriteDataToFile(yaffs_Object * obj, const __u8 * buffer, loff_t offset,
831 int yaffs_ResizeFile(yaffs_Object * obj, loff_t newSize);
Ddevextras.h41 typedef long long loff_t; typedef
Dyaffs_fs.c104 loff_t * pos);
550 loff_t offset = (loff_t) page->index << PAGE_CACHE_SHIFT; in yaffs_writepage()
634 loff_t pos = (((loff_t) pg->index) << PAGE_CACHE_SHIFT) + offset; in yaffs_commit_write()
801 loff_t * pos) in yaffs_file_write()
Dyaffs_guts.c95 loff_t yaffs_GetFileSize(yaffs_Object * obj);
116 static void yaffs_AddrToChunk(yaffs_Device *dev, loff_t addr, __u32 *chunk, __u32 *offset) in yaffs_AddrToChunk()
3880 int yaffs_ReadDataFromFile(yaffs_Object * in, __u8 * buffer, loff_t offset, in yaffs_ReadDataFromFile()
4000 int yaffs_WriteDataToFile(yaffs_Object * in, const __u8 * buffer, loff_t offset, in yaffs_WriteDataToFile()
4235 int yaffs_ResizeFile(yaffs_Object * in, loff_t newSize) in yaffs_ResizeFile()
4298 loff_t yaffs_GetFileSize(yaffs_Object * obj) in yaffs_GetFileSize()
/external/e2fsprogs/misc/
De4defrag.c202 static int posix_fadvise(int fd, loff_t offset, size_t len, int advise) in posix_fadvise()
225 int sync_file_range(int fd, loff_t offset, loff_t length, unsigned int flag) in sync_file_range()
250 static int fallocate64(int fd, int mode, loff_t offset, loff_t len) in fallocate64()
419 loff_t offset, end_offset, length; in page_in_core()
428 offset = (loff_t)defrag_data.orig_start * block_size; in page_in_core()
429 length = (loff_t)defrag_data.len * block_size; in page_in_core()
473 loff_t offset; in defrag_fadvise()
478 offset = (loff_t)defrag_data.orig_start * block_size; in defrag_fadvise()
483 (loff_t)pagesize * page_num, sync_flag) < 0) in defrag_fadvise()
1332 static void print_progress(const char *file, loff_t start, loff_t file_size) in print_progress()
[all …]
Dfindsuper.c117 loff_t sk=0, skl=0; in main()
121 loff_t interval = 1024 * 1024; in main()
/external/e2fsprogs/contrib/
Dfallocate.c92 loff_t length = -2LL; in main()
93 loff_t offset = 0; in main()
/external/elfutils/0.153/libelf/
Dlibelf.h98 loff_t d_off; /* Offset into section. */
160 loff_t ar_size; /* File size. */
325 loff_t __offset, size_t __size,
DChangeLog358 * libelf.h: Replace off64_t with loff_t throughout.
/external/linux-tools-perf/perf-3.12.0/tools/perf/host-darwin-fixup/
DAndroidFixup.h28 typedef off_t loff_t; typedef
/external/kernel-headers/original/uapi/linux/usb/
Df_mtp.h28 loff_t offset;
/external/mesa3d/src/gallium/auxiliary/os/
Dos_mman.h64 static INLINE void *os_mmap(void *addr, size_t length, int prot, int flags, int fd, loff_t offset) in os_mmap()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/
Dos_mman.h64 static INLINE void *os_mmap(void *addr, size_t length, int prot, int flags, int fd, loff_t offset) in os_mmap()
/external/elfutils/0.153/host-darwin-fixup/
DAndroidFixup.h20 #define loff_t off_t macro
/external/yaffs2/yaffs2/direct/
Dyaffsfs.h209 loff_t yaffs_freespace(const char *path);
Dyaffsfs.c1121 loff_t yaffs_freespace(const char *path) in yaffs_freespace()
1123 loff_t retVal=-1; in yaffs_freespace()
/external/fsck_msdos/
Ddir.c311 loff_t off; in delete()
446 loff_t off; in check_dot_dot()
530 loff_t off; in readDosDirSection()
1016 static loff_t lfoff;
/external/linux-tools-perf/perf-3.12.0/include/linux/
Dperf_event.h714 loff_t *ppos);
717 loff_t *ppos);
/external/oprofile/module/
Doprofile.c206 static ssize_t oprof_note_read(char * buf, size_t count, loff_t * ppos) in oprof_note_read()
305 static ssize_t oprof_read(struct file * file, char * buf, size_t count, loff_t * ppos) in oprof_read()
/external/strace/
Dfile.c144 # undef loff_t
152 # define loff_t __kernel_loff_t macro
163 # undef loff_t
171 # define loff_t loff_t macro
Dio.c296 loff_t offset; in print_loff_t()

12