Searched refs:rlsize (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | lcnalloc.c | 146 int err = 0, rlpos, rlsize, buf_size; in ntfs_cluster_alloc() local 240 rlpos = rlsize = 0; in ntfs_cluster_alloc() 247 "bmp_pos 0x%llx, rlpos %i, rlsize %i.", in ntfs_cluster_alloc() 252 (unsigned long long)bmp_pos, rlpos, rlsize); in ntfs_cluster_alloc() 320 if ((rlpos + 2) * sizeof(*rl) > rlsize) { in ntfs_cluster_alloc() 329 rl2 = ntfs_malloc_nofs(rlsize + (int)PAGE_SIZE); in ntfs_cluster_alloc() 336 memcpy(rl2, rl, rlsize); in ntfs_cluster_alloc() 339 rlsize += PAGE_SIZE; in ntfs_cluster_alloc() 340 ntfs_debug("Reallocated memory, rlsize 0x%x.", in ntfs_cluster_alloc() 341 rlsize); in ntfs_cluster_alloc() [all...] |
H A D | runlist.c | 744 int rlsize; /* Size of runlist buffer. */ in ntfs_mapping_pairs_decompress() local 774 rl = ntfs_malloc_nofs(rlsize = PAGE_SIZE); in ntfs_mapping_pairs_decompress() 790 if (((rlpos + 3) * sizeof(*old_rl)) > rlsize) { in ntfs_mapping_pairs_decompress() 793 rl2 = ntfs_malloc_nofs(rlsize + (int)PAGE_SIZE); in ntfs_mapping_pairs_decompress() 798 memcpy(rl2, rl, rlsize); in ntfs_mapping_pairs_decompress() 801 rlsize += PAGE_SIZE; in ntfs_mapping_pairs_decompress()
|
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | lcnalloc.c | 146 int err = 0, rlpos, rlsize, buf_size; in ntfs_cluster_alloc() local 240 rlpos = rlsize = 0; in ntfs_cluster_alloc() 247 "bmp_pos 0x%llx, rlpos %i, rlsize %i.", in ntfs_cluster_alloc() 252 (unsigned long long)bmp_pos, rlpos, rlsize); in ntfs_cluster_alloc() 320 if ((rlpos + 2) * sizeof(*rl) > rlsize) { in ntfs_cluster_alloc() 329 rl2 = ntfs_malloc_nofs(rlsize + (int)PAGE_SIZE); in ntfs_cluster_alloc() 336 memcpy(rl2, rl, rlsize); in ntfs_cluster_alloc() 339 rlsize += PAGE_SIZE; in ntfs_cluster_alloc() 340 ntfs_debug("Reallocated memory, rlsize 0x%x.", in ntfs_cluster_alloc() 341 rlsize); in ntfs_cluster_alloc() [all...] |
H A D | runlist.c | 744 int rlsize; /* Size of runlist buffer. */ in ntfs_mapping_pairs_decompress() local 774 rl = ntfs_malloc_nofs(rlsize = PAGE_SIZE); in ntfs_mapping_pairs_decompress() 790 if (((rlpos + 3) * sizeof(*old_rl)) > rlsize) { in ntfs_mapping_pairs_decompress() 793 rl2 = ntfs_malloc_nofs(rlsize + (int)PAGE_SIZE); in ntfs_mapping_pairs_decompress() 798 memcpy(rl2, rl, rlsize); in ntfs_mapping_pairs_decompress() 801 rlsize += PAGE_SIZE; in ntfs_mapping_pairs_decompress()
|
Completed in 6 milliseconds