Home
last modified time | relevance | path

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

/third_party/e2fsprogs/lib/support/
Dquotaio.c142 ext2_file_t e2_file = qf->e2_file; in quota_write_nomount() local
146 err = ext2fs_file_llseek(e2_file, offset, EXT2_SEEK_SET, NULL); in quota_write_nomount()
152 err = ext2fs_file_write(e2_file, buf, size, &bytes_written); in quota_write_nomount()
166 ext2_file_t e2_file = qf->e2_file; in quota_read_nomount() local
170 err = ext2fs_file_llseek(e2_file, offset, EXT2_SEEK_SET, NULL); in quota_read_nomount()
176 err = ext2fs_file_read(e2_file, buf, size, &bytes_read); in quota_read_nomount()
193 ext2_file_t e2_file; in quota_file_open() local
211 err = ext2fs_file_open(fs, qf_ino, flags, &e2_file); in quota_file_open()
222 ext2fs_file_close(e2_file); in quota_file_open()
230 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()
641 if (qh->qh_qf.e2_file) in quota_update_limits()
642 ext2fs_file_close(qh->qh_qf.e2_file); in quota_update_limits()
701 if (qh.qh_qf.e2_file) in quota_compare_and_update()
702 ext2fs_file_close(qh.qh_qf.e2_file); in quota_compare_and_update()
Dquotaio.h115 ext2_file_t e2_file; member
Dquotaio_v2.c193 if (ext2fs_file_get_lsize(h->qh_qf.e2_file, &filesize)) in v2_init_io()
/third_party/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()
/third_party/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.c420 static errcode_t copy_file_chunk(ext2_filsys fs, int fd, ext2_file_t e2_file, in copy_file_chunk() argument
450 err = ext2fs_file_llseek(e2_file, off + bpos, in copy_file_chunk()
455 err = ext2fs_file_write(e2_file, ptr, blen, in copy_file_chunk()
474 ext2_file_t e2_file, char *buf, char *zerobuf) in try_lseek_copy() argument
495 err = copy_file_chunk(fs, fd, e2_file, data_blk, hole_blk, buf, in try_lseek_copy()
508 static errcode_t try_fiemap_copy(ext2_filsys fs, int fd, ext2_file_t e2_file, in try_fiemap_copy() argument
546 err = copy_file_chunk(fs, fd, e2_file, ext->fe_logical, in try_fiemap_copy()
571 ext2_file_t e2_file; in copy_file() local
575 err = ext2fs_file_open(fs, ino, EXT2_FILE_WRITE, &e2_file); in copy_file()
588 err = try_lseek_copy(fs, fd, statbuf, e2_file, buf, zerobuf); in copy_file()
[all …]
/third_party/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()