/external/u-boot/include/ |
D | sandboxfs.h | 23 int sandbox_fs_read_at(const char *filename, loff_t pos, void *buffer, 24 loff_t maxsize, loff_t *actread); 25 int sandbox_fs_write_at(const char *filename, loff_t pos, void *buffer, 26 loff_t maxsize, loff_t *actwrite); 31 int sandbox_fs_size(const char *filename, loff_t *size); 32 int fs_read_sandbox(const char *filename, void *buf, loff_t offset, loff_t len, 33 loff_t *actread); 34 int fs_write_sandbox(const char *filename, void *buf, loff_t offset, 35 loff_t len, loff_t *actwrite);
|
D | nand.h | 47 static inline int nand_read(struct mtd_info *info, loff_t ofs, size_t *len, in nand_read() 53 static inline int nand_write(struct mtd_info *info, loff_t ofs, size_t *len, in nand_write() 59 static inline int nand_block_isbad(struct mtd_info *info, loff_t ofs) in nand_block_isbad() 64 static inline int nand_erase(struct mtd_info *info, loff_t off, size_t size) in nand_erase() 84 loff_t length; /* number of bytes to erase */ 85 loff_t offset; /* first address in NAND to erase */ 95 loff_t lim; 100 int nand_read_skip_bad(struct mtd_info *mtd, loff_t offset, size_t *length, 101 size_t *actual, loff_t lim, u_char *buffer); 106 int nand_write_skip_bad(struct mtd_info *mtd, loff_t offset, size_t *length, [all …]
|
D | ext4fs.h | 139 int ext4_write_file(const char *filename, void *buf, loff_t offset, loff_t len, 140 loff_t *actwrite); 145 int ext4fs_open(const char *filename, loff_t *len); 146 int ext4fs_read(char *buf, loff_t offset, loff_t len, loff_t *actread); 152 int ext4fs_size(const char *filename, loff_t *size); 160 int ext4_read_file(const char *filename, void *buf, loff_t offset, loff_t len, 161 loff_t *actread);
|
D | fs.h | 94 int fs_size(const char *filename, loff_t *size); 109 int fs_read(const char *filename, ulong addr, loff_t offset, loff_t len, 110 loff_t *actread); 124 int fs_write(const char *filename, ulong addr, loff_t offset, loff_t len, 125 loff_t *actwrite); 141 loff_t size; /* size in bytes */
|
D | fat.h | 192 int fat_size(const char *filename, loff_t *size); 193 int file_fat_read_at(const char *filename, loff_t pos, void *buffer, 194 loff_t maxsize, loff_t *actread); 199 int file_fat_write(const char *filename, void *buf, loff_t offset, loff_t len, 200 loff_t *actwrite); 201 int fat_read_file(const char *filename, void *buf, loff_t offset, loff_t len, 202 loff_t *actread);
|
D | onenand_uboot.h | 33 extern int onenand_read(struct mtd_info *mtd, loff_t from, size_t len, 35 extern int onenand_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops); 36 extern int onenand_write(struct mtd_info *mtd, loff_t from, size_t len, 42 extern unsigned onenand_block(struct onenand_chip *this, loff_t addr); 44 extern loff_t onenand_addr(struct onenand_chip *this, int block); 46 extern int flexonenand_region(struct mtd_info *mtd, loff_t addr);
|
D | btrfs.h | 14 int btrfs_size(const char *, loff_t *); 15 int btrfs_read(const char *, void *, loff_t, loff_t, loff_t *);
|
D | ubifs_uboot.h | 26 int ubifs_size(const char *filename, loff_t *size); 27 int ubifs_read(const char *filename, void *buf, loff_t offset, 28 loff_t size, loff_t *actread);
|
/external/u-boot/fs/sandbox/ |
D | sandboxfs.c | 19 int sandbox_fs_read_at(const char *filename, loff_t pos, void *buffer, in sandbox_fs_read_at() 20 loff_t maxsize, loff_t *actread) in sandbox_fs_read_at() 22 loff_t size; in sandbox_fs_read_at() 56 int sandbox_fs_write_at(const char *filename, loff_t pos, void *buffer, in sandbox_fs_write_at() 57 loff_t towrite, loff_t *actwrite) in sandbox_fs_write_at() 104 loff_t size; in sandbox_fs_exists() 111 int sandbox_fs_size(const char *filename, loff_t *size) in sandbox_fs_size() 120 int fs_read_sandbox(const char *filename, void *buf, loff_t offset, loff_t len, in fs_read_sandbox() 121 loff_t *actread) in fs_read_sandbox() 132 int fs_write_sandbox(const char *filename, void *buf, loff_t offset, in fs_write_sandbox() [all …]
|
/external/u-boot/include/linux/mtd/ |
D | mtd.h | 235 int (*_point) (struct mtd_info *mtd, loff_t from, size_t len, 237 int (*_unpoint) (struct mtd_info *mtd, loff_t from, size_t len); 243 int (*_read) (struct mtd_info *mtd, loff_t from, size_t len, 245 int (*_write) (struct mtd_info *mtd, loff_t to, size_t len, 247 int (*_panic_write) (struct mtd_info *mtd, loff_t to, size_t len, 249 int (*_read_oob) (struct mtd_info *mtd, loff_t from, 251 int (*_write_oob) (struct mtd_info *mtd, loff_t to, 255 int (*_read_fact_prot_reg) (struct mtd_info *mtd, loff_t from, 259 int (*_read_user_prot_reg) (struct mtd_info *mtd, loff_t from, 261 int (*_write_user_prot_reg) (struct mtd_info *mtd, loff_t to, [all …]
|
D | onenand.h | 92 int (*command) (struct mtd_info *mtd, int cmd, loff_t address, 97 int (*read_bufferram) (struct mtd_info *mtd, loff_t addr, int area, 99 int (*write_bufferram) (struct mtd_info *mtd, loff_t addr, int area, 106 int (*block_markbad)(struct mtd_info *mtd, loff_t ofs); 175 int onenand_bbt_read_oob(struct mtd_info *mtd, loff_t from, 178 unsigned int onenand_block(struct onenand_chip *this, loff_t addr); 179 int flexonenand_region(struct mtd_info *mtd, loff_t addr);
|
/external/u-boot/fs/ |
D | fs.c | 76 static inline int fs_size_unsupported(const char *filename, loff_t *size) in fs_size_unsupported() 82 loff_t offset, loff_t len, in fs_read_unsupported() 83 loff_t *actread) in fs_read_unsupported() 89 loff_t offset, loff_t len, in fs_write_unsupported() 90 loff_t *actwrite) in fs_write_unsupported() 141 int (*size)(const char *filename, loff_t *size); 142 int (*read)(const char *filename, void *buf, loff_t offset, 143 loff_t len, loff_t *actread); 144 int (*write)(const char *filename, void *buf, loff_t offset, 145 loff_t len, loff_t *actwrite); [all …]
|
/external/u-boot/cmd/ |
D | legacy-mtd-utils.c | 10 static int get_part(const char *partname, int *idx, loff_t *off, loff_t *size, in get_part() 11 loff_t *maxsize, int devtype) in get_part() 44 int mtd_arg_off(const char *arg, int *idx, loff_t *off, loff_t *size, in mtd_arg_off() 45 loff_t *maxsize, int devtype, uint64_t chipsize) in mtd_arg_off() 60 int mtd_arg_off_size(int argc, char *const argv[], int *idx, loff_t *off, in mtd_arg_off_size() 61 loff_t *size, loff_t *maxsize, int devtype, in mtd_arg_off_size()
|
D | legacy-mtd-utils.h | 6 int mtd_arg_off(const char *arg, int *idx, loff_t *off, loff_t *size, 7 loff_t *maxsize, int devtype, uint64_t chipsize); 8 int mtd_arg_off_size(int argc, char *const argv[], int *idx, loff_t *off, 9 loff_t *size, loff_t *maxsize, int devtype,
|
D | onenand.c | 24 static loff_t next_ofs; 25 static loff_t skip_ofs; 61 static int onenand_block_read(loff_t from, size_t len, in onenand_block_read() 67 loff_t ofs = from; in onenand_block_read() 108 static int onenand_write_oneblock_withoob(loff_t to, const u_char * buf, in onenand_write_oneblock_withoob() 132 static int onenand_block_write(loff_t to, size_t len, in onenand_block_write() 138 loff_t ofs; in onenand_block_write() 192 loff_t ofs; in onenand_block_erase() 228 loff_t ofs; in onenand_block_test() 310 loff_t addr; in onenand_dump() [all …]
|
/external/ltp/testcases/kernel/syscalls/copy_file_range/ |
D | copy_file_range01.c | 37 loff_t *off1, loff_t *off2, size_t len) in check_file_content() 63 static int check_file_offset(const char *m, int fd, loff_t len, in check_file_offset() 64 loff_t *off_before, loff_t *off_after) in check_file_offset() 66 loff_t fd_off = SAFE_LSEEK(fd, 0, SEEK_CUR); in check_file_offset() 100 static void test_one(size_t len, loff_t *off_in, loff_t *off_out, char *path) in test_one() 104 loff_t off_in_value_copy, off_out_value_copy; in test_one() 105 loff_t *off_new_in = &off_in_value_copy; in test_one() 106 loff_t *off_new_out = &off_out_value_copy; in test_one() 186 loff_t off_arr_values[] = {0, 17, page_size-1, page_size, page_size+1}; in copy_file_range_verify() 189 loff_t *off_arr[num_offsets]; in copy_file_range_verify()
|
/external/u-boot/fs/ext4/ |
D | ext4fs.c | 48 int ext4fs_read_file(struct ext2fs_node *node, loff_t pos, in ext4fs_read_file() 49 loff_t len, char *buf, loff_t *actread) in ext4fs_read_file() 207 loff_t file_len; in ext4fs_exists() 214 int ext4fs_size(const char *filename, loff_t *size) in ext4fs_size() 219 int ext4fs_read(char *buf, loff_t offset, loff_t len, loff_t *actread) in ext4fs_read() 240 int ext4_read_file(const char *filename, void *buf, loff_t offset, loff_t len, in ext4_read_file() 241 loff_t *len_read) in ext4_read_file() 243 loff_t file_len; in ext4_read_file()
|
/external/u-boot/fs/yaffs2/ |
D | yaffsfs.h | 57 loff_t st_size; /* total size, in bytes */ 93 int yaffs_pread(int fd, void *buf, unsigned int nbyte, loff_t offset); 94 int yaffs_pwrite(int fd, const void *buf, unsigned int nbyte, loff_t offset); 96 loff_t yaffs_lseek(int fd, loff_t offset, int whence) ; 98 int yaffs_truncate(const YCHAR *path, loff_t new_size); 99 int yaffs_ftruncate(int fd, loff_t new_size); 176 loff_t yaffs_freespace(const YCHAR *path); 177 loff_t yaffs_totalspace(const YCHAR *path);
|
D | yaffs_guts.h | 205 loff_t extra_file_size; /* Length if it is a file */ 370 loff_t file_size; 371 loff_t scanned_size; 372 loff_t shrink_size; 500 loff_t size_or_equiv_obj; 842 loff_t yaffs_get_obj_length(struct yaffs_obj *obj); 848 int yaffs_file_rd(struct yaffs_obj *obj, u8 * buffer, loff_t offset, 850 int yaffs_wr_file(struct yaffs_obj *obj, const u8 * buffer, loff_t offset, 852 int yaffs_resize_file(struct yaffs_obj *obj, loff_t new_size); 946 int yaffs_do_file_wr(struct yaffs_obj *in, const u8 *buffer, loff_t offset, [all …]
|
/external/strace/linux/ |
D | asm_stat.h | 7 # undef loff_t 18 # define loff_t __kernel_loff_t macro 31 # undef loff_t 42 # define loff_t loff_t macro
|
/external/ltp/testcases/kernel/syscalls/fallocate/ |
D | fallocate01.c | 111 void runtest(int, int, loff_t); 117 loff_t block_size; 195 loff_t expected_size; in main() 219 void runtest(int mode, int fd, loff_t expected_size) in runtest() 221 loff_t offset; in runtest() 222 loff_t len = block_size; in runtest() 223 loff_t write_offset, lseek_offset; in runtest()
|
/external/u-boot/drivers/mtd/nand/raw/ |
D | nand_bbt.c | 77 static int nand_update_bbt(struct mtd_info *mtd, loff_t offs); 175 loff_t from; in read_bbt() 183 from = ((loff_t)page) << this->page_shift; in read_bbt() 221 (loff_t)(offs + act) << in read_bbt() 233 (loff_t)(offs + act) << in read_bbt() 288 static int scan_read_data(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_data() 312 static int scan_read_oob(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read_oob() 342 static int scan_read(struct mtd_info *mtd, uint8_t *buf, loff_t offs, in scan_read() 352 static int scan_write_bbt(struct mtd_info *mtd, loff_t offs, size_t len, in scan_write_bbt() 393 scan_read(mtd, buf, (loff_t)td->pages[0] << this->page_shift, in read_abs_bbts() [all …]
|
/external/u-boot/drivers/mtd/onenand/ |
D | onenand_base.c | 229 static unsigned int flexonenand_block(struct onenand_chip *this, loff_t addr) in flexonenand_block() 248 unsigned int onenand_block(struct onenand_chip *this, loff_t addr) in onenand_block() 262 static loff_t flexonenand_addr(struct onenand_chip *this, int block) in flexonenand_addr() 264 loff_t ofs = 0; in flexonenand_addr() 274 ofs += (loff_t) block << (this->erase_shift - 1); in flexonenand_addr() 276 ofs += (loff_t) (block - boundary - 1) in flexonenand_addr() 281 loff_t onenand_addr(struct onenand_chip *this, int block) in onenand_addr() 284 return (loff_t) block << this->erase_shift; in onenand_addr() 293 int flexonenand_region(struct mtd_info *mtd, loff_t addr) in flexonenand_region() 325 static int onenand_command(struct mtd_info *mtd, int cmd, loff_t addr, in onenand_command() [all …]
|
/external/ltp/include/lapi/ |
D | fs.h | 51 static inline loff_t tst_max_lfs_filesize(void) in tst_max_lfs_filesize() 54 return (loff_t)LLONG_MAX; in tst_max_lfs_filesize() 57 loff_t ret = ULONG_MAX; in tst_max_lfs_filesize()
|
/external/u-boot/drivers/mtd/ |
D | mtdpart.c | 289 static int part_read(struct mtd_info *mtd, loff_t from, size_t len, in part_read() 308 static int part_point(struct mtd_info *mtd, loff_t from, size_t len, in part_point() 315 static int part_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in part_unpoint() 330 static int part_read_oob(struct mtd_info *mtd, loff_t from, in part_read_oob() 367 static int part_read_user_prot_reg(struct mtd_info *mtd, loff_t from, in part_read_user_prot_reg() 381 static int part_read_fact_prot_reg(struct mtd_info *mtd, loff_t from, in part_read_fact_prot_reg() 395 static int part_write(struct mtd_info *mtd, loff_t to, size_t len, in part_write() 402 static int part_panic_write(struct mtd_info *mtd, loff_t to, size_t len, in part_panic_write() 409 static int part_write_oob(struct mtd_info *mtd, loff_t to, in part_write_oob() 419 static int part_write_user_prot_reg(struct mtd_info *mtd, loff_t from, in part_write_user_prot_reg() [all …]
|