Searched refs:ext2_loff_t (Results 1 – 6 of 6) sorted by relevance
/external/e2fsprogs/lib/ext2fs/ |
D | llseek.c | 63 unsigned long, ext2_loff_t *, unsigned int); 66 unsigned long, offset_low,ext2_loff_t *,result, in _syscall5() argument 70 static ext2_loff_t my_llseek (int fd, ext2_loff_t offset, int origin) in _syscall5() 72 ext2_loff_t result; in _syscall5() 82 return (retval == -1 ? (ext2_loff_t) retval : result); in _syscall5() 90 ext2_loff_t ext2fs_llseek (int fd, ext2_loff_t offset, int origin) in ext2fs_llseek() 92 ext2_loff_t result; in ext2fs_llseek() 95 if ((sizeof(off_t) >= sizeof(ext2_loff_t)) || in ext2fs_llseek() 96 (offset < ((ext2_loff_t) 1 << ((sizeof(off_t)*8) -1)))) in ext2fs_llseek() 122 ext2_loff_t ext2fs_llseek (int fd, ext2_loff_t offset, int origin) in ext2fs_llseek() [all …]
|
D | ext2_io.h | 19 typedef long long ext2_loff_t; typedef 21 typedef long ext2_loff_t; typedef 25 ext2_loff_t ext2fs_llseek (int, ext2_loff_t, int);
|
D | unix_io.c | 71 ext2_loff_t offset; 129 ext2_loff_t location; in raw_read_blk() 133 location = ((ext2_loff_t) block * channel->block_size) + data->offset; in raw_read_blk() 165 ext2_loff_t location; in raw_read_blk() 171 location = ((ext2_loff_t) block * channel->block_size) + data->offset; in raw_read_blk() 215 ext2_loff_t location; in raw_write_blk() 228 location = ((ext2_loff_t) block * channel->block_size) + data->offset; in raw_write_blk()
|
D | dosio.c | 375 ext2_loff_t loc; in dos_read_blk() 382 loc = (ext2_loff_t) block * channel->block_size; in dos_read_blk() 412 ext2_loff_t loc; in dos_write_blk() 428 loc = (ext2_loff_t)block * channel->block_size; in dos_write_blk()
|
D | getsize.c | 127 static int valid_offset (int fd, ext2_loff_t offset) in valid_offset() 151 ext2_loff_t high, low; in ext2fs_get_device_size() 276 const ext2_loff_t mid = (low + high) / 2; in ext2fs_get_device_size()
|
/external/e2fsprogs/misc/ |
D | badblocks.c | 276 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size, in do_read() 277 SEEK_SET) != (ext2_loff_t) current_block * block_size) in do_read() 305 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size, in do_write() 306 SEEK_SET) != (ext2_loff_t) current_block * block_size) in do_write()
|