Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/ntfs/
Dsupport.c43 #ifndef ntfs_malloc
45 void *ntfs_malloc(int size) in ntfs_malloc() function
66 #ifndef ntfs_malloc
67 void *ntfs_malloc(int size) in ntfs_malloc() function
232 result = ntfs_malloc(in_len + 1); in ntfs_dupuni2map()
243 buf = ntfs_malloc(*out_len + chl); in ntfs_dupuni2map()
283 *out = result = ntfs_malloc(2 * in_len); in ntfs_dupmap2uni()
Ddir.c143 bmap = ntfs_malloc(size); in ntfs_allocate_index_block()
200 char *record = ntfs_malloc(s1); in ntfs_allocate_index_block()
313 newbuf = ntfs_malloc(vol->index_record_size); in ntfs_split_record()
348 middle = ntfs_malloc(ntfs_entry_has_subnodes(prev) ? mlen : mlen + 8); in ntfs_split_record()
398 char* s1 = ntfs_malloc(blocksize + walk->new_entry_size); in ntfs_dir_insert()
436 root = ntfs_malloc(bsize); in ntfs_split_indexroot()
454 index = ntfs_malloc(ino->vol->index_record_size); in ntfs_split_indexroot()
544 char *record = (char*)ntfs_malloc(length); in ntfs_getdir_record()
749 char *root = ntfs_malloc(length); in ntfs_getdir()
819 buf = ntfs_malloc(io.size = vol->mft_record_size); in ntfs_getdir_unsorted()
[all …]
Dutil.c105 *out = result = ntfs_malloc(len8 + 1); /* allow for zero-termination */ in ntfs_dupuni2utf8()
133 *out = result = ntfs_malloc(2 * (len16 + 1)); in ntfs_duputf82uni()
179 void *result = ntfs_malloc(size); in ntfs_calloc()
Dattr.c179 new = (ntfs_attribute*)ntfs_malloc((ino->attr_count + 8) * in ntfs_new_attr()
394 attr->d.data = ntfs_malloc(newsize); in ntfs_resize_attr()
499 name = ntfs_malloc(2 * namelen); in ntfs_create_attr()
537 attr->d.data = ntfs_malloc(dsize); in ntfs_create_attr()
644 name = ntfs_malloc(2 * namelen); in ntfs_insert_attribute()
683 attr->d.data = (void*)ntfs_malloc(attr->size); in ntfs_insert_attribute()
783 comp = ntfs_malloc(16 << clustersizebits); in ntfs_read_compressed()
825 decomp = ntfs_malloc(16 << in ntfs_read_compressed()
Dsupport.h31 #define ntfs_malloc(size) kmalloc(size, GFP_KERNEL) macro
Dinode.c116 new = ntfs_malloc((ino->record_count + 8) * in ntfs_insert_mft_attributes()
177 new = ntfs_malloc((ino->record_count + 8) * in ntfs_insert_mft_attribute()
217 mft = ntfs_malloc(ino->vol->mft_record_size); in parse_attributes()
303 mft2 = ntfs_malloc(ino->vol->mft_record_size); in parse_attributes()
404 buf = ntfs_malloc(1024); in ntfs_load_attributes()
448 ino->attr = buf = ntfs_malloc(vol->mft_record_size); in ntfs_init_inode()
847 ntfs_mft_record *n = ntfs_malloc((count + 4) * in allocate_store()
860 store->records[i].record = ntfs_malloc(vol->mft_record_size); in allocate_store()
2164 data = ntfs_malloc(size); in add_filename()
2218 buf = ntfs_malloc(size); in add_security()
Dfs.c538 item = ntfs_malloc(ITEM_SIZE); in ntfs_lookup()
827 ino = (ntfs_inode*)ntfs_malloc(sizeof(ntfs_inode)); in _ntfs_clear_inode()
836 ino = (ntfs_inode*)ntfs_malloc(sizeof(ntfs_inode)); in _ntfs_clear_inode()
845 ino = (ntfs_inode*)ntfs_malloc(sizeof(ntfs_inode)); in _ntfs_clear_inode()
1068 if (!(vol->mft = ntfs_malloc(i))) in ntfs_read_super()
Dsuper.c235 upcase->vol->upcase = ntfs_malloc(UPCASE_LENGTH << 1); in ntfs_init_upcase()
316 buf = ntfs_malloc(4050); /* 90*45 */ in ntfs_init_attrdef()
467 cluster0 = ntfs_malloc(vol->cluster_size); in ntfs_get_volumesize()
488 unsigned char *bits = ntfs_malloc(2048); in ntfs_get_free_cluster_count()
1336 buf = ntfs_malloc(buf_size); in ntfs_clear_bitrange()