Home
last modified time | relevance | path

Searched refs:poffset (Results 1 – 25 of 31) sorted by relevance

12

/openbsd-src/sbin/fdisk/
H A Dfdisk.c216 char *poffset, *ptype; in parse_bootprt() local
225 poffset = strchr(arg, '@'); in parse_bootprt()
226 if (poffset != NULL) in parse_bootprt()
227 *poffset++ = '\0'; in parse_bootprt()
228 if (poffset != NULL) { in parse_bootprt()
229 ptype = strchr(poffset, ':'); in parse_bootprt()
238 if (poffset == NULL) in parse_bootprt()
242 blockoffset = strtonum(poffset, 1, UINT32_MAX, &errstr); in parse_bootprt()
/openbsd-src/lib/libc/gen/
H A Ddisklabel.c57 pfsize[3], poffset[3], ptype[3]; in getdiskbyname() local
94 strlcpy(poffset, "ox", sizeof poffset); in getdiskbyname()
102 psize[1] = pbsize[1] = pfsize[1] = poffset[1] = ptype[1] = p; in getdiskbyname()
112 getnum(pp->p_offset, poffset); in getdiskbyname()
/openbsd-src/usr.sbin/installboot/
H A Di386_softraid.c48 uint32_t poffset; in sr_install_bootblk() local
77 poffset = pp->p_offset; /* Offset of RAID partition. */ in sr_install_bootblk()
78 poffset += SR_BOOT_LOADER_OFFSET; /* SR boot loader area. */ in sr_install_bootblk()
79 sym_set_value(pbr_symbols, "_p_offset", poffset); in sr_install_bootblk()
84 (nowrite ? "would install" : "installing"), dev, poffset); in sr_install_bootblk()
H A Di386_installboot.c1058 sbread(int fd, daddr_t poffset, struct fs **fs, char *sblock)
1065 devread(fd, sblock, poffset + sboff, SBSIZE, "superblock");
1013 sbread(int fd,daddr_t poffset,struct fs ** fs,char * sblock) sbread() argument
/openbsd-src/gnu/usr.bin/binutils-2.17/gas/config/
H A Dtc-bfin.c1444 bfin_gen_ldstidxi (REG_T ptr, REG_T reg, int W, int sz, int Z, Expr_Node * poffset) in bfin_gen_ldstidxi() argument
1461 if (poffset->type != Expr_Node_Constant) in bfin_gen_ldstidxi()
1467 if (poffset->type == Expr_Node_Reloc in bfin_gen_ldstidxi()
1468 && !strcmp (poffset->value.s_value, in bfin_gen_ldstidxi()
1472 Expr_Node_Gen_Reloc(poffset, BFD_RELOC_16)); in bfin_gen_ldstidxi()
1474 else if (poffset->type != Expr_Node_GOT_Reloc) in bfin_gen_ldstidxi()
1478 Expr_Node_Gen_Reloc(poffset->Left_Child, in bfin_gen_ldstidxi()
1479 poffset->value.i_value)); in bfin_gen_ldstidxi()
1487 value = EXPR_VALUE (poffset) >> 2; in bfin_gen_ldstidxi()
1490 value = EXPR_VALUE (poffset) >> 1; in bfin_gen_ldstidxi()
[all …]
H A Dtc-alpha.c1179 expressionS *poffset) in load_expression() argument
1340 if (poffset) in load_expression()
1341 set_tok_const (*poffset, 0); in load_expression()
1452 if (poffset) in load_expression()
1453 set_tok_const (*poffset, 0); in load_expression()
1495 if ((low && !poffset) || (!poffset && basereg != targreg)) in load_expression()
1504 if (poffset) in load_expression()
1505 set_tok_const (*poffset, low); in load_expression()
/openbsd-src/sys/dev/sbus/
H A Dxbox.c149 sc->sc_range[i].poffset += in xbox_fix_range()
150 sbp->sc_range[j].poffset; in xbox_fix_range()
H A Dsbusvar.h60 u_int32_t poffset; /* Parent offset */ member
H A Dqec.c252 paddr = sc->sc_range[i].poffset + offset; in qec_bus_map()
/openbsd-src/sys/arch/sparc64/dev/
H A Dcentralvar.h47 u_int32_t poffset; /* Parent offset */ member
H A Dfhcvar.h39 u_int32_t poffset; /* Parent offset */ member
H A Dsbus.c522 paddr = sc->sc_range[i].poffset + offset; in _sbus_bus_map()
526 (long)slot, (long)offset, (long)sc->sc_range[i].poffset, in _sbus_bus_map()
547 baddr = sc->sc_range[i].poffset + offset; in sbus_bus_addr()
H A Dcentral.c187 paddr += sc->sc_range[i].poffset; in _central_bus_map()
H A Dfhc.c208 paddr += sc->sc_range[i].poffset; in _fhc_bus_map()
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dstor-layout.c577 pos_from_byte (poffset, pbitpos, off_align, pos) in pos_from_byte() argument
578 tree *poffset, *pbitpos; in pos_from_byte()
582 *poffset
596 pos_from_bit (poffset, pbitpos, off_align, pos) in pos_from_bit() argument
597 tree *poffset, *pbitpos; in pos_from_bit()
601 *poffset = size_binop (MULT_EXPR,
613 normalize_offset (poffset, pbitpos, off_align) in normalize_offset() argument
614 tree *poffset, *pbitpos; in normalize_offset()
624 *poffset
625 = size_binop (PLUS_EXPR, *poffset,
/openbsd-src/sys/dev/sdmmc/
H A Dsdmmc_scsi.c578 daddr_t poffset; in sdmmc_scsi_hibernate_io() member
642 state->poffset = blkno; in sdmmc_scsi_hibernate_io()
650 blkno + state->poffset, (u_char *)addr, size)); in sdmmc_scsi_hibernate_io()
/openbsd-src/sys/arch/alpha/stand/
H A Dinstallboot.c536 sbread(int fd, daddr_t poffset, struct fs **fs, char *sblock) in sbread() argument
543 devread(fd, sblock, poffset + sboff, SBSIZE, "superblock"); in sbread()
/openbsd-src/usr.sbin/makefs/
H A Dffs.c226 uint32_t rdsize, poffset; in ffs_makerdroot() local
232 poffset = (fsopts->offset + sectorsize - 1) / sectorsize; in ffs_makerdroot()
248 DL_SETPOFFSET(pp, poffset); in ffs_makerdroot()
249 DL_SETPSIZE(pp, rdsize - poffset); in ffs_makerdroot()
/openbsd-src/sys/dev/ata/
H A Data_wdc.c117 daddr_t poffset; in wd_hibernate_io() member
128 my->poffset = blkno; in wd_hibernate_io()
145 blkno += my->poffset; in wd_hibernate_io()
/openbsd-src/gnu/gcc/gcc/
H A Dstor-layout.c569 pos_from_bit (tree *poffset, tree *pbitpos, unsigned int off_align, in pos_from_bit() argument
572 *poffset = size_binop (MULT_EXPR, in pos_from_bit()
584 normalize_offset (tree *poffset, tree *pbitpos, unsigned int off_align) in normalize_offset() argument
593 *poffset in normalize_offset()
594 = size_binop (PLUS_EXPR, *poffset, in normalize_offset()
H A Dtree-dfa.c861 get_ref_base_and_extent (tree exp, HOST_WIDE_INT *poffset, in get_ref_base_and_extent() argument
1027 *poffset = TREE_INT_CST_LOW (bit_offset); in get_ref_base_and_extent()
H A Dtree-data-ref.c1605 tree poffset, bit_pos_in_bytes; in object_analysis() local
1641 base = get_inner_reference (memref, &pbitsize, &pbitpos, &poffset, in object_analysis()
1655 if (poffset in object_analysis()
1656 && !analyze_offset_expr (poffset, loop, &object_offset, in object_analysis()
/openbsd-src/gnu/usr.bin/binutils/gas/config/
H A Dtc-alpha.c3024 load_expression (targreg, exp, pbasereg, poffset) in load_expression() argument
3028 expressionS *poffset;
3194 if (poffset)
3195 set_tok_const (*poffset, 0);
3307 if (poffset)
3308 set_tok_const (*poffset, 0);
3350 if ((low && !poffset) || (!poffset && basereg != targreg))
3359 if (poffset)
3360 set_tok_const (*poffset, low);
/openbsd-src/sys/dev/ic/
H A Dufshci.c1874 daddr_t poffset; /* Start of SWAP partition */ in ufshci_scsi_io_done()
1914 my->poffset = blkno; in ufshci_scsi_done()
1927 lba = (blkno + my->poffset) / (my->secsize / DEV_BSIZE); in ufshci_hibernate_io()
1928 daddr_t poffset; /* Start of SWAP partition */ ufshci_hibernate_io() member
H A Dnvme.c1726 daddr_t poffset; in nvme_hibernate_io()
1768 my->poffset = blkno; in nvme_hibernate_io()
1838 isqe->slba = (blkno + my->poffset) / (my->secsize / DEV_BSIZE); in nvme_hibernate_io()
1696 daddr_t poffset; nvme_hibernate_io() member

12