/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-linear.c | 167 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in linear_dax_direct_access() 182 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in linear_dax_copy_from_iter() 196 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in linear_dax_copy_to_iter() 211 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in linear_dax_zero_page_range()
|
H A D | dm-stripe.c | 307 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in stripe_dax_direct_access() 328 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in stripe_dax_copy_from_iter() 347 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in stripe_dax_copy_to_iter() 367 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in stripe_dax_zero_page_range()
|
H A D | dm-log-writes.c | 320 sector += bio_pages * PAGE_SECTORS; in write_inline_data() 952 sector_t sector = pgoff * PAGE_SECTORS; in log_writes_dax_direct_access() 966 sector_t sector = pgoff * PAGE_SECTORS; in log_writes_dax_copy_from_iter() 990 sector_t sector = pgoff * PAGE_SECTORS; in log_writes_dax_copy_to_iter() 1002 sector_t sector = pgoff * PAGE_SECTORS; in log_writes_dax_zero_page_range()
|
H A D | dm.c | 1117 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_direct_access() 1128 len = max_io_len(ti, sector) / PAGE_SECTORS; in dm_dax_direct_access() 1164 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_copy_from_iter() 1188 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_copy_to_iter() 1212 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_zero_page_range()
|
/kernel/linux/linux-6.6/fs/squashfs/ |
H A D | block.c | 119 bio_trim(bio, start_idx * PAGE_SECTORS, in squashfs_bio_read_cached() 120 (end_idx - start_idx) * PAGE_SECTORS); in squashfs_bio_read_cached() 134 bio_trim(bio, start_idx * PAGE_SECTORS, in squashfs_bio_read_cached() 135 (end_idx - start_idx) * PAGE_SECTORS); in squashfs_bio_read_cached()
|
/kernel/linux/linux-5.10/drivers/block/ |
H A D | brd.c | 29 #define PAGE_SECTORS (1 << PAGE_SECTORS_SHIFT) macro 172 unsigned int offset = (sector & (PAGE_SECTORS-1)) << SECTOR_SHIFT; in copy_to_brd_setup() 195 unsigned int offset = (sector & (PAGE_SECTORS-1)) << SECTOR_SHIFT; in copy_to_brd() 227 unsigned int offset = (sector & (PAGE_SECTORS-1)) << SECTOR_SHIFT; in copy_from_brd()
|
/kernel/linux/linux-6.6/drivers/block/ |
H A D | brd.c | 126 unsigned int offset = (sector & (PAGE_SECTORS-1)) << SECTOR_SHIFT; in copy_to_brd_setup() 149 unsigned int offset = (sector & (PAGE_SECTORS-1)) << SECTOR_SHIFT; in copy_to_brd() 181 unsigned int offset = (sector & (PAGE_SECTORS-1)) << SECTOR_SHIFT; in copy_from_brd()
|
/kernel/linux/linux-5.10/drivers/md/bcache/ |
H A D | movinggc.c | 83 DIV_ROUND_UP(KEY_SIZE(&io->w->key), PAGE_SECTORS)); in moving_init() 149 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS)), in read_moving()
|
H A D | bcache.h | 757 ((unsigned int) ((PAGE_SECTORS * (c)->btree_pages) >> (c)->block_bits)) 767 __rounddown_pow_of_two(USHRT_MAX) / PAGE_SECTORS, in meta_bucket_pages() 770 n = sb->bucket_size / PAGE_SECTORS; in meta_bucket_pages()
|
H A D | writeback.c | 289 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS)); in dirty_init() 494 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS)), in read_dirty()
|
H A D | journal.c | 54 len = min_t(unsigned int, left, PAGE_SECTORS << JSET_BITS); in journal_read_bucket() 876 PAGE_SECTORS << JSET_BITS))
|
H A D | super.c | 121 if (sb->block_size > PAGE_SECTORS) in read_super_common() 129 if (sb->bucket_size < PAGE_SECTORS) in read_super_common() 514 size = meta_bucket_pages(&ca->sb) * PAGE_SECTORS; in __uuid_write() 1942 iter_size = ((meta_bucket_pages(sb) * PAGE_SECTORS) / sb->block_size + 1) * in bch_cache_set_alloc()
|
H A D | util.h | 18 #define PAGE_SECTORS (PAGE_SIZE / 512) macro
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | blk_types.h | 37 #define PAGE_SECTORS (1 << PAGE_SECTORS_SHIFT) macro 38 #define SECTOR_MASK (PAGE_SECTORS - 1)
|
/kernel/linux/linux-6.6/drivers/md/bcache/ |
H A D | movinggc.c | 83 DIV_ROUND_UP(KEY_SIZE(&io->w->key), PAGE_SECTORS), 0); in moving_init() 149 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS)), in read_moving()
|
H A D | bcache.h | 763 ((unsigned int) ((PAGE_SECTORS * (c)->btree_pages) >> (c)->block_bits)) 773 __rounddown_pow_of_two(USHRT_MAX) / PAGE_SECTORS, in meta_bucket_pages() 776 n = sb->bucket_size / PAGE_SECTORS; in meta_bucket_pages()
|
H A D | writeback.c | 335 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS), 0); in dirty_init() 540 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS)), in read_dirty()
|
H A D | journal.c | 54 len = min_t(unsigned int, left, PAGE_SECTORS << JSET_BITS); in journal_read_bucket() 871 PAGE_SECTORS << JSET_BITS))
|
H A D | super.c | 121 if (sb->block_size > PAGE_SECTORS) in read_super_common() 129 if (sb->bucket_size < PAGE_SECTORS) in read_super_common() 512 size = meta_bucket_pages(&ca->sb) * PAGE_SECTORS; in __uuid_write() 1916 iter_size = ((meta_bucket_pages(sb) * PAGE_SECTORS) / sb->block_size + 1) * in bch_cache_set_alloc()
|
H A D | request.c | 895 size_limit = min_t(unsigned int, BIO_MAX_VECS * PAGE_SECTORS, in cached_dev_cache_miss() 916 DIV_ROUND_UP(s->insert_bio_sectors, PAGE_SECTORS), in cached_dev_cache_miss()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | device-mapper.h | 145 #define PAGE_SECTORS (PAGE_SIZE / 512) macro
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-stripe.c | 308 stripe_map_sector(sc, *pgoff * PAGE_SECTORS, &stripe, &dev_sector); in stripe_dax_pgoff()
|
H A D | dm.c | 1224 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_direct_access() 1235 len = max_io_len(ti, sector) / PAGE_SECTORS; in dm_dax_direct_access() 1251 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_zero_page_range() 1278 sector_t sector = pgoff * PAGE_SECTORS; in dm_dax_recovery_write()
|
H A D | dm-log-writes.c | 308 sector += bio_pages * PAGE_SECTORS; in write_inline_data()
|
/kernel/linux/linux-5.10/drivers/block/null_blk/ |
H A D | main.c | 15 #define PAGE_SECTORS (1 << PAGE_SECTORS_SHIFT) macro 16 #define SECTOR_MASK (PAGE_SECTORS - 1) 927 for (i = 0; i < PAGE_SECTORS; in null_flush_cache_page()
|