Home
last modified time | relevance | path

Searched refs:aligned_sector (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/block/
Dbrd.c227 sector_t aligned_sector = (sector + PAGE_SECTORS) & ~PAGE_SECTORS; in brd_do_discard() local
230 size -= (aligned_sector - sector) * SECTOR_SIZE; in brd_do_discard()
232 while (size >= PAGE_SIZE && aligned_sector < rd_size * 2) { in brd_do_discard()
233 page = __xa_erase(&brd->brd_pages, aligned_sector >> PAGE_SECTORS_SHIFT); in brd_do_discard()
236 aligned_sector += PAGE_SECTORS; in brd_do_discard()