Home
last modified time | relevance | path

Searched refs:ext2fs_get_mem (Results 1 – 25 of 63) sorted by relevance

123

/external/e2fsprogs/lib/ext2fs/
Dget_pathname.c59 retval = ext2fs_get_mem(name_len + 1, &gp->name); in get_pathname_proc()
80 retval = ext2fs_get_mem(2, name); in ext2fs_get_pathname_int()
88 retval = ext2fs_get_mem(4, name); in ext2fs_get_pathname_int()
108 retval = ext2fs_get_mem(strlen(tmp)+1, name); in ext2fs_get_pathname_int()
130 retval = ext2fs_get_mem(strlen(parent_name)+strlen(gp.name)+2, in ext2fs_get_pathname_int()
133 retval = ext2fs_get_mem(strlen(parent_name)+5, &ret); in ext2fs_get_pathname_int()
162 retval = ext2fs_get_mem(fs->blocksize, &buf); in ext2fs_get_pathname()
Ddupfs.c30 retval = ext2fs_get_mem(sizeof(struct struct_ext2_filsys), &fs); in ext2fs_dup_handle()
51 retval = ext2fs_get_mem(strlen(src->device_name)+1, &fs->device_name); in ext2fs_dup_handle()
56 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->super); in ext2fs_dup_handle()
61 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->orig_super); in ext2fs_dup_handle()
94 retval = ext2fs_get_mem(src->blocksize, &fs->mmp_buf); in ext2fs_dup_handle()
Dnamei.c72 retval = ext2fs_get_mem(fs->blocksize, &buffer); in follow_link()
180 retval = ext2fs_get_mem(fs->blocksize, &buf); in ext2fs_namei()
199 retval = ext2fs_get_mem(fs->blocksize, &buf); in ext2fs_namei_follow()
218 retval = ext2fs_get_mem(fs->blocksize, &buf); in ext2fs_follow_link()
Dbrel_ma.c60 retval = ext2fs_get_mem(sizeof(struct ext2_block_relocation_table), in ext2fs_brel_memarray_create()
66 retval = ext2fs_get_mem(strlen(name)+1, &brel->name); in ext2fs_brel_memarray_create()
71 retval = ext2fs_get_mem(sizeof(struct brel_ma), &ma); in ext2fs_brel_memarray_create()
Direl_ma.c76 retval = ext2fs_get_mem(sizeof(struct ext2_inode_relocation_table), in ext2fs_irel_memarray_create()
82 retval = ext2fs_get_mem(strlen(name)+1, &irel->name); in ext2fs_irel_memarray_create()
87 retval = ext2fs_get_mem(sizeof(struct irel_ma), &ma); in ext2fs_irel_memarray_create()
110 retval = ext2fs_get_mem(max_inode+1, in ext2fs_irel_memarray_create()
Dinode_io.c88 if ((retval = ext2fs_get_mem(sizeof(struct inode_private_data), in ext2fs_inode_io_intern2()
135 retval = ext2fs_get_mem(sizeof(struct struct_io_channel), &io); in inode_open()
142 retval = ext2fs_get_mem(strlen(name)+1, &io->name); in inode_open()
Dinode.c105 retval = ext2fs_get_mem(sizeof(struct ext2_inode_cache), &fs->icache); in ext2fs_create_inode_cache()
110 retval = ext2fs_get_mem(fs->blocksize, &fs->icache->buffer); in ext2fs_create_inode_cache()
125 retval = ext2fs_get_mem(EXT2_INODE_SIZE(fs->super), in ext2fs_create_inode_cache()
167 retval = ext2fs_get_mem(sizeof(struct ext2_struct_inode_scan), &scan); in ext2fs_open_inode_scan()
212 retval = ext2fs_get_mem(scan->inode_size + scan->inode_buffer_blocks, in ext2fs_open_inode_scan()
449 if (ext2fs_get_mem(EXT2_INODE_SIZE(scan->fs->super), &inode)) in check_inode_block_sanity()
663 retval = ext2fs_get_mem(length, &iptr); in ext2fs_get_next_inode_full()
901 retval = ext2fs_get_mem(length, &w_inode); in ext2fs_write_inode2()
Dext_attr.c205 retval = ext2fs_get_mem(fs->blocksize, &write_buf); in ext2fs_write_ext_attr3()
253 retval = ext2fs_get_mem(fs->blocksize, &buf); in ext2fs_adjust_ea_refcount3()
404 err = ext2fs_get_mem(fs->blocksize, &block_buf); in ext2fs_free_ext_attr()
463 err = ext2fs_get_mem(fs->blocksize, &block_buf); in prep_ea_block_for_write()
594 err = ext2fs_get_mem(size * 2, &out); in convert_disk_buffer_to_posix_acl()
898 err = ext2fs_get_mem(entry->e_value_size, &x->value); in read_xattrs_from_buffer()
913 err = ext2fs_get_mem(entry->e_value_size, &x->value); in read_xattrs_from_buffer()
1057 err = ext2fs_get_mem(handle->fs->blocksize, &block_buf); in ext2fs_xattrs_read()
1139 err = ext2fs_get_mem(x->value_len, &val); in ext2fs_xattr_get()
1316 ret = ext2fs_get_mem(name_len + 1, &new_name); in xattr_update_entry()
[all …]
Dinitialize.c115 retval = ext2fs_get_mem(sizeof(struct struct_ext2_filsys), &fs); in ext2fs_initialize()
143 retval = ext2fs_get_mem(strlen(name)+1, &fs->device_name); in ext2fs_initialize()
148 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &super); in ext2fs_initialize()
484 retval = ext2fs_get_mem(strlen(fs->device_name) + 80, &buf); in ext2fs_initialize()
Dopenfs.c140 retval = ext2fs_get_mem(sizeof(struct struct_ext2_filsys), &fs); in ext2fs_open2()
155 retval = ext2fs_get_mem(strlen(name)+1, &fs->device_name); in ext2fs_open2()
184 retval = ext2fs_get_mem(sizeof(struct ext2_image_hdr), in ext2fs_open2()
220 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->orig_super); in ext2fs_open2()
Dmmp.c188 retval = ext2fs_get_mem(fs->blocksize, &fs->mmp_buf); in ext2fs_mmp_reset()
252 retval = ext2fs_get_mem(fs->blocksize, &fs->mmp_buf); in ext2fs_mmp_init()
290 retval = ext2fs_get_mem(fs->blocksize, &fs->mmp_buf); in ext2fs_mmp_start()
Dbadblocks.c39 retval = ext2fs_get_mem(sizeof(struct ext2_struct_u32_list), &bb); in make_u32_list()
245 retval = ext2fs_get_mem(sizeof(struct ext2_struct_u32_iterate), &iter); in ext2fs_u32_list_iterate_begin()
Dundo_io.c291 retval = ext2fs_get_mem(data->tdb_data_size, &data->keyb); in undo_setup_tdb()
391 retval = ext2fs_get_mem(data->tdb_data_size, &read_ptr); in undo_write_tdb()
515 retval = ext2fs_get_mem(blocksize, &buf); in check_filesystem()
703 retval = ext2fs_get_mem(sizeof(struct struct_io_channel), &io); in undo_open()
708 retval = ext2fs_get_mem(sizeof(struct undo_private_data), &data); in undo_open()
713 retval = ext2fs_get_mem(strlen(name)+1, &io->name); in undo_open()
Ddblist_dir.c48 retval = ext2fs_get_mem(dblist->fs->blocksize, &ctx.buf); in ext2fs_dblist_dir_iterate()
Dnewdir.c42 retval = ext2fs_get_mem(fs->blocksize, &buf); in ext2fs_new_dir_block()
Ddirblock.c74 retval = ext2fs_get_mem(fs->blocksize, &buf); in ext2fs_write_dir_block4()
Dtest_io.c181 retval = ext2fs_get_mem(sizeof(struct struct_io_channel), &io); in test_open()
186 retval = ext2fs_get_mem(sizeof(struct test_private_data), &data); in test_open()
190 retval = ext2fs_get_mem(strlen(name)+1, &io->name); in test_open()
Dgen_bitmap.c90 retval = ext2fs_get_mem(sizeof(struct ext2fs_struct_generic_bitmap_32), in ext2fs_make_generic_bitmap()
111 retval = ext2fs_get_mem(strlen(descr)+1, &bitmap->description); in ext2fs_make_generic_bitmap()
123 retval = ext2fs_get_mem(size, &bitmap->bitmap); in ext2fs_make_generic_bitmap()
Dio_manager.c140 return ext2fs_get_mem(size, ptr); in io_channel_alloc_buf()
Dblkmap64_ba.c55 retval = ext2fs_get_mem(sizeof (ext2fs_ba_private), &bp); in ba_alloc_private_data()
61 retval = ext2fs_get_mem(size, &bp->bitarray); in ba_alloc_private_data()
/external/e2fsprogs/resize/
Dsim_progress.c86 retval = ext2fs_get_mem(sizeof(struct ext2_sim_progress), &prog); in ext2fs_progress_init()
91 retval = ext2fs_get_mem(strlen(label)+1, &prog->label); in ext2fs_progress_init()
/external/e2fsprogs/lib/support/
Dmkquota.c176 retval = ext2fs_get_mem(sizeof(struct quota_handle), &h); in quota_write_inode()
299 err = ext2fs_get_mem(sizeof(struct quota_ctx), &ctx); in quota_init_context()
315 err = ext2fs_get_mem(sizeof(dict_t), &dict); in quota_init_context()
371 if (ext2fs_get_mem(sizeof(struct dquot), &dq)) { in get_dq()
616 err = ext2fs_get_mem(sizeof(struct quota_handle), &qh); in quota_update_limits()
/external/e2fsprogs/misc/
De2undo.c180 retval = ext2fs_get_mem(ctx->blocksize, &buf); in check_filesystem()
476 retval = ext2fs_get_mem(sizeof(struct undo_key_info) * undo_ctx.num_keys, in main()
483 retval = ext2fs_get_mem(undo_ctx.blocksize, &keyb); in main()
488 retval = ext2fs_get_mem(E2UNDO_MAX_EXTENT_BLOCKS * undo_ctx.blocksize, in main()
De2image.c218 ret = ext2fs_get_mem(wrt_size, &header_buf); in write_header()
586 retval = ext2fs_get_mem(fs->blocksize, &buf); in output_meta_data_blocks()
1158 retval = ext2fs_get_mem(sizeof(struct ext2_qcow2_image), &img); in output_qcow2_meta_data_blocks()
1191 retval = ext2fs_get_mem(fs->blocksize, &buf); in output_qcow2_meta_data_blocks()
1327 retval = ext2fs_get_mem(fs->blocksize * 3, &block_buf); in write_raw_image_file()
1702 retval = ext2fs_get_mem(fs->blocksize, &check_buf); in main()
/external/e2fsprogs/e2fsck/
Dea_refcount.c56 retval = ext2fs_get_mem(sizeof(struct ea_refcount), &refcount); in ea_refcount_create()
69 retval = ext2fs_get_mem(bytes, &refcount->list); in ea_refcount_create()

123