Home
last modified time | relevance | path

Searched refs:ntfs_runlist (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/fs/ntfs/
Dsuper.h24 ntfs_cluster_t *count, ntfs_runlist **rl, int *rl_len,
30 int ntfs_deallocate_clusters(const ntfs_volume *vol, const ntfs_runlist *rl,
Dstruct.h24 } ntfs_runlist; typedef
38 ntfs_runlist *runlist;
Dattr.c218 if ((attr->d.r.len * sizeof(ntfs_runlist)) % PAGE_SIZE == 0) { in ntfs_insert_run()
219 ntfs_runlist* new; in ntfs_insert_run()
225 new_size = attr->d.r.len * sizeof(ntfs_runlist) + PAGE_SIZE; in ntfs_insert_run()
241 * sizeof(ntfs_runlist)); in ntfs_insert_run()
249 (attr->d.r.len - cnum) * sizeof(ntfs_runlist)); in ntfs_insert_run()
273 ntfs_runlist *rl, *rl2; in ntfs_extend_attr()
377 ntfs_runlist *rl, *rlt; in ntfs_resize_attr()
454 rl_size = ((i + 1) * sizeof(ntfs_runlist) + PAGE_SIZE - 1) & in ntfs_resize_attr()
456 if (rl_size < ((attr->d.r.len * sizeof(ntfs_runlist) + in ntfs_resize_attr()
460 ntfs_memcpy(rlt, rl, i * sizeof(ntfs_runlist)); in ntfs_resize_attr()
[all …]
Dinode.h43 int splice_runlists(ntfs_runlist **rl1, int *r1len, const ntfs_runlist *rl2,
Dinode.c652 static void dump_runlist(const ntfs_runlist *rl, const int rlen);
897 ntfs_runlist *rl = attr->d.r.runlist; in layout_runs()
1329 static void dump_runlist(const ntfs_runlist *rl, const int rlen) in dump_runlist()
1369 int splice_runlists(ntfs_runlist **rl1, int *r1len, const ntfs_runlist *rl2, in splice_runlists()
1372 ntfs_runlist *rl; in splice_runlists()
1385 rl_size = (rlen * sizeof(ntfs_runlist) + PAGE_SIZE - 1) & in splice_runlists()
1390 if (rl_size <= ((*r1len * sizeof(ntfs_runlist) + PAGE_SIZE - 1) & in splice_runlists()
1400 rl = ntfs_vmalloc(rlen << sizeof(ntfs_runlist)); in splice_runlists()
1404 ntfs_memcpy(rl, *rl1, *r1len * sizeof(ntfs_runlist)); in splice_runlists()
1427 ntfs_memcpy(rl + rl_size, rl2 + rl2_pos, r2len * sizeof(ntfs_runlist)); in splice_runlists()
[all …]
Dsuper.c628 ntfs_cluster_t *count, ntfs_runlist **rl, int *rl_len, in ntfs_allocate_clusters()
631 ntfs_runlist *rl2 = NULL, *rlt; in ntfs_allocate_clusters()
799 if ((rlpos + 2) * sizeof(ntfs_runlist) >= rlsize) { in ntfs_allocate_clusters()
1405 int ntfs_deallocate_clusters(const ntfs_volume *vol, const ntfs_runlist *rl, in ntfs_deallocate_clusters()