Searched refs:p_blk (Results 1 – 1 of 1) sorted by relevance
/dflybsd-src/stand/boot/common/ |
H A D | bcache.c | 163 daddr_t p_blk, i, j, nblk; in read_strategy() local 181 p_blk = -1; in read_strategy() 187 if (p_blk == -1) { in read_strategy() 188 p_blk = blk + i; in read_strategy() 194 } else if (p_blk != -1) { in read_strategy() 196 result = dd->dv_strategy(dd->dv_devdata, rw, p_blk, p_size * bcache_blksize, p_buf, NULL); in read_strategy() 200 bcache_insert(p_buf + (j * bcache_blksize), p_blk + j); in read_strategy() 201 p_blk = -1; in read_strategy() 204 if (p_blk != -1) { in read_strategy() 206 result = dd->dv_strategy(dd->dv_devdata, rw, p_blk, p_size * bcache_blksize, p_buf, NULL); in read_strategy() [all …]
|