Home
last modified time | relevance | path

Searched refs:total_sectors (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/block/partitions/
H A Defi.c159 * @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 Defi.c157 * @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 Ddm-snap-transient.c64 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 Ddm-exception-store.h107 sector_t *total_sectors, sector_t *sectors_allocated,
H A Ddm-snap-persistent.c569 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 Ddm-snap.c2355 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 Ddm-snap-transient.c67 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 Ddm-exception-store.h108 sector_t *total_sectors, sector_t *sectors_allocated,
H A Ddm-snap-persistent.c574 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 Ddm-snap.c2333 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 Dinode.c1611 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 Dinode.c1607 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()

Completed in 18 milliseconds