Lines Matching refs:sectorsize
86 __le32 sectorsize; member
107 u32 sectorsize; member
240 lc->sectorsize - entrylen - datalen); in write_metadata()
243 ret = bio_add_page(bio, page, lc->sectorsize, 0); in write_metadata()
244 if (ret != lc->sectorsize) { in write_metadata()
282 pg_sectorlen = ALIGN(pg_datalen, lc->sectorsize); in write_inline_data()
408 super.sectorsize = cpu_to_le32(lc->sectorsize); in log_super()
550 lc->sectorsize = bdev_logical_block_size(lc->dev->bdev); in log_writes_ctr()
551 lc->sectorshift = ilog2(lc->sectorsize); in log_writes_ctr()
566 lc->next_sector = lc->sectorsize >> SECTOR_SHIFT; in log_writes_ctr()
587 size_t maxsize = lc->sectorsize - sizeof(struct log_write_entry); in log_mark()
873 limits->discard_granularity = lc->sectorsize; in log_writes_io_hints()