/openbsd-current/sys/arch/i386/stand/libsa/ |
H A D | biosdev.c | 189 CHS_rw(int rw, int dev, int cyl, int head, int sect, int nsect, void *buf) argument 206 : "0" (nsect), "d" (dev), "c" (cyl), 247 biosd_io(int rw, bios_diskinfo_t *bd, u_int off, int nsect, void *buf) argument 252 int bbsize = nsect * DEV_BSIZE; 264 nsect /= (ISO_DEFAULT_BLOCK_SIZE / DEV_BSIZE); 287 error = EDD_rw(rw, dev, off, nsect, bb); 294 for (error = i = 0; error == 0 && i < nsect; 300 if ((sect + (nsect - i)) >= bd->bios_sectors) 303 n = nsect - i; 347 biosd_diskio(int rw, struct diskinfo *dip, u_int off, int nsect, voi argument 738 size_t nsect; local [all...] |
H A D | softraid_i386.c | 313 size_t i, j, nsect; local 360 nsect = (size + DEV_BSIZE - 1) / DEV_BSIZE; 361 for (i = 0; i < nsect; i++) { 375 *rsize = nsect * DEV_BSIZE;
|
/openbsd-current/sys/arch/amd64/stand/libsa/ |
H A D | biosdev.c | 188 CHS_rw(int rw, int dev, int cyl, int head, int sect, int nsect, void *buf) argument 205 : "0" (nsect), "d" (dev), "c" (cyl), 246 biosd_io(int rw, bios_diskinfo_t *bd, u_int off, int nsect, void *buf) argument 251 int bbsize = nsect * DEV_BSIZE; 263 nsect /= (ISO_DEFAULT_BLOCK_SIZE / DEV_BSIZE); 286 error = EDD_rw(rw, dev, off, nsect, bb); 293 for (error = i = 0; error == 0 && i < nsect; 299 if ((sect + (nsect - i)) >= bd->bios_sectors) 302 n = nsect - i; 346 biosd_diskio(int rw, struct diskinfo *dip, u_int off, int nsect, voi argument 739 size_t nsect; local [all...] |
H A D | softraid_amd64.c | 319 size_t i, j, nsect; local 367 nsect = (size + DEV_BSIZE - 1) / DEV_BSIZE; 368 for (i = 0; i < nsect; i++) { 382 *rsize = nsect * DEV_BSIZE;
|
/openbsd-current/sys/arch/armv7/stand/efiboot/ |
H A D | efidev.c | 75 efid_io(int rw, efi_diskinfo_t ed, u_int off, int nsect, void *buf) argument 90 end = (off + nsect + blks - 1) / blks; 106 DEV_BSIZE * nsect); 111 if (off % blks != 0 || nsect % blks != 0) { 118 DEV_BSIZE * nsect); 133 efid_diskio(int rw, struct diskinfo *dip, u_int off, int nsect, void *buf) argument 137 status = efid_io(rw, &dip->ed, off, nsect, buf); 529 size_t nsect; local 531 nsect = (size + DEV_BSIZE - 1) / DEV_BSIZE; 538 error = efid_diskio(rw, dip, blk, nsect, bu [all...] |
/openbsd-current/sys/arch/riscv64/stand/efiboot/ |
H A D | efidev.c | 75 efid_io(int rw, efi_diskinfo_t ed, u_int off, int nsect, void *buf) argument 90 end = (off + nsect + blks - 1) / blks; 106 DEV_BSIZE * nsect); 111 if (off % blks != 0 || nsect % blks != 0) { 118 DEV_BSIZE * nsect); 133 efid_diskio(int rw, struct diskinfo *dip, u_int off, int nsect, void *buf) argument 137 status = efid_io(rw, &dip->ed, off, nsect, buf); 529 size_t nsect; local 531 nsect = (size + DEV_BSIZE - 1) / DEV_BSIZE; 538 error = efid_diskio(rw, dip, blk, nsect, bu [all...] |
H A D | softraid_riscv64.c | 313 size_t i, j, nsect; local 359 nsect = (size + DEV_BSIZE - 1) / DEV_BSIZE; 360 for (i = 0; i < nsect; i++) { 374 *rsize = nsect * DEV_BSIZE; 649 srdiskio(int rw, struct diskinfo *dip, u_int off, int nsect, void *buf) argument 651 return dip->diskio(rw, dip, off, nsect, buf);
|
/openbsd-current/sys/arch/amd64/stand/efiboot/ |
H A D | efidev.c | 85 efid_io(int rw, efi_diskinfo_t ed, u_int off, int nsect, void *buf) argument 100 end = (off + nsect + blks - 1) / blks; 116 DEV_BSIZE * nsect); 121 if (off % blks != 0 || nsect % blks != 0) { 128 DEV_BSIZE * nsect); 143 efid_diskio(int rw, struct diskinfo *dip, u_int off, int nsect, void *buf) argument 147 status = efid_io(rw, dip->efi_info, off, nsect, buf); 691 size_t nsect; local 698 nsect = (size + DEV_BSIZE - 1) / DEV_BSIZE; 705 error = dip->diskio(rw, dip, blk, nsect, bu [all...] |
/openbsd-current/sys/arch/arm64/stand/efiboot/ |
H A D | efidev.c | 75 efid_io(int rw, efi_diskinfo_t ed, u_int off, int nsect, void *buf) argument 90 end = (off + nsect + blks - 1) / blks; 106 DEV_BSIZE * nsect); 111 if (off % blks != 0 || nsect % blks != 0) { 118 DEV_BSIZE * nsect); 133 efid_diskio(int rw, struct diskinfo *dip, u_int off, int nsect, void *buf) argument 137 status = efid_io(rw, &dip->ed, off, nsect, buf); 529 size_t nsect; local 531 nsect = (size + DEV_BSIZE - 1) / DEV_BSIZE; 538 error = efid_diskio(rw, dip, blk, nsect, bu [all...] |
H A D | softraid_arm64.c | 313 size_t i, j, nsect; local 359 nsect = (size + DEV_BSIZE - 1) / DEV_BSIZE; 360 for (i = 0; i < nsect; i++) { 374 *rsize = nsect * DEV_BSIZE; 649 srdiskio(int rw, struct diskinfo *dip, u_int off, int nsect, void *buf) argument 651 return dip->diskio(rw, dip, off, nsect, buf);
|
/openbsd-current/sys/arch/sparc64/stand/ofwboot/ |
H A D | softraid_sparc64.c | 337 size_t i, j, nsect; local 377 nsect = (size + DEV_BSIZE - 1) / DEV_BSIZE; 378 for (i = 0; i < nsect; i++) { 396 *rsize = nsect * DEV_BSIZE;
|
/openbsd-current/gnu/usr.sbin/mkhybrid/src/ |
H A D | iso9660.h | 128 char nsect [ISODCL ( 7, 8)]; member in struct:eltorito_defaultboot_entry
|
H A D | eltorito.c | 286 set_721(default_desc.nsect, (unsigned int) nsectors ); 310 set_721(efi_desc.nsect, nsectors);
|
/openbsd-current/sbin/atactl/ |
H A D | atactl.c | 1472 int i, n, nerr, nsect; local 1492 nsect = nerr / 5 + (nerr % 5 != 0 ? 1 : 0); 1493 if ((newbuf = calloc(nsect, DEV_BSIZE)) == NULL) 1499 req.sec_count = nsect; 1503 req.datalen = nsect * DEV_BSIZE; 1509 (newbuf + (nsect - 1) * DEV_BSIZE);
|
/openbsd-current/sys/arch/sparc64/dev/ |
H A D | vdsp.c | 142 uint16_t nsect; member in struct:vd_diskgeom 1567 vg->nsect = sc->sc_label->sl_nsectors; 1580 vg->nsect = 768; 1583 vg->nsect = 600; 1586 vg->nsect = 200; 1589 vg->pcyl = disk_size / (block_size * vg->nhead * vg->nsect); 1602 sc->sc_nsect = vg->nsect;
|
/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | mach-o.c | 442 unsigned char nsect = 0; local 449 nsect = (s->udata.i >> 16) & 0xff; 454 bfd_h_put_8 (abfd, nsect, buf + 5); 1803 bfd_mach_o_section *nsect = NULL; local 1832 nsect = sect; 1839 *msection = nsect;
|
/openbsd-current/gnu/usr.bin/binutils/bfd/ |
H A D | mach-o.c | 671 unsigned char nsect = 0; local 693 nsect = (s->udata.i >> 16) & 0xff; 698 bfd_h_put_8 (abfd, nsect, buf + 5); 1986 bfd_mach_o_section *nsect = NULL; local 2015 nsect = sect; 2022 *msection = nsect;
|