Lines Matching refs:s64
155 s64 bytes;
160 s64 size;
176 s64 lcn; /* last used LCN for a "special" file/attr type */
177 s64 inode; /* inode using it */
197 s64 inuse; /* num of clusters in use */
208 s64 new_volume_size; /* in clusters; 0 = --info w/o --size */
213 s64 inuse; /* num of clusters in use */
215 s64 mftmir_old; /* $MFTMirr AT_DATA's old LCN */
218 s64 badclusters; /* num of physically dead clusters */
231 s64 last_unsupp; /* last unsupported cluster */
237 static s64 max_free_cluster_range = 0;
250 static s64 rounded_up_division(s64 numer, s64 denom)
420 static s64 get_new_volume_size(char *s)
422 s64 size;
617 static void print_advise(ntfs_volume *vol, s64 supp_lcn)
619 s64 old_b, new_b, freed_b, old_mb, new_mb, freed_mb;
663 static void rl_set(runlist *rl, VCN vcn, LCN lcn, s64 len)
699 static s64 nr_clusters_to_bitmap_byte_size(s64 nr_clusters)
701 s64 bm_bsize;
711 s64 inode, last_lcn;
778 s64 lcn, lcn_length, start, len, inode;
779 s64 new_vol_size; /* (last LCN on the volume) + 1 */
829 s64 inode;
851 s64 lcn = rl[i].lcn;
852 s64 lcn_length = rl[i].length;
935 s64 i, pos, count;
958 s64 cl; /* current cluster */
1059 s64 nr_mft_records, inode = 0;
1107 s64 i;
1145 s64 nr_mft_records, inode;
1180 s64 unmapped_len = tmp->length;
1696 static void set_bitmap_range(struct bitmap *bm, s64 pos, s64 length, u8 bit)
1714 static void set_max_free_zone(s64 length, s64 end, runlist_element *rle)
1724 s64 nr_vol_clusters,
1728 static s64 pos = 0;
1729 s64 i, items = rle->length;
1730 s64 free_zone = 0;
1780 s64 items,
1781 s64 nr_vol_clusters,
1787 s64 vcn = 0;
1882 static void lseek_to_cluster(ntfs_volume *vol, s64 lcn)
1892 static void copy_clusters(ntfs_resize_t *resize, s64 dest, s64 src, s64 len)
1894 s64 i;
1928 static void relocate_clusters(ntfs_resize_t *r, runlist *dest_rl, s64 src_lcn)
1944 static void rl_split_run(runlist **rl, int run, s64 pos)
1948 s64 len_head, len_tail;
1983 s64 vcn;
2010 s64 lcn, lcn_length;
2011 s64 new_vol_size; /* (last LCN on the volume) + 1 */
2080 s64 lcn = rl[i].lcn;
2081 s64 lcn_length = rl[i].length;
2226 s64 pos;
2247 s64 nr_mft_records;
2250 s64 length;
2338 s64 runs_b, runs_mb;
2380 static void bitmap_file_data_fixup(s64 cluster, struct bitmap *bm)
2430 s64 nr_clusters = resize->new_volume_size;
2467 s64 nr_bm_clusters)
2469 s64 i;
2472 s64 new_size = resize->new_volume_size;
2488 static void realloc_lcn_bitmap(ntfs_resize_t *resize, s64 bm_bsize)
2508 s64 bm_bsize, size;
2509 s64 nr_bm_clusters;
2616 s64 i, badclusters = 0;
2696 s64 pos;
2731 static int setup_lcn_bitmap(struct bitmap *bm, s64 nr_clusters)
2753 s64 bs_size = vol->sector_size;
2833 static s64 vol_size(ntfs_volume *v, s64 nr_clusters)
2844 static void print_vol_size(const char *str, s64 bytes)
2855 static void print_disk_usage(ntfs_volume *vol, s64 nr_used_clusters)
2857 s64 total, used;
2872 s64 relocations = resize->relocations * resize->vol->cluster_size;
3008 s64 last = resize->inuse - 1;
3016 s64 new_size = resize->new_volume_size;
3103 s64 byte_increment;
3104 s64 sector_increment;
3105 s64 cluster_increment;
3156 s64 inum)
3161 s64 pos;
3193 s64 inum, ntfschar *name, int namelen)
3198 s64 pos;
3224 static s64 get_data_size(expand_t *expand, s64 inum)
3227 s64 size;
3302 s64 i, badclusters = 0;
3447 s64 old_sector_count;
3448 s64 sectors_needed;
3449 s64 clusters;
3450 s64 minimum_size;
3451 s64 got;
3452 s64 advice;
3453 s64 bitmap_bits;
3584 s64 lcn;
3585 s64 lcn_end;
3636 s64 bw;
3669 s64 bw;
3688 if (bw == (s64)expand->bitmap_allocated)
3714 s64 pos;
3715 s64 inum;
3769 s64 mftmirr_lcn;
3770 s64 written;
3901 static int update_runlist(expand_t *expand, s64 inum,
4026 static int rebase_runlists(expand_t *expand, s64 inum)
4074 static runlist_element *rebase_runlists_meta(expand_t *expand, s64 inum)
4083 s64 data_size;
4084 s64 allocated_size;
4085 s64 lcn;
4208 s64 inum, s64 jnum)
4213 s64 pos;
4280 s64 inum;
4281 s64 jnum;
4282 s64 inodecnt;
4283 s64 pos;
4284 s64 got;
4352 s64 br;
4493 s64 new_sectors;
4539 s64 new_size = 0; /* in clusters; 0 = --info w/o --size */
4540 s64 device_size; /* in bytes */