Searched refs:d_offset (Results 1 – 10 of 10) sorted by relevance
| /freebsd-12.1/stand/common/ |
| H A D | disk.c | 140 dev.d_offset = part->start; in ptable_print() 178 ret = dev->dd.d_dev->dv_strategy(dev, F_READ, dev->d_offset + offset, in disk_read() 191 ret = dev->dd.d_dev->dv_strategy(dev, F_WRITE, dev->d_offset + offset, in disk_write() 210 if (dev->d_offset == 0) in disk_ioctl() 250 partdev.d_offset = 0; in disk_open() 254 dev->d_offset = 0; in disk_open() 282 dev->d_offset = part.start; in disk_open() 286 dev->d_offset = 0; in disk_open() 296 dev->d_offset = part.start; in disk_open() 339 dev->d_offset += part.start; in disk_open() [all …]
|
| H A D | disk.h | 88 uint64_t d_offset; member
|
| /freebsd-12.1/stand/i386/libi386/ |
| H A D | biosdisk.c | 750 disk.d_offset = 0; in bd_disk_get_sectors() 888 offset = dev->d_offset * bd->bd_sectorsize; in bd_strategy() 901 uint64_t disk_blocks, offset, d_offset; in bd_realstrategy() local 953 d_offset = 0; in bd_realstrategy() 960 d_offset = dev->d_offset; in bd_realstrategy() 963 disk_blocks = bd->bd_sectors - d_offset; in bd_realstrategy() 966 if (dblk < d_offset || dblk >= d_offset + disk_blocks) in bd_realstrategy() 972 if (dblk + blks >= d_offset + disk_blocks) { in bd_realstrategy() 973 blks = d_offset + disk_blocks - dblk; in bd_realstrategy()
|
| /freebsd-12.1/tools/tools/bootparttest/ |
| H A D | bootparttest.c | 82 (long long)blk, (long long)dev->d_offset); in disk_strategy() 84 (blk + dev->d_offset) * disk.sectorsize); in disk_strategy()
|
| /freebsd-12.1/stand/efi/libefi/ |
| H A D | efipart.c | 974 offset = dev->d_offset * pd->pd_blkio->Media->BlockSize; in efipart_strategy() 989 uint64_t off, disk_blocks, d_offset = 0; in efipart_realstrategy() local 1022 d_offset = dev->d_offset; in efipart_realstrategy() 1025 disk_blocks = blkio->Media->LastBlock + 1 - d_offset; in efipart_realstrategy() 1028 if ((off + size) / blkio->Media->BlockSize > d_offset + disk_blocks) { in efipart_realstrategy() 1029 diskend = d_offset + disk_blocks; in efipart_realstrategy()
|
| /freebsd-12.1/stand/libsa/geli/ |
| H A D | gelidev.c | 316 gdesc->ddd.d_offset = hdesc->d_offset; in geli_probe_and_attach()
|
| /freebsd-12.1/stand/userboot/userboot/ |
| H A D | userboot_disk.c | 201 return (bcache_strategy(&bcd, rw, dblk + dev->d_offset, in userdisk_strategy()
|
| /freebsd-12.1/stand/uboot/lib/ |
| H A D | disk.c | 168 err = stor_readdev(dev, blk + dev->d_offset, bcount, buf); in stor_strategy()
|
| /freebsd-12.1/contrib/binutils/bfd/ |
| H A D | elf32-ppc.c | 5795 bfd_vma d_offset = (bfd_big_endian (output_bfd) ? 2 : 0); in ppc_elf_relocate_section() local 5926 bfd_put_32 (output_bfd, insn, contents + rel->r_offset - d_offset); in ppc_elf_relocate_section() 5973 rel->r_offset += d_offset; in ppc_elf_relocate_section() 5995 rel->r_offset -= d_offset; in ppc_elf_relocate_section() 6032 contents + rel->r_offset - d_offset); in ppc_elf_relocate_section() 6072 rel[1].r_offset = offset + d_offset; in ppc_elf_relocate_section() 6079 contents + rel->r_offset - d_offset); in ppc_elf_relocate_section() 6106 rel->r_offset += d_offset; in ppc_elf_relocate_section() 6137 rel->r_offset += d_offset; in ppc_elf_relocate_section() 6140 contents + rel->r_offset - d_offset); in ppc_elf_relocate_section() [all …]
|
| H A D | elf64-ppc.c | 10032 bfd_vma d_offset = (bfd_big_endian (output_bfd) ? 2 : 0); in ppc64_elf_relocate_section() local 10280 insn = bfd_get_32 (output_bfd, contents + rel->r_offset - d_offset); in ppc64_elf_relocate_section() 10283 bfd_put_32 (output_bfd, insn, contents + rel->r_offset - d_offset); in ppc64_elf_relocate_section() 10336 rel->r_offset += d_offset; in ppc64_elf_relocate_section() 10371 rel->r_offset -= d_offset; in ppc64_elf_relocate_section() 10409 contents + rel->r_offset - d_offset); in ppc64_elf_relocate_section() 10457 rel[1].r_offset = offset + d_offset; in ppc64_elf_relocate_section() 10462 contents + rel->r_offset - d_offset); in ppc64_elf_relocate_section() 10508 rel->r_offset = offset + d_offset; in ppc64_elf_relocate_section() 10557 rel->r_offset = offset + d_offset; in ppc64_elf_relocate_section()
|