Home
last modified time | relevance | path

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

/Linux-v5.4/init/
Ddo_mounts_rd.c180 unsigned long rd_blocks, devblocks; in rd_load_image() local
211 if (ksys_ioctl(out_fd, BLKGETSIZE, (unsigned long)&rd_blocks) < 0) in rd_load_image()
212 rd_blocks = 0; in rd_load_image()
214 rd_blocks >>= 1; in rd_load_image()
216 if (nblocks > rd_blocks) { in rd_load_image()
218 nblocks, rd_blocks); in rd_load_image()
/Linux-v5.4/drivers/media/i2c/
Dsaa6588.c175 unsigned int rd_blocks; in read_from_buf() local
191 rd_blocks = a->block_count; in read_from_buf()
193 if (rd_blocks > s->block_count) in read_from_buf()
194 rd_blocks = s->block_count; in read_from_buf()
197 if (!rd_blocks) in read_from_buf()
200 for (i = 0; i < rd_blocks; i++) { in read_from_buf()