/netbsd-6-1-5-RELEASE/sys/arch/ofppc/stand/ofwboot/ |
H A D | mbr.c | 58 uint32_t poff; local 62 poff = find_mbr_part(devp, off, buf, lp, 0, MBR_PTYPE_NETBSD, 0); 64 if (poff == 0) { 65 poff = find_mbr_part(devp, off, buf, lp, 0, 67 if (poff != 0) 71 if (poff != 0) { 72 if (strategy(devp, F_READ, poff + LABELSECTOR, DEV_BSIZE, 83 poff = find_mbr_part(devp, off, buf, lp, 0, fat_types[i], 0); 84 if (poff != 0) { 85 make_dos_label(lp, poff); 100 uint32_t poff; local 138 make_dos_label(struct disklabel *lp, uint32_t poff) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/sparc/dev/ |
H A D | cgeight.c | 408 off_t poff; local 435 poff = off + PFOUR_COLOR_OFF_COLOR; 440 poff = PFOUR_COLOR_OFF_OVERLAY + off; 445 poff = (off - START_ENABLE) + PFOUR_COLOR_OFF_ENABLE; 450 poff = (off - START_COLOR) + PFOUR_COLOR_OFF_COLOR; 455 poff = 0; /* XXX */ 460 poff = PFOUR_COLOR_OFF_CMAP; 465 poff = 0; 471 poff = 0x8000 + (off - (START_SPECIAL + (PAGE_SIZE * 2))); 476 sc->sc_paddr, poff, [all...] |
H A D | cgfour.c | 400 off_t poff; local 425 poff = off + PFOUR_COLOR_OFF_COLOR; 430 poff = PFOUR_COLOR_OFF_OVERLAY + off; 435 poff = (off - START_ENABLE) + PFOUR_COLOR_OFF_ENABLE; 440 poff = (off - START_COLOR) + PFOUR_COLOR_OFF_COLOR; 445 sc->sc_paddr, poff,
|
/netbsd-6-1-5-RELEASE/sys/dev/dkwedge/ |
H A D | dkwedge_mbr.c | 154 uint32_t poff; local 157 poff = le32toh(dp[i].mbrp_start) + extoff; 158 getparts(a, poff, extoff ? extoff : poff);
|
/netbsd-6-1-5-RELEASE/sys/arch/shark/stand/ofwboot/ |
H A D | ofdev.c | 191 u_long poff; local 212 poff = get_long(&p->mbrp_start) + off0; 213 if (strategy(devp, F_READ, poff + LABELSECTOR, 227 poff = get_long(&p->mbrp_start); 228 if (!search_label(devp, poff, buf, lp, off0)) {
|
/netbsd-6-1-5-RELEASE/sbin/mbrlabel/ |
H A D | mbrlabel.c | 228 u_int32_t poff; local 231 poff = getlong(&parts[i].mbrp_start) + extoff; 232 changed += getparts(sd, poff, 233 extoff ? extoff : poff, verbose);
|
/netbsd-6-1-5-RELEASE/sys/arch/x68k/stand/boot_ufs/ |
H A D | readufs.c | 20 unsigned *poff, size_t count); 149 ufs_read_indirect(daddr_t blk, int level, uint8_t **buf, unsigned *poff, size_t count) argument 150 /* poff: position in block */ 162 unsigned off = *poff; 177 *poff = off - indirsize; 183 *poff = 0;
|
/netbsd-6-1-5-RELEASE/sys/arch/hp700/stand/xxboot/ |
H A D | readufs.c | 20 unsigned *poff, size_t count); 149 ufs_read_indirect(daddr_t blk, int level, void **buf, unsigned *poff, size_t count) argument 150 /* poff: position in block */ 162 unsigned off = *poff; 177 *poff = off - indirsize; 183 *poff = 0;
|
/netbsd-6-1-5-RELEASE/sys/arch/mvme68k/stand/libsa/ |
H A D | bugdev.c | 45 int poff; /* Partition offset */ member in struct:bugsc_softc 104 pp->poff = sdlabel.d_partitions[pn].p_offset; 124 daddr_t blk = dblk + pp->poff;
|
/netbsd-6-1-5-RELEASE/sys/arch/macppc/stand/ofwboot/ |
H A D | ofdev.c | 237 u_long poff; local 258 poff = get_long(&p->mbrp_start) + off0; 259 if (strategy(devp, F_READ, poff + 1, 273 poff = get_long(&p->mbrp_start); 274 if (!search_dos_label(devp, poff, buf, lp, off0)) {
|
/netbsd-6-1-5-RELEASE/sys/netsmb/ |
H A D | smb_rq.c | 472 u_int16_t totpcount, totdcount, pcount, poff, doff, pdisp, ddisp; local 513 (error = md_get_uint16le(mdp, &poff)) != 0 || 546 error = smb_t2_placedata(mdp->md_top, poff, pcount, 584 int error, doff, poff, txdcount, txpcount, nmlen; local 632 poff = len; 637 poff = txpcount ? len : 0; 645 mb_put_uint16le(mbp, poff); 704 poff = len; 709 poff = txpcount ? len : 0; 715 mb_put_uint16le(mbp, poff); [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gold/ |
H A D | fileread.cc | 407 off_t poff = File_read::page_offset(start); local 409 section_size_type psize = File_read::pages(size + (start - poff)); 411 if (poff + static_cast<off_t>(psize) >= this->size_) 413 psize = this->size_ - poff; 422 this->do_read(poff, psize, p + byteshift); 423 v = new File_read::View(poff, psize, p, byteshift, cache, 430 this->descriptor_, poff); 434 static_cast<long long>(poff), 441 v = new File_read::View(poff, psize, pbytes, 0, cache,
|
H A D | output.cc | 3697 off_t* poff, 3703 off_t orig_off = *poff; 3714 off_t off = *poff; 3767 if (desired_align < *poff % page_align) 3768 *poff += page_align - *poff % page_align; 3769 *poff += desired_align - *poff % page_align; 3770 addr += *poff - orig_off; 3771 orig_off = *poff; 3693 set_section_addresses(const Layout* layout, bool reset, uint64_t addr, unsigned int* increase_relro, bool* has_relro, off_t* poff, unsigned int* pshndx) argument 3840 set_section_list_addresses(const Layout* layout, bool reset, Output_data_list* pdl, uint64_t addr, off_t* poff, unsigned int* pshndx, bool* in_tls) argument [all...] |
H A D | layout.cc | 2948 off_t* poff) 2965 off_t off = *poff; 3088 *poff = off; 3126 Layout::create_shdrs(const Output_section* shstrtab_section, off_t* poff) argument 3135 off_t off = align_address(*poff, oshdrs->addralign()); 3138 *poff = off; 2945 create_symtab_sections(const Input_objects* input_objects, Symbol_table* symtab, unsigned int shnum, off_t* poff) argument
|
/netbsd-6-1-5-RELEASE/sys/net/npf/ |
H A D | npf_mbuf.c | 83 const int poff = m_length(nbuf->nb_mbuf0) - m_length(m) + off; local 85 return poff;
|
/netbsd-6-1-5-RELEASE/sys/miscfs/genfs/ |
H A D | genfs_io.c | 1744 int error, rv, poff, koff; local 1803 for (poff = 0; poff < klen; poff += PAGE_SIZE) { 1804 rv = pmap_extract(upm, puva + poff, &pa); 1806 pmap_kenter_pa(kva + poff, pa, prot, PMAP_WIRED);
|
/netbsd-6-1-5-RELEASE/sys/dev/usb/ |
H A D | umidi.c | 1517 int poff; local 1539 poff = 0x0f & (out_jack->midiman_ppkt[3]); 1540 plen = 3 - poff; 1543 memcpy(out_jack->midiman_ppkt+poff, src, plen); 1546 plen += poff;
|
/netbsd-6-1-5-RELEASE/external/bsd/mdocml/dist/ |
H A D | roff.c | 1315 int poff; local 1328 poff = 0; 1329 eqn_read(&r->eqn, line, buf, offs, &poff);
|
/netbsd-6-1-5-RELEASE/external/bsd/pcc/dist/pcc/cc/ccom/ |
H A D | pftn.c | 121 static void dynalloc(struct symtab *p, int *poff); 1295 * update the offset pointed to by poff; return the 1300 upoff(int size, int alignment, int *poff) argument 1304 off = *poff; 1308 *poff = off+size; 1313 * allocate p with offset *poff, and update *poff 1316 oalloc(struct symtab *p, int *poff ) 1337 noff = off = *poff; 1366 *poff 1449 dynalloc(struct symtab *p, int *poff) argument [all...] |
H A D | pass1.h | 376 int upoff(int size, int alignment, int *poff);
|
/netbsd-6-1-5-RELEASE/external/bsd/pcc/dist/pcc/cc/cxxcom/ |
H A D | pftn.c | 121 static void dynalloc(struct symtab *p, int *poff); 1335 * update the offset pointed to by poff; return the 1340 upoff(int size, int alignment, int *poff) argument 1344 off = *poff; 1348 *poff = off+size; 1353 * allocate p with offset *poff, and update *poff 1356 oalloc(struct symtab *p, int *poff ) 1377 noff = off = *poff; 1406 *poff 1489 dynalloc(struct symtab *p, int *poff) argument [all...] |
H A D | pass1.h | 381 int upoff(int size, int alignment, int *poff);
|
/netbsd-6-1-5-RELEASE/sys/dev/pci/ |
H A D | if_age.c | 1194 uint32_t cflags, poff, vtag; local 1202 poff = 0; 1261 cflags |= (poff << AGE_TD_CSUM_PLOADOFFSET_SHIFT);
|
H A D | if_alc.c | 1281 uint32_t cflags, poff, vtag; local 1289 poff = 0; 1354 cflags |= ((poff >> 1) << TD_PLOAD_OFFSET_SHIFT) &
|
H A D | if_ale.c | 914 uint32_t cflags, poff, vtag; local 922 poff = 0; 998 cflags |= (poff << ALE_TD_CSUM_PLOADOFFSET_SHIFT);
|