Home
last modified time | relevance | path

Searched refs:e2_file (Results 1 – 7 of 7) sorted by relevance

/external/e2fsprogs/lib/support/
Dquotaio.c167 ext2_file_t e2_file = qf->e2_file; in quota_write_nomount() local
171 err = ext2fs_file_llseek(e2_file, offset, EXT2_SEEK_SET, NULL); in quota_write_nomount()
177 err = ext2fs_file_write(e2_file, buf, size, &bytes_written); in quota_write_nomount()
191 ext2_file_t e2_file = qf->e2_file; in quota_read_nomount() local
195 err = ext2fs_file_llseek(e2_file, offset, EXT2_SEEK_SET, NULL); in quota_read_nomount()
201 err = ext2fs_file_read(e2_file, buf, size, &bytes_read); in quota_read_nomount()
218 ext2_file_t e2_file; in quota_file_open() local
236 err = ext2fs_file_open(fs, qf_ino, flags, &e2_file); in quota_file_open()
247 ext2fs_file_close(e2_file); in quota_file_open()
255 ext2fs_file_close(e2_file); in quota_file_open()
[all …]
Dmkquota.c209 if (h->qh_qf.e2_file) in quota_write_inode()
210 ext2fs_file_close(h->qh_qf.e2_file); in quota_write_inode()
634 if (qh->qh_qf.e2_file) in quota_update_limits()
635 ext2fs_file_close(qh->qh_qf.e2_file); in quota_update_limits()
693 if (qh.qh_qf.e2_file) in quota_compare_and_update()
694 ext2fs_file_close(qh.qh_qf.e2_file); in quota_compare_and_update()
Dquotaio.h115 ext2_file_t e2_file; member
/external/e2fsprogs/debugfs/
Ddump.c106 ext2_file_t e2_file; in dump_file() local
113 retval = ext2fs_file_open(current_fs, ino, 0, &e2_file); in dump_file()
124 retval = ext2fs_file_read(e2_file, buf, blocksize, &got); in dump_file()
135 retval = ext2fs_file_close(e2_file); in dump_file()
202 ext2_file_t e2_file; in rdump_symlink() local
217 retval = ext2fs_file_open(current_fs, ino, 0, &e2_file); in rdump_symlink()
224 retval = ext2fs_file_read(e2_file, p, bytes, &got); in rdump_symlink()
235 retval = ext2fs_file_close(e2_file); in rdump_symlink()
/external/e2fsprogs/misc/
De2initrd_helper.c77 ext2_file_t e2_file = NULL; in get_file() local
103 retval = ext2fs_file_open(fs, ino, 0, &e2_file); in get_file()
107 retval = ext2fs_file_read(e2_file, buf, inode.i_size, &got); in get_file()
111 retval = ext2fs_file_close(e2_file); in get_file()
121 if (e2_file) in get_file()
122 ext2fs_file_close(e2_file); in get_file()
Dcreate_inode.c412 static errcode_t copy_file_chunk(ext2_filsys fs, int fd, ext2_file_t e2_file, in copy_file_chunk() argument
442 err = ext2fs_file_llseek(e2_file, off + bpos, in copy_file_chunk()
447 err = ext2fs_file_write(e2_file, ptr, blen, in copy_file_chunk()
466 ext2_file_t e2_file, char *buf, char *zerobuf) in try_lseek_copy() argument
486 err = copy_file_chunk(fs, fd, e2_file, data_blk, hole_blk, buf, in try_lseek_copy()
499 static errcode_t try_fiemap_copy(ext2_filsys fs, int fd, ext2_file_t e2_file, in try_fiemap_copy() argument
537 err = copy_file_chunk(fs, fd, e2_file, ext->fe_logical, in try_fiemap_copy()
562 ext2_file_t e2_file; in copy_file() local
566 err = ext2fs_file_open(fs, ino, EXT2_FILE_WRITE, &e2_file); in copy_file()
579 err = try_lseek_copy(fs, fd, statbuf, e2_file, buf, zerobuf); in copy_file()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dinline_data.c401 ext2_file_t e2_file; in ext2fs_inline_data_file_expand() local
422 retval = ext2fs_file_open(fs, ino, EXT2_FILE_WRITE, &e2_file); in ext2fs_inline_data_file_expand()
425 retval = ext2fs_file_write(e2_file, buf, size, 0); in ext2fs_inline_data_file_expand()
426 ext2fs_file_close(e2_file); in ext2fs_inline_data_file_expand()