/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | zfs_rlock.h | 63 rl_t *zfs_range_lock(znode_t *zp, uint64_t off, uint64_t len, rl_type_t type); 72 void zfs_range_reduce(rl_t *rl, uint64_t off, uint64_t len);
|
H A D | dmu_send.h | 47 struct vnode *vp, offset_t *off); 49 struct file *fp, offset_t *off); 58 int outfd, struct vnode *vp, offset_t *off); 60 int outfd, struct file *fp, offset_t *off);
|
/freebsd-11-stable/etc/ |
H A D | ddb.conf | 12 script kdb.enter.panic=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; call doadump; reset
|
/freebsd-11-stable/contrib/nvi/ex/ |
H A D | ex_util.c | 60 size_t off; local 65 for (errno = 0, off = 0, p = exp->ibp;;) { 66 if (off >= exp->ibp_len) { 67 BINC_RETC(sp, exp->ibp, exp->ibp_len, off + 1); 68 p = exp->ibp + off; 79 if (ch == EOF && !off) 81 *lenp = off; 85 ++off;
|
H A D | ex_argv.c | 219 int ch, off; local 258 off = exp->argsoff; 259 exp->args[off]->len = len; 260 for (p = exp->args[off]->bp; len > 0; --len, *p++ = *ap++) 287 int off; local 292 for (off = exp->argsoff, cp = cmds; cp->name != NULL; ++cp) { 320 int off; local 325 off = exp->argsoff; 352 qsort(exp->args + off, exp->argsoff - off, sizeo 365 size_t blen, len, off, tlen; local 465 int cnt, off; local 529 int off; local 561 int off; local 820 size_t blen, off; local [all...] |
/freebsd-11-stable/sys/sparc64/sparc64/ |
H A D | db_hwwatch.c | 63 u_long off; local 65 off = (u_long)pa & 7; 67 if (off + sz > 8) 69 return (watch_phys_set_mask(pa, ((1 << sz) - 1) << off)); 118 u_long off; local 120 off = (u_long)va & 7; 122 if (off + sz > 8) 124 return (watch_virt_set_mask(va, ((1 << sz) - 1) << off));
|
H A D | schppm.c | 63 #define SCHPPM_READ(sc, reg, off) \ 64 bus_read_8((sc)->sc_res[(reg)], (off)) 65 #define SCHPPM_WRITE(sc, reg, off, val) \ 66 bus_write_8((sc)->sc_res[(reg)], (off), (val))
|
/freebsd-11-stable/libexec/rtld-elf/sparc64/ |
H A D | rtld_machdep.h | 63 #define calculate_tls_end(off, size) ((off) + (size))
|
/freebsd-11-stable/stand/i386/libfirewire/ |
H A D | fwohci.h | 120 #define OHCI_DMACTL(off) (off) 121 #define OHCI_DMACTLCLR(off) (off + 4) 122 #define OHCI_DMACMD(off) (off + 0xc) 123 #define OHCI_DMAMATCH(off) (off + 0x10)
|
/freebsd-11-stable/sys/dev/cmx/ |
H A D | cmxvar.h | 73 #define CMX_READ_1(sc, off) \ 74 (bus_space_read_1((sc)->bst, (sc)->bsh, off)) 75 #define CMX_WRITE_1(sc, off, val) \ 76 (bus_space_write_1((sc)->bst, (sc)->bsh, off, val))
|
/freebsd-11-stable/sys/arm/freescale/imx/ |
H A D | console.c | 77 ub_getreg(uint32_t off) argument 80 return *((volatile uint32_t *)(imx_uart_base + off)); 84 ub_setreg(uint32_t off, uint32_t val) argument 87 *((volatile uint32_t *)(imx_uart_base + off)) = val;
|
/freebsd-11-stable/sys/netpfil/pf/ |
H A D | in4_cksum.c | 83 in4_cksum(struct mbuf *m, u_int8_t nxt, int off, int len) argument 100 if (off < sizeof(struct ipovly)) 115 psum = in_cksum_skip(m, len + off, off);
|
/freebsd-11-stable/sys/riscv/riscv/ |
H A D | mem.c | 52 vm_offset_t off, v; local 72 off = v & PAGE_MASK; 73 cnt = ulmin(iov->iov_len, PAGE_SIZE - (u_int)off); 110 uiomove_fromphys(&marr, off, cnt, uio);
|
/freebsd-11-stable/crypto/openssh/ |
H A D | sshbuf.c | 43 buf->off > buf->size)) { 58 if (buf->off == 0 || buf->readonly || buf->refcount > 1) 61 (buf->off >= SSHBUF_PACK_MIN && buf->off >= buf->size / 2)) { 62 memmove(buf->d, buf->d + buf->off, buf->size - buf->off); 63 buf->size -= buf->off; 64 buf->off = 0; 193 buf->off = buf->size; 198 buf->off [all...] |
/freebsd-11-stable/sys/arm64/arm64/ |
H A D | mem.c | 54 vm_offset_t off, v; local 71 off = v & PAGE_MASK; 72 cnt = ulmin(iov->iov_len, PAGE_SIZE - (u_int)off); 109 uiomove_fromphys(&marr, off, cnt, uio);
|
/freebsd-11-stable/sys/arm/xscale/ixp425/ |
H A D | ixp425_wdog.c | 52 RD4(struct ixpwdog_softc *sc, bus_size_t off) argument 54 return bus_space_read_4(&ixp425_bs_tag, IXP425_TIMER_VBASE, off); 58 WR4(struct ixpwdog_softc *sc, bus_size_t off, uint32_t val) argument 60 bus_space_write_4(&ixp425_bs_tag, IXP425_TIMER_VBASE, off, val);
|
/freebsd-11-stable/contrib/netbsd-tests/include/sys/ |
H A D | t_types.c | 88 off_t off; local 97 off = 0; 103 ATF_CHECK((off - 1) <= 0);
|
/freebsd-11-stable/sys/dev/gxemul/disk/ |
H A D | gxemul_disk.c | 208 gxemul_disk_read(unsigned diskid, void *buf, off_t off) argument 214 if (off < 0 || off % GXEMUL_DISK_DEV_BLOCKSIZE != 0) 218 GXEMUL_DISK_DEV_WRITE(GXEMUL_DISK_DEV_OFFSET, (uint64_t)off); 221 (uint32_t)(off & 0xffffffff)); 223 (uint32_t)((off >> 32) & 0xffffffff)); 281 gxemul_disk_write(unsigned diskid, const void *buf, off_t off) argument 287 if (off < 0 || off % GXEMUL_DISK_DEV_BLOCKSIZE != 0) 291 GXEMUL_DISK_DEV_WRITE(GXEMUL_DISK_DEV_OFFSET, (uint64_t)off); [all...] |
/freebsd-11-stable/sys/netinet/ |
H A D | ip6.h | 273 #define IP6_EXTHDR_CHECK(m, off, hlen, ret) \ 277 ((m)->m_len < (off) + (hlen)) && \ 278 (((m) = m_pullup((m), (off) + (hlen))) == NULL)) { \ 282 if ((m)->m_len < (off) + (hlen)) { \ 289 if ((m)->m_len < (off) + (hlen)) { \ 299 * IP6_EXTHDR_GET ensures that intermediate protocol header (from "off" to 308 #define IP6_EXTHDR_GET(val, typ, m, off, len) \ 312 if ((m)->m_len >= (off) + (len)) \ 313 (val) = (typ)(mtod((m), caddr_t) + (off)); \ 315 t = m_pulldown((m), (off), (le [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_print.c | 155 print_bitfield(dt_printarg_t *pap, ulong_t off, ctf_encoding_t *ep) argument 158 caddr_t addr = pap->pa_addr + off / NBBY; 172 off += ep->cte_bits; 175 shift = off % NBBY; 189 if (off % NBBY != 0) 229 dt_print_int(ctf_id_t base, ulong_t off, dt_printarg_t *pap) argument 235 caddr_t addr = pap->pa_addr + off / NBBY; 257 print_bitfield(pap, off, &e); 283 dt_print_float(ctf_id_t base, ulong_t off, dt_printarg_t *pap) argument 288 caddr_t addr = pap->pa_addr + off / NBB 314 dt_print_ptr(ctf_id_t base, ulong_t off, dt_printarg_t *pap) argument 366 dt_print_array(ctf_id_t base, ulong_t off, dt_printarg_t *pap) argument 465 dt_print_structlike(ctf_id_t id, ulong_t off, dt_printarg_t *pap) argument 476 dt_print_enum(ctf_id_t base, ulong_t off, dt_printarg_t *pap) argument 518 dt_print_tag(ctf_id_t base, ulong_t off, dt_printarg_t *pap) argument 542 dt_print_member(const char *name, ctf_id_t id, ulong_t off, int depth, void *data) argument [all...] |
/freebsd-11-stable/sys/dev/bhnd/nvram/ |
H A D | bhnd_sprom_subr.c | 217 } else if (off->shift < 0) { \ 280 const struct bhnd_sprom_offset *off; local 283 off = &sv->offsets[i]; 284 KASSERT(!off->cont || i > 0, ("cont marked on first offset")); 287 if (i > 0 && !off->cont) { 294 SPROM_SWITCH_TYPE(off->type, SPROM_GETVAR_READ, sc, off, val); 300 all1 = off->mask; 301 if (off->shift > 0) 302 all1 >>= off 382 const struct bhnd_sprom_offset *off; local [all...] |
/freebsd-11-stable/sys/netinet6/ |
H A D | ip6_input.c | 405 ip6_input_hbh(struct mbuf **mp, uint32_t *plen, uint32_t *rtalert, int *off, argument 412 if (ip6_hopopts_input(plen, rtalert, mp, off)) { 493 int off, nxt; local 503 off = ip6dc->ip6dc_off; 519 if (m->m_pkthdr.len < off) { 527 if (IPSEC_INPUT(ipv6, m, off, nxt) != 0) 532 nxt = (*inet6sw[ip6_protox[nxt]].pr_input)(&m, &off, nxt); 549 int off = sizeof(struct ip6_hdr), nest; local 860 if (ip6_input_hbh(&m, &plen, &rtalert, &off, &nxt, &ours) != 0) 951 if (m->m_pkthdr.len < off) { 984 int off = *offp, hbhlen; local 1165 ip6_unknown_opt(u_int8_t *optp, struct mbuf *m, int off) argument 1425 int nxt = ip6->ip6_nxt, off = sizeof(struct ip6_hdr); local 1622 ip6_pullexthdr(struct mbuf *m, size_t off, int nxt) argument 1664 ip6_get_prevhdr(const struct mbuf *m, int off) argument 1701 ip6_nexthdr(const struct mbuf *m, int off, int proto, int *nxtp) argument 1776 ip6_lasthdr(const struct mbuf *m, int off, int proto, int *nxtp) argument [all...] |
/freebsd-11-stable/sys/dev/nand/ |
H A D | nand_cdev.c | 137 int start_page, count, off, err = 0; local 149 off = offset_to_page_off(cg, offset); 150 count = (len > cg->page_size - off) ? cg->page_size - off : len; 166 bcopy(tmp + off, ptr, count); 179 off = 0; 191 int off, start_page, err = 0; local 203 off = offset_to_page_off(cg, offset); 205 if (off != 0 || (len % cg->page_size) != 0) { 207 off, le 303 off_t off; local [all...] |
/freebsd-11-stable/contrib/llvm-project/lld/ELF/ |
H A D | AArch64ErrataFix.cpp | 338 static uint64_t scanCortexA53Errata843419(InputSection *isec, uint64_t &off, argument 343 uint64_t initialPageOff = (isecAddr + off) & 0xfff; 345 off += 0xff8 - initialPageOff; 347 bool optionalAllowed = limit - off > 12; 348 if (off >= limit || limit - off < 12) { 350 off = limit; 356 const ulittle32_t *instBuf = reinterpret_cast<const ulittle32_t *>(buf + off); 361 patchOff = off + 8; 365 patchOff = off 396 Patch843419Section(InputSection *p, uint64_t off) argument 598 uint64_t off = (*codeSym)->value; local [all...] |
/freebsd-11-stable/lib/libipsec/ |
H A D | ipsec_dump_policy.c | 77 size_t off, buflen; local 134 off = sizeof(*xpl); 135 while (off < PFKEY_EXTLEN(xpl)) { 136 xisr = (struct sadb_x_ipsecrequest *)((caddr_t)xpl + off); 137 off += xisr->sadb_x_ipsecrequest_len; 141 if (off != PFKEY_EXTLEN(xpl)) { 147 off = sizeof(*xpl); 148 while (off < PFKEY_EXTLEN(xpl)) { 149 xisr = (struct sadb_x_ipsecrequest *)((caddr_t)xpl + off); 152 PFKEY_EXTLEN(xpl) - off) [all...] |