Home
last modified time | relevance | path

Searched refs:ext2_loff_t (Results 1 – 12 of 12) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dllseek.c68 unsigned long, ext2_loff_t *, unsigned int);
71 unsigned long, offset_low,ext2_loff_t *,result, in _syscall5() argument
75 static ext2_loff_t my_llseek (int fd, ext2_loff_t offset, int origin) in _syscall5()
77 ext2_loff_t result; in _syscall5()
87 return (retval == -1 ? (ext2_loff_t) retval : result); in _syscall5()
95 ext2_loff_t ext2fs_llseek (int fd, ext2_loff_t offset, int origin) in ext2fs_llseek()
100 ext2_loff_t result; in ext2fs_llseek()
114 if (offset < ((ext2_loff_t) 1 << ((sizeof(off_t)*8) -1))) in ext2fs_llseek()
129 ext2_loff_t ext2fs_llseek (int fd, ext2_loff_t offset, int origin) in ext2fs_llseek()
134 if ((sizeof(off_t) < sizeof(ext2_loff_t)) && in ext2fs_llseek()
[all …]
Dext2_io.h21 typedef long long ext2_loff_t; typedef
23 typedef long ext2_loff_t; typedef
27 ext2_loff_t ext2fs_llseek (int, ext2_loff_t, int);
Ddosio.c378 ext2_loff_t loc; in dos_read_blk()
385 loc = (ext2_loff_t) block * channel->block_size; in dos_read_blk()
415 ext2_loff_t loc; in dos_write_blk()
431 loc = (ext2_loff_t)block * channel->block_size; in dos_write_blk()
Dgetsize.c129 static int valid_offset (int fd, ext2_loff_t offset) in valid_offset()
148 ext2_loff_t high, low; in ext2fs_get_device_size2()
260 const ext2_loff_t mid = (low + high) / 2; in ext2fs_get_device_size2()
Dunix_io.c100 ext2_loff_t offset;
135 ext2_loff_t location; in raw_read_blk()
141 location = ((ext2_loff_t) block * channel->block_size) + data->offset; in raw_read_blk()
154 if ((sizeof(off_t) >= sizeof(ext2_loff_t)) && in raw_read_blk()
218 ext2_loff_t location; in raw_write_blk()
233 location = ((ext2_loff_t) block * channel->block_size) + data->offset; in raw_write_blk()
246 if ((sizeof(off_t) >= sizeof(ext2_loff_t)) && in raw_write_blk()
890 (ext2_loff_t)block * channel->block_size + data->offset, in unix_cache_readahead()
891 (ext2_loff_t)count * channel->block_size, in unix_cache_readahead()
Dundo_io.c145 ext2_loff_t offset;
327 ext2_loff_t offset; in undo_write_tdb()
908 ext2_loff_t location; in undo_write_byte()
/external/e2fsprogs/lib/support/
Dquotaio.h125 unsigned int (*e2fs_read)(struct quota_file *qf, ext2_loff_t offset,
127 unsigned int (*e2fs_write)(struct quota_file *qf, ext2_loff_t offset,
Dquotaio_tree.c445 static ext2_loff_t find_block_dqentry(struct quota_handle *h, in find_block_dqentry()
471 static ext2_loff_t find_tree_dqentry(struct quota_handle *h, in find_tree_dqentry()
476 ext2_loff_t ret = 0; in find_tree_dqentry()
497 static inline ext2_loff_t find_dqentry(struct quota_handle *h, in find_dqentry()
509 ext2_loff_t offset; in qtree_read_dquot()
Dquotaio.c164 ext2_loff_t offset, in quota_write_nomount()
188 ext2_loff_t offset, in quota_read_nomount()
/external/e2fsprogs/misc/
Dbadblocks.c290 ext2_loff_t offset) in set_o_direct()
370 ((ext2_loff_t) current_block) * block_size); in do_read()
376 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size, in do_read()
377 SEEK_SET) != (ext2_loff_t) current_block * block_size) in do_read()
443 ((ext2_loff_t) current_block) * block_size); in do_write()
449 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size, in do_write()
450 SEEK_SET) != (ext2_loff_t) current_block * block_size) in do_write()
De2image.c115 static ext2_loff_t seek_relative(int fd, int offset) in seek_relative()
117 ext2_loff_t ret = ext2fs_llseek(fd, offset, SEEK_CUR); in seek_relative()
125 static ext2_loff_t seek_set(int fd, ext2_loff_t offset) in seek_set()
127 ext2_loff_t ret = ext2fs_llseek(fd, offset, SEEK_SET); in seek_set()
728 ext2_loff_t offset; in output_meta_data_blocks()
995 ext2_loff_t offset; in flush_l2_cache()
/external/e2fsprogs/debugfs/
Dlogdump.c280 ext2_loff_t offset, char *buf, unsigned int size) in read_journal_block()
381 ((ext2_loff_t) blocknr) * blocksize, in dump_journal()
409 ((ext2_loff_t) blocknr) * blocksize, in dump_journal()
648 ((ext2_loff_t) log_blocknr) * blocksize, in dump_metadata_block()