Home
last modified time | relevance | path

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

/Linux-v5.4/init/
Ddo_mounts_rd.c180 unsigned long rd_blocks, devblocks; in rd_load_image() local
225 if (ksys_ioctl(in_fd, BLKGETSIZE, (unsigned long)&devblocks) < 0) in rd_load_image()
226 devblocks = 0; in rd_load_image()
228 devblocks >>= 1; in rd_load_image()
231 devblocks = nblocks; in rd_load_image()
233 if (devblocks == 0) { in rd_load_image()
245 nblocks, ((nblocks-1)/devblocks)+1, nblocks>devblocks ? "s" : ""); in rd_load_image()
247 if (i && (i % devblocks == 0)) { in rd_load_image()