/kernel/linux/linux-5.10/block/partitions/ |
H A D | efi.c | 159 * @total_sectors: amount of sectors in the device 174 static int is_pmbr_valid(legacy_mbr *mbr, sector_t total_sectors) in is_pmbr_valid() argument 218 if (sz != (uint32_t) total_sectors - 1 && sz != 0xFFFFFFFF) in is_pmbr_valid() 221 total_sectors - 1, 0xFFFFFFFF)); in is_pmbr_valid() 590 sector_t total_sectors = i_size_read(state->bdev->bd_inode) >> 9; in find_valid_gpt() local 604 good_pmbr = is_pmbr_valid(legacymbr, total_sectors); in find_valid_gpt()
|
/kernel/linux/linux-6.6/block/partitions/ |
H A D | efi.c | 157 * @total_sectors: amount of sectors in the device 172 static int is_pmbr_valid(legacy_mbr *mbr, sector_t total_sectors) in is_pmbr_valid() argument 216 if (sz != (uint32_t) total_sectors - 1 && sz != 0xFFFFFFFF) in is_pmbr_valid() 219 total_sectors - 1, 0xFFFFFFFF)); in is_pmbr_valid() 590 sector_t total_sectors = get_capacity(state->disk); in find_valid_gpt() local 604 good_pmbr = is_pmbr_valid(legacymbr, total_sectors); in find_valid_gpt()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-snap-transient.c | 64 sector_t *total_sectors, in transient_usage() 69 *total_sectors = get_dev_size(dm_snap_cow(store->snap)->bdev); in transient_usage() 63 transient_usage(struct dm_exception_store *store, sector_t *total_sectors, sector_t *sectors_allocated, sector_t *metadata_sectors) transient_usage() argument
|
H A D | dm-exception-store.h | 107 sector_t *total_sectors, sector_t *sectors_allocated,
|
H A D | dm-snap-persistent.c | 569 sector_t *total_sectors, in persistent_usage() 576 *total_sectors = get_dev_size(dm_snap_cow(store->snap)->bdev); in persistent_usage() 568 persistent_usage(struct dm_exception_store *store, sector_t *total_sectors, sector_t *sectors_allocated, sector_t *metadata_sectors) persistent_usage() argument
|
H A D | dm-snap.c | 2355 sector_t total_sectors, sectors_allocated, in snapshot_status() local 2358 &total_sectors, in snapshot_status() 2363 (unsigned long long)total_sectors, in snapshot_status()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-snap-transient.c | 67 sector_t *total_sectors, in transient_usage() 72 *total_sectors = get_dev_size(dm_snap_cow(store->snap)->bdev); in transient_usage() 66 transient_usage(struct dm_exception_store *store, sector_t *total_sectors, sector_t *sectors_allocated, sector_t *metadata_sectors) transient_usage() argument
|
H A D | dm-exception-store.h | 108 sector_t *total_sectors, sector_t *sectors_allocated,
|
H A D | dm-snap-persistent.c | 574 sector_t *total_sectors, in persistent_usage() 581 *total_sectors = get_dev_size(dm_snap_cow(store->snap)->bdev); in persistent_usage() 573 persistent_usage(struct dm_exception_store *store, sector_t *total_sectors, sector_t *sectors_allocated, sector_t *metadata_sectors) persistent_usage() argument
|
H A D | dm-snap.c | 2333 sector_t total_sectors, sectors_allocated, in snapshot_status() local 2336 &total_sectors, in snapshot_status() 2341 (unsigned long long)total_sectors, in snapshot_status()
|
/kernel/linux/linux-5.10/fs/fat/ |
H A D | inode.c | 1611 u32 total_sectors, total_clusters, fat_clusters, rootdir_sectors; in fat_fill_super() local 1775 total_sectors = bpb.fat_sectors; in fat_fill_super() 1776 if (total_sectors == 0) in fat_fill_super() 1777 total_sectors = bpb.fat_total_sect; in fat_fill_super() 1779 total_clusters = (total_sectors - sbi->data_start) / sbi->sec_per_clus; in fat_fill_super()
|
/kernel/linux/linux-6.6/fs/fat/ |
H A D | inode.c | 1607 u32 total_sectors, total_clusters, fat_clusters, rootdir_sectors; in fat_fill_super() local 1771 total_sectors = bpb.fat_sectors; in fat_fill_super() 1772 if (total_sectors == 0) in fat_fill_super() 1773 total_sectors = bpb.fat_total_sect; in fat_fill_super() 1775 total_clusters = (total_sectors - sbi->data_start) / sbi->sec_per_clus; in fat_fill_super()
|