/third_party/e2fsprogs/lib/support/ |
D | quotaio.c | 142 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 …]
|
D | mkquota.c | 209 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()
|
D | quotaio.h | 115 ext2_file_t e2_file; member
|
D | quotaio_v2.c | 193 if (ext2fs_file_get_lsize(h->qh_qf.e2_file, &filesize)) in v2_init_io()
|
/third_party/e2fsprogs/debugfs/ |
D | dump.c | 106 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/ |
D | e2initrd_helper.c | 77 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()
|
D | create_inode.c | 420 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/ |
D | inline_data.c | 401 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()
|