Home
last modified time | relevance | path

Searched refs:ntfs_malloc (Results 1 - 25 of 38) sorted by relevance

12

/third_party/ntfs-3g/libntfs-3g/
H A Dvolume.c265 mb = ntfs_malloc(vol->mft_record_size); in ntfs_mft_load()
306 vol->mft_ni->attr_list = ntfs_malloc(l); in ntfs_mft_load()
516 bs = ntfs_malloc(sizeof(NTFS_BOOT_SECTOR)); in ntfs_volume_startup()
810 buf = ntfs_malloc(NTFS_HIBERFILE_HEADER_SIZE); in ntfs_volume_check_hiberfile()
961 m = ntfs_malloc(vol->mftmirr_size << vol->mft_record_size_bits); in ntfs_device_mount()
962 m2 = ntfs_malloc(vol->mftmirr_size << vol->mft_record_size_bits); in ntfs_device_mount()
1104 vol->upcase = ntfs_malloc(na->data_size); in ntfs_device_mount()
1198 vol->vol_name = ntfs_malloc(1); in ntfs_device_mount()
1223 vol->vol_name = ntfs_malloc(u + 1); in ntfs_device_mount()
1259 vol->attrdef = ntfs_malloc(n in ntfs_device_mount()
[all...]
H A Dxattrs.c322 item = (struct XATTRMAPPING*)ntfs_malloc( in getmappingitem()
446 mapping = (struct XATTRMAPPING*)ntfs_malloc( in ntfs_xattr_build_mapping()
502 acl = (struct POSIX_ACL*)ntfs_malloc(size); in ntfs_xattr_system_getxattr()
516 acl = (struct POSIX_ACL*)ntfs_malloc(size); in ntfs_xattr_system_getxattr()
630 acl = (struct POSIX_ACL*)ntfs_malloc(size); in ntfs_xattr_system_setxattr()
644 acl = (struct POSIX_ACL*)ntfs_malloc(size); in ntfs_xattr_system_setxattr()
H A Dunistr.c357 * of the string s. Memory for the new string is obtained with ntfs_malloc(3),
374 dst = ntfs_malloc((len + 1) * sizeof(ntfschar)); in ntfs_ucsndup()
582 *outs = ntfs_malloc(outs_len); in ntfs_utf16_to_utf8()
838 *outs = ntfs_malloc((shorts + 1) * sizeof(ntfschar)); in ntfs_utf8_to_utf16()
935 mbs = ntfs_malloc(mbs_len); in ntfs_ucstombs()
952 tc = ntfs_malloc((mbs_len + 64) & ~63); in ntfs_ucstombs()
1080 ucs = ntfs_malloc(ucs_len * sizeof(ntfschar));
1161 upp = (char*)ntfs_malloc(3*size + 1);
1385 *upcase = (ntfschar*)ntfs_malloc(UPCASE_LEN*2);
1411 lc = (ntfschar*)ntfs_malloc(uc_cn
[all...]
H A Dmisc.c53 void *ntfs_malloc(size_t size) in ntfs_malloc() function
H A Dcache.c263 current->variable = ntfs_malloc( in ntfs_enter_cache()
287 current->variable = ntfs_malloc( in ntfs_enter_cache()
490 cache = (struct CACHE_HEADER*)ntfs_malloc(size); in ntfs_create_cache()
H A Dcompress.c294 pctx = ntfs_malloc(sizeof(struct COMPRESS_CONTEXT)); in ntfs_compress_block()
778 cb = (u8*)ntfs_malloc(cb_size); in ntfs_compressed_attr_pread()
783 dest = (u8*)ntfs_malloc(cb_size); in ntfs_compressed_attr_pread()
1094 outbuf = (char*)ntfs_malloc(na->compression_block_size in ntfs_comp_set()
1597 compbuf = (char*)ntfs_malloc(compsz); in ntfs_read_append()
1778 outbuf = (char*)ntfs_malloc(na->compression_block_size); in ntfs_compressed_pwrite()
1809 inbuf = (char*)ntfs_malloc(na->compression_block_size); in ntfs_compressed_pwrite()
1913 inbuf = (char*)ntfs_malloc(na->compression_block_size); in ntfs_compressed_close()
H A Dindex.c365 dup = ntfs_malloc(le16_to_cpu(ie->length)); in ntfs_ie_dup()
382 dup = ntfs_malloc(size); in ntfs_ie_dup_novcn()
838 ib = ntfs_malloc(icx->block_size); in ntfs_index_lookup()
1479 ib = ntfs_malloc(icx->block_size); in ntfs_ib_insert()
1762 ib = ntfs_malloc(icx->block_size); in ntfs_index_rm_leaf()
1816 ib = ntfs_malloc(icx->block_size); in ntfs_index_rm_node()
2019 root = ntfs_malloc(sizeof(INDEX_ROOT)); in ntfs_index_root_get()
2051 ictx->ib = (INDEX_BLOCK*)ntfs_malloc(ictx->block_size); in ntfs_index_walk_down()
H A Dreparse.c602 fulltarget = (char*)ntfs_malloc(strlen(mnt_point) in ntfs_get_fulllink()
633 fulltarget = (char*)ntfs_malloc(strlen(mnt_point) in ntfs_get_fulllink()
710 fulltarget = (char*)ntfs_malloc( in ntfs_get_abslink()
739 fulltarget = (char*)ntfs_malloc( in ntfs_get_abslink()
885 target = (char*)ntfs_malloc(lth + 1); in ntfs_make_symlink()
H A Dmft.c184 bmirr = ntfs_malloc(cnt * vol->mft_record_size); in ntfs_mft_records_write()
361 m = ntfs_malloc(vol->mft_record_size); in ntfs_file_record_read()
590 buf = ntfs_malloc(PAGE_SIZE); in ntfs_mft_bitmap_find_free_rec()
1514 m = ntfs_malloc(vol->mft_record_size); in ntfs_mft_rec_alloc()
1582 extent_nis = ntfs_malloc(i); in ntfs_mft_rec_alloc()
1830 m = ntfs_malloc(vol->mft_record_size); in ntfs_mft_record_alloc()
1908 extent_nis = ntfs_malloc(i); in ntfs_mft_record_alloc()
H A Dbitmap.c140 buf = ntfs_malloc(bufsize); in ntfs_bitmap_set_bits_in_run()
H A Dlogfile.c405 trp = ntfs_malloc(le32_to_cpu(rp->system_page_size)); in ntfs_check_and_load_restart_page()
530 kaddr = ntfs_malloc(NTFS_BLOCK_SIZE); in ntfs_check_logfile()
H A Dlcnalloc.c266 rl = ntfs_malloc(0x1000); in ntfs_cluster_alloc()
275 buf = ntfs_malloc(NTFS_LCNALLOC_BSIZE); in ntfs_cluster_alloc()
H A Dsecurity.c191 _guid_str = (char*)ntfs_malloc(37); in ntfs_guid_to_mbs()
308 s = (char*)ntfs_malloc(cnt); in ntfs_sid_to_mbs()
446 stuff = (char*)ntfs_malloc(STUFFSZ); in entersecurity_stuff()
490 fullattr = (char*)ntfs_malloc(fullsz); in entersecurity_data()
891 oldattr = (char*)ntfs_malloc(size); in setsecurityattr()
1430 ntfs_malloc(sizeof(struct PERMISSIONS_CACHE) in create_caches()
1546 ntfs_malloc( in resize_cache()
1832 securattr = (char*)ntfs_malloc(size); in retrievesecurityattr()
3203 attr = (char*)ntfs_malloc(size); in ntfs_set_ntfs_acl()
3949 newattr = (char*)ntfs_malloc(newattrs in build_inherited_id()
[all...]
H A Drunlist.c820 rl = ntfs_malloc(rlsize); in ntfs_mapping_pairs_decompress_i()
1910 result = ntfs_malloc(4096); in test_rl_pure_src()
1948 dst = ntfs_malloc(4096); in test_rl_pure_test()
2135 ATTR_RECORD *attr1 = ntfs_malloc(1024); in test_rl_frag()
2136 ATTR_RECORD *attr2 = ntfs_malloc(1024); in test_rl_frag()
2137 ATTR_RECORD *attr3 = ntfs_malloc(1024); in test_rl_frag()
H A Dunix_io.c134 dev->d_private = ntfs_malloc(sizeof(int)); in ntfs_device_unix_io_open()
/third_party/ntfs-3g/ntfsprogs/
H A Dntfslabel.c289 bs = (NTFS_BOOT_SECTOR*)ntfs_malloc(vol->sector_size); in set_new_serial()
290 oldbs = (NTFS_BOOT_SECTOR*)ntfs_malloc(vol->sector_size); in set_new_serial()
326 bs = (NTFS_BOOT_SECTOR*)ntfs_malloc(vol->sector_size); in print_serial()
H A Dntfsck.c260 buf = (u8*)ntfs_malloc(size_of_file_record); in load_runlist()
380 mft_bitmap_buf = (u8*)ntfs_malloc(mft_bitmap_length); in mft_bitmap_load()
687 buffer = ntfs_malloc(vol->mft_record_size); in verify_mft_record()
H A Dntfscp.c401 prl = (runlist_element*)ntfs_malloc( in run_alloc()
770 alctx = (struct ALLOC_CONTEXT*)ntfs_malloc(sizeof(struct ALLOC_CONTEXT)); in preallocate()
772 alctx->buf = (unsigned char*)ntfs_malloc(vol->cluster_size); in preallocate()
H A Dntfsresize.c1558 attr_name = (ntfschar*)ntfs_malloc(name_len*sizeof(ntfschar)); in replace_later()
1563 delayed = (struct DELAYED*)ntfs_malloc(sizeof(struct DELAYED)); in replace_later()
1898 buff = (char*)ntfs_malloc(vol->cluster_size); in copy_clusters()
1900 perr_exit("ntfs_malloc"); in copy_clusters()
1955 rl_new = ntfs_malloc(new_size); in rl_split_run()
1957 perr_exit("ntfs_malloc"); in rl_split_run()
2257 resize->mrec = ntfs_malloc(resize->vol->mft_record_size); in relocate_inodes()
2259 perr_exit("ntfs_malloc failed"); in relocate_inodes()
2757 bs = (NTFS_BOOT_SECTOR*)ntfs_malloc(vol->sector_size); in update_bootsector()
2759 perr_exit("ntfs_malloc"); in update_bootsector()
[all...]
H A Dutils.c537 char *names[max_path + 1];// XXX ntfs_malloc? and make max bigger? in utils_inode_get_name()
581 temp = ntfs_malloc(30); in utils_inode_get_name()
1110 ctx->inode->mrec = ntfs_malloc(ctx->vol->mft_record_size); in mft_next_record()
H A Dmkntfs.c375 ntfs_malloc(sizeof(struct BITMAP_ALLOCATION)); in bitmap_allocate()
2036 fn = ntfs_malloc(fn_size); in add_attr_file_name()
2277 r = ntfs_malloc(val_len); in add_attr_index_root()
3171 fn = ntfs_malloc(fn_size); in create_hardlink_res()
3286 fn = ntfs_malloc(fn_size); in create_hardlink()
3910 g_rl_mft_bmp = ntfs_malloc(2 * sizeof(runlist)); in mkntfs_initialize_bitmaps()
3975 g_rl_mft = ntfs_malloc(2 * sizeof(runlist)); in mkntfs_initialize_rl_mft()
3995 g_rl_mftmirr = ntfs_malloc(2 * sizeof(runlist)); in mkntfs_initialize_rl_mft()
4030 g_rl_logfile = ntfs_malloc(2 * sizeof(runlist)); in mkntfs_initialize_rl_logfile()
4106 g_rl_boot = ntfs_malloc( in mkntfs_initialize_rl_boot()
[all...]
/third_party/ntfs-3g/include/ntfs-3g/
H A Dmisc.h27 void *ntfs_malloc(size_t size);
/third_party/ntfs-3g/src/
H A Dntfs-3g.probe.c107 opts.device = ntfs_malloc(PATH_MAX + 1); in parse_options()
H A Dntfs-3g_common.c616 popts->device = ntfs_malloc(PATH_MAX + 1); in ntfs_parse_options()
805 plugin = (plugin_list_t*)ntfs_malloc(sizeof(plugin_list_t));
H A Dlowntfs-3g.c869 (INTX_FILE*)ntfs_malloc(na->data_size); in ntfs_fuse_getstat()
1093 *pbuf = (char*)ntfs_malloc(ntfs_bad_reparse_lth + 1); in junction_readlink()
1193 intx_file = (INTX_FILE*)ntfs_malloc(na->data_size); in ntfs_fuse_readlink()
1339 newone = (ntfs_fuse_fill_item_t*)ntfs_malloc in ntfs_fuse_filler()
1413 ntfs_malloc(sizeof(ntfs_fuse_fill_context_t)); in ntfs_fuse_opendir()
1513 first = (ntfs_fuse_fill_item_t*)ntfs_malloc in ntfs_fuse_readdir()
1716 buf = (char*)ntfs_malloc(size); in ntfs_fuse_read()
2963 tmp = (char*)ntfs_malloc(len); in ntfs_fuse_rename_existing_dest()
3213 buf = ntfs_malloc(bufsz); in ntfs_fuse_ioctl()
3441 prefixed = (char*)ntfs_malloc(strle in fix_xattr_prefix()
[all...]

Completed in 42 milliseconds

12