Searched refs:rlsize (Results 1 – 3 of 3) sorted by relevance
249 int err = 0, rlpos, rlsize, buf_size; in ntfs_cluster_alloc() local314 rlpos = rlsize = 0; in ntfs_cluster_alloc()357 if ((rlpos + 2) * (int)sizeof(runlist) >= rlsize) { in ntfs_cluster_alloc()358 rlsize += 4096; in ntfs_cluster_alloc()359 trl = realloc(rl, rlsize); in ntfs_cluster_alloc()
792 int err, rlsize; /* Size of runlist buffer. */ in ntfs_mapping_pairs_decompress_i() local819 rlsize = 0x1000; in ntfs_mapping_pairs_decompress_i()820 rl = ntfs_malloc(rlsize); in ntfs_mapping_pairs_decompress_i()835 if ((int)((rlpos + 3) * sizeof(*old_rl)) > rlsize) { in ntfs_mapping_pairs_decompress_i()838 rlsize += 0x1000; in ntfs_mapping_pairs_decompress_i()839 rl2 = realloc(rl, rlsize); in ntfs_mapping_pairs_decompress_i()
1076 int rlsize = 0; in allocate_scattered_clusters() local1092 if ((rlpos + 2) * (int)sizeof(runlist) >= rlsize) { in allocate_scattered_clusters()1093 rlsize += 4096; /* PAGE_SIZE */ in allocate_scattered_clusters()1094 rlt = realloc(rl, rlsize); in allocate_scattered_clusters()