Home
last modified time | relevance | path

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

/netbsd-src/sys/arch/i386/stand/bootxx/
H A Dboot1.c156 if (size != 0 && readsects(&d, bios_sector + dblk, in blkdevstrategy()
214 if (readsects(&d, sector, 1, buf, 1) != 0) in gpt_lookup()
231 if (readsects(&d, sector, 1, buf, 1) != 0) in gpt_lookup()
268 if (readsects(&d, sector, 1, buf, 1) != 0) in gpt_lookup()
/netbsd-src/sys/arch/landisk/stand/boot/
H A Dbiosdisk.c114 if (readsects(d->dev, sector + LABELSECTOR, d->buf, 1)) { in check_label()
164 if (readsects(d->dev, this_ext, d->buf, 1)) { in read_label()
368 if (blks && readsects(d->dev, dblk, buf, blks)) { in biosdisk_strategy()
377 if (readsects(d->dev, dblk + blks, d->buf, 1)) { in biosdisk_strategy()
H A Dbiosdisk_ll.h34 int readsects(int dev, uint32_t blkaddr, void *buf, size_t nblks);
H A Dbiosdisk_ll.c35 readsects(int dev, uint32_t blkaddr, void *buf, size_t nblks) in readsects() function
/netbsd-src/sys/arch/i386/stand/lib/
H A Dbiosdisk.c260 if (blks && readsects(&d->ll, dblk, blks, buf, 0)) { in biosdisk_strategy()
269 if (readsects(&d->ll, dblk + blks, 1, d->buf, 0)) { in biosdisk_strategy()
369 if (readsects(&d->ll, sector, 1, d->buf, 1)) { in check_gpt()
411 if (readsects(&d->ll, entblk, sectors, d->buf, 1)) in check_gpt()
553 if (readsects(&d->ll, sector + LABELSECTOR, 1, d->buf, 0)) { in check_label()
591 if (readsects(&d->ll, sector, 1, d->buf, 0)) { in read_minix_subp()
625 if (readsects(&d->ll, bno, 1, d->buf, 0)) in check_cd9660()
683 if (readsects(&d->ll, this_ext, 1, d->buf, 0)) { in read_label()
1185 if (readsects(&d->ll, offset, size, d->buf, 0)) in biosdisk_read_raidframe()
1658 if (readsects(&d->ll, offset, 1, d->buf, 1)) { in biosdisk_open_name()
H A Dbiosdisk_ll.h128 int readsects(struct biosdisk_ll *, daddr_t, int, char *, int);
H A Dbootinfo_biosgeom.c93 if (readsects(&d, 0, 1, buf, 0)) { in bi_getbiosgeom()
H A Dbiosdisk_ll.c239 readsects(struct biosdisk_ll *d, daddr_t dblk, int num, char *buf, int cold) in readsects() function
/netbsd-src/sys/arch/landisk/stand/bootxx/
H A Dboot1.c134 if (size != 0 && readsects(0x40, bios_sector + dblk, buf, in blkdevstrategy()
H A Dbootxx.S146 ENTRY(readsects)
/netbsd-src/sys/arch/i386/stand/efiboot/
H A Defidisk_ll.c143 readsects(struct biosdisk_ll *d, daddr_t dblk, int num, char *buf, int cold) in readsects() function