Searched refs:off (Results 151 - 175 of 1125) sorted by relevance

1234567891011>>

/openbsd-current/sys/arch/octeon/dev/
H A Dcn30xxipd.c62 #define _IPD_RD8(sc, off) \
63 bus_space_read_8((sc)->sc_regt, (sc)->sc_regh, (off))
64 #define _IPD_WR8(sc, off, v) \
65 bus_space_write_8((sc)->sc_regt, (sc)->sc_regh, (off), (v))
H A Dcn30xxpip.c75 #define _PIP_RD8(sc, off) \
76 bus_space_read_8((sc)->sc_regt, (sc)->sc_regh, (off))
77 #define _PIP_WR8(sc, off, v) \
78 bus_space_write_8((sc)->sc_regt, (sc)->sc_regh, (off), (v))
80 #define _PIP_STAT_RD8(sc, off) \
81 bus_space_read_8((sc)->sc_regt, (sc)->sc_regh_stat, (off))
82 #define _PIP_STAT_WR8(sc, off, v) \
83 bus_space_write_8((sc)->sc_regt, (sc)->sc_regh_stat, (off), (v))
H A Dcn30xxpowvar.h68 #define _POW_RD8(sc, off) \
69 bus_space_read_8((sc)->sc_regt, (sc)->sc_regh, (off))
70 #define _POW_WR8(sc, off, v) \
71 bus_space_write_8((sc)->sc_regt, (sc)->sc_regh, (off), (v))
72 #define _POW_GROUP_RD8(sc, pi, off) \
74 (off) + sizeof(uint64_t) * (pi)->pi_group)
75 #define _POW_GROUP_WR8(sc, pi, off, v) \
77 (off) + sizeof(uint64_t) * (pi)->pi_group, (v))
/openbsd-current/gnu/usr.bin/perl/
H A Dmg.h75 # define MgBYTEPOS_set(mg,sv,pv,off) ( \
78 ? (mg)->mg_len = (off), (mg)->mg_flags |= MGf_BYTES \
80 ? (SSize_t)utf8_length((U8 *)(pv), (U8 *)(pv)+(off)) \
81 : (SSize_t)(off), \
/openbsd-current/sys/arch/luna88k/stand/boot/
H A Dgetsecs.c37 #define _DS_GET(off, data) \
38 do { *chiptime = (off); (data) = (*chipdata); } while (0)
39 #define _DS_SET(off, data) \
40 do { *chiptime = (off); *chipdata = (uint8_t)(data); } while (0)
/openbsd-current/usr.sbin/tcpdump/
H A Dprint-isoclns.c134 u_char off[2]; local
179 off[0] = eh->cksum[0];
180 off[1] = eh->cksum[1];
181 if (vflag && osi_cksum(p, li, eh->cksum, cksum, off)) {
296 const u_char *toff, u_char *cksum, u_char *off)
302 if ((cksum[0] = off[0]) == 0 && (cksum[1] = off[1]) == 0)
327 return (off[0] != cksum[0] || off[1] != cksum[1]);
295 osi_cksum(const u_char *p, u_int len, const u_char *toff, u_char *cksum, u_char *off) argument
/openbsd-current/sys/arch/sparc64/dev/
H A Dvdsp.c722 uint64_t size, off; local
737 off = dm->start_idx * sc->sc_descriptor_size;
738 vd = (struct vd_desc *)(sc->sc_vd + off);
743 nbytes = MIN(size, PAGE_SIZE - (off & PAGE_MASK));
745 sc->sc_dring_cookie.addr + off, pa,
753 off += nbytes;
1136 uint64_t size, off; local
1164 off = 0;
1167 nbytes = MIN(size, dm->cookie[i].size - off);
1168 nbytes = MIN(nbytes, PAGE_SIZE - (off
1210 uint64_t size, off; local
1282 uint64_t size, off; local
1365 uint64_t size, off; local
1464 uint64_t size, off; local
1554 uint64_t size, off; local
1656 uint64_t size, off; local
[all...]
/openbsd-current/sys/ntfs/
H A Dntfs_subr.c260 int error,off; local
323 off = mfrp->fr_attroff;
324 ap = (struct attr *) ((caddr_t)mfrp + off);
336 off += ap->a_hdr.reclen;
337 ap = (struct attr *) ((caddr_t)mfrp + off);
598 u_int32_t off; local
606 off = 0;
608 while (run[off]) {
609 off += (run[off]
1348 off_t off; local
1477 off_t off = roff; local
1541 off_t off = roff; local
1612 ntfs_parserun(cn_t *cn, cn_t *cl, u_int8_t *run, u_long len, u_long *off) argument
1699 u_long off = 0; local
[all...]
/openbsd-current/sys/kern/
H A Duipc_mbuf.c637 * Make a copy of an mbuf chain starting "off" bytes from the beginning,
642 m_copym(struct mbuf *m0, int off, int len, int wait) argument
648 if (off < 0 || len < 0)
649 panic("m_copym0: off %d, len %d", off, len);
650 if (off == 0 && m0->m_flags & M_PKTHDR)
652 if ((m = m_getptr(m0, off, &off)) == NULL)
673 n->m_len = min(len, m->m_len - off);
675 n->m_data = m->m_data + off;
709 m_copydata(struct mbuf *m, int off, int len, void *p) argument
739 m_copyback(struct mbuf *m0, int off, int len, const void *_cp, int wait) argument
765 memset(mtod(n, caddr_t), 0, off); local
1024 m_getptr(struct mbuf *m, int loc, int *off) argument
1130 m_makespace(struct mbuf *m0, int skip, int hlen, int *off) argument
1222 m_devget(char *buf, int totlen, int off) argument
1307 m_apply(struct mbuf *m, int off, int len, int (*f)(caddr_t, caddr_t, unsigned int), caddr_t fstate) argument
[all...]
/openbsd-current/sys/netinet/
H A Dip_ah.c204 int off, count, error; local
237 for (off = sizeof(struct ip); off < skip;) {
238 if (ptr[off] != IPOPT_EOL && ptr[off] != IPOPT_NOP &&
239 off + 1 >= skip) {
242 ptr[off]);
248 switch (ptr[off]) {
250 off = skip; /* End the loop. */
254 off
[all...]
/openbsd-current/usr.sbin/iscsid/
H A Dvscsi.c215 size_t size, off, n; local
272 off = ntohl(r2t->buffer_offs);
275 vscsi_dataout(c, t, r2t->ttt, size, off);
301 size_t size, off; local
304 for (off = 0; off < len; off += size) {
305 size = len - off > c->active.MaxRecvDataSegmentLength ?
306 c->active.MaxRecvDataSegmentLength : len - off;
316 if (off
[all...]
H A Dpdu.c268 size_t off, resid, size; local
274 off = b->resid;
278 if (off >= b->iov[j].iov_len) {
279 off -= b->iov[j].iov_len;
282 iov[niov].iov_base = (char *)b->iov[j].iov_base + off;
283 iov[niov++].iov_len = b->iov[j].iov_len - off;
284 off = 0;
341 size_t ahslen, dlen, off; local
381 off = p->resid;
383 if (off >
[all...]
/openbsd-current/gnu/usr.bin/binutils/gdb/
H A Dnto-tdep.h108 #define nto_register_area(reg, regset, off) \
109 (*current_nto_target.nto_register_area) (reg, regset, off)
/openbsd-current/games/tetris/
H A Dshapes.c86 const int *o = shape->off;
96 * if `onoff' is 1, and off if `onoff' is 0.
101 const int *o = shape->off;
/openbsd-current/gnu/usr.bin/binutils-2.17/gas/
H A Dfrags.c119 /* Call this to close off a completed frag, and start up a new (empty)
184 Close off the old frag with a .fill 0.
203 current frag. Close off the old frag with a .fill 0.
405 bfd_vma off;
409 off = frag1->fr_address - frag2->fr_address;
412 *offset = off;
420 off += frag->fr_fix + frag->fr_offset * frag->fr_var;
426 *offset = off;
432 off = frag1->fr_address - frag2->fr_address;
436 off
395 bfd_vma off; local
[all...]
/openbsd-current/usr.bin/grep/
H A Dqueue.c69 item->data.off = x->off;
/openbsd-current/usr.sbin/dhcrelay6/
H A Dpacket.c113 assemble_udp_ip6_header(unsigned char *p, int *off, struct packet_ctx *pc, argument
126 memcpy(&p[*off], &ip6, sizeof(ip6));
127 *off += sizeof(ip6);
141 memcpy(&p[*off], &uh, sizeof(uh));
142 *off += sizeof(uh);
162 decode_udp_ip6_header(unsigned char *p, int off, struct packet_ctx *pc, argument
177 ip6 = (struct ip6_hdr *)(p + off);
220 checksum(p + off + poff, ptotal - sizeof(*uh),
/openbsd-current/gnu/usr.bin/perl/cpan/Test-Harness/t/source_tests/
H A Dpsql.bat2 @echo off
/openbsd-current/sys/arch/alpha/alpha/
H A Din_cksum.c196 in4_cksum(struct mbuf *m, u_int8_t nxt, int off, int len) argument
209 if (off < sizeof(struct ipovly))
226 while (m != NULL && off > 0) {
227 if (m->m_len > off)
229 off -= m->m_len;
233 for (; m && len; m = m->m_next, off = 0) {
236 mlen = m->m_len - off;
239 addr = mtod(m, caddr_t) + off;
/openbsd-current/usr.sbin/ldpd/
H A Dlabelmapping.c695 uint16_t off = 0; local
699 off += sizeof(uint8_t);
704 return (off);
719 memcpy(&map->fec.prefix.af, buf + off,
721 off += sizeof(map->fec.prefix.af);
737 map->fec.prefix.prefixlen = buf[off];
738 off += sizeof(uint8_t);
739 if (len < off + PREFIX_SIZE(map->fec.prefix.prefixlen)) {
748 memcpy(&map->fec.prefix.prefix, buf + off,
755 return (off
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Target/XCore/
H A DXCoreMachineFunctionInfo.h56 void setVarArgsFrameIndex(int off) { VarArgsFrameIndex = off; } argument
/openbsd-current/libexec/ld.so/mips64/
H A Darchdep.h52 #define RELOC_GOT(obj, off) \
55 long __loff = off; \
/openbsd-current/sys/netinet6/
H A Droute6.c59 int off = *offp, rhlen; local
62 IP6_EXTHDR_GET(rh, struct ip6_rthdr *, m, off, sizeof(*rh));
/openbsd-current/sys/dev/pci/
H A Dagp_apple.c175 agp_apple_bind_page(void *v, bus_addr_t off, paddr_t pa, int flags) argument
180 if (off >= (asc->gatt->ag_entries << AGP_PAGE_SHIFT))
190 asc->gatt->ag_virtual[off >> AGP_PAGE_SHIFT] = entry;
191 flushd(&asc->gatt->ag_virtual[off >> AGP_PAGE_SHIFT]);
195 agp_apple_unbind_page(void *v, bus_size_t off) argument
199 if (off >= (asc->gatt->ag_entries << AGP_PAGE_SHIFT))
202 asc->gatt->ag_virtual[off >> AGP_PAGE_SHIFT] = 0;
204 flushd(&asc->gatt->ag_virtual[off >> AGP_PAGE_SHIFT]);
/openbsd-current/lib/libcrypto/asn1/
H A Dasn1_item.c482 size_t off = 0; local
493 if (want >= (len - off)) {
494 want -= (len - off);
502 if ((i < 0) && ((len - off) == 0)) {
516 p = (unsigned char *) & (b->data[off]);
518 inf = ASN1_get_object(&q, &slen, &tag, &xclass, len - off);
529 off += i; /* end of data */
549 if (want > (len - off)) {
552 want -= (len - off);
589 if (off
[all...]

Completed in 423 milliseconds

1234567891011>>