Searched refs:off (Results 126 - 150 of 1124) sorted by relevance

1234567891011>>

/freebsd-10-stable/sys/arm/xscale/ixp425/
H A Dixp425_wdog.c54 RD4(struct ixpwdog_softc *sc, bus_size_t off) argument
56 return bus_space_read_4(&ixp425_bs_tag, IXP425_TIMER_VBASE, off);
60 WR4(struct ixpwdog_softc *sc, bus_size_t off, uint32_t val) argument
62 bus_space_write_4(&ixp425_bs_tag, IXP425_TIMER_VBASE, off, val);
/freebsd-10-stable/sys/dev/cmx/
H A Dcmxvar.h73 #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-10-stable/sys/netpfil/pf/
H A Din4_cksum.c83 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-10-stable/sys/sparc64/sparc64/
H A Dschppm.c63 #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-10-stable/sys/boot/common/
H A Dload_elf.c72 u_int64_t off; member in struct:elf_file
293 * the Elf header, load the image at (off)
296 __elfN(loadimage)(struct preloaded_file *fp, elf_file_t ef, u_int64_t off) argument
327 off = - (off & 0xffffffffff000000ull);/* x86_64 relocates after locore */
329 off = - (off & 0xff000000u); /* i386 relocates after locore */
340 if (off & 0xf0000000u) {
341 off = -(off
[all...]
/freebsd-10-stable/crypto/openssh/
H A Dsshbuf.c43 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-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddmu_send.h46 struct vnode *vp, offset_t *off);
48 struct file *fp, offset_t *off);
57 int outfd, struct vnode *vp, offset_t *off);
59 int outfd, struct file *fp, offset_t *off);
/freebsd-10-stable/sys/dev/sdhci/
H A Dsdhci_fdt.c76 sdhci_fdt_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
80 return (bus_read_1(sc->mem_res[slot->num], off));
84 sdhci_fdt_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument
89 bus_write_1(sc->mem_res[slot->num], off, val);
93 sdhci_fdt_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
97 return (bus_read_2(sc->mem_res[slot->num], off));
101 sdhci_fdt_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument
106 bus_write_2(sc->mem_res[slot->num], off, val);
110 sdhci_fdt_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
114 return (bus_read_4(sc->mem_res[slot->num], off));
118 sdhci_fdt_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t val) argument
127 sdhci_fdt_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t *data, bus_size_t count) argument
136 sdhci_fdt_write_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t *data, bus_size_t count) argument
[all...]
/freebsd-10-stable/contrib/netbsd-tests/include/sys/
H A Dt_types.c88 off_t off; local
97 off = 0;
103 ATF_CHECK((off - 1) <= 0);
/freebsd-10-stable/sys/dev/gxemul/disk/
H A Dgxemul_disk.c208 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-10-stable/sys/netatalk/
H A Dat_rmx.c41 int at_inithead(void **head, int off);
104 at_inithead(void **head, int off) argument
108 if (!rn_inithead(head, off))
/freebsd-10-stable/sys/gnu/dts/arm/
H A Ddm8168-evm.dts71 gpmc,cs-rd-off-ns = <44>;
72 gpmc,cs-wr-off-ns = <44>;
74 gpmc,adv-rd-off-ns = <34>;
75 gpmc,adv-wr-off-ns = <44>;
77 gpmc,we-off-ns = <40>;
79 gpmc,oe-off-ns = <54>;
H A Domap-zoom-common.dtsi32 gpmc,cs-rd-off-ns = <155>;
33 gpmc,cs-wr-off-ns = <155>;
35 gpmc,adv-rd-off-ns = <40>;
36 gpmc,adv-wr-off-ns = <40>;
38 gpmc,oe-off-ns = <145>;
40 gpmc,we-off-ns = <145>;
H A Domap3-devkit8000.dts117 gpmc,cs-rd-off-ns = <44>;
118 gpmc,cs-wr-off-ns = <44>;
120 gpmc,adv-rd-off-ns = <34>;
121 gpmc,adv-wr-off-ns = <44>;
122 gpmc,we-off-ns = <40>;
123 gpmc,oe-off-ns = <54>;
H A Domap3-sb-t35.dtsi114 gpmc,cs-rd-off-ns = <150>;
115 gpmc,cs-wr-off-ns = <150>;
117 gpmc,adv-rd-off-ns = <15>;
118 gpmc,adv-wr-off-ns = <40>;
120 gpmc,oe-off-ns = <140>;
122 gpmc,we-off-ns = <140>;
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_print.c155 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...]
H A Ddt_buf.c88 size_t off = (size_t)(bp->dbu_ptr - bp->dbu_buf); local
89 size_t adj = roundup(off, align) - off;
111 bcopy(bp->dbu_buf, new_buf, off);
115 bp->dbu_ptr = new_buf + off;
141 size_t off = (size_t)(bp->dbu_ptr - bp->dbu_buf); local
142 return (roundup(off, align));
/freebsd-10-stable/sys/dev/nand/
H A Dnand_cdev.c137 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-10-stable/lib/libipsec/
H A Dipsec_dump_policy.c77 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...]
/freebsd-10-stable/lib/libc/db/hash/
H A Dhash_bigkey.c91 u_int16_t space, move_bytes, off; local
106 off = OFFSET(p) - move_bytes;
107 memmove(cp + off, key_data, move_bytes);
111 p[++n] = off;
113 FREESPACE(p) = off - PAGE_META(n);
114 OFFSET(p) = off;
133 off = OFFSET(p) - move_bytes;
134 memmove(cp + off, val_data, move_bytes);
137 p[n] = off;
140 OFFSET(p) = off;
362 u_int16_t *bp, len, off, save_addr; local
563 u_int16_t free_space, n, off, *tp; local
[all...]
/freebsd-10-stable/lib/libc/net/
H A Dip6opt.c112 int padlen, optlen, off; local
133 off = bp - (u_char *)eh;
134 padlen = (((off % multx) + (multx - 1)) & ~(multx - 1)) -
135 (off % multx);
153 off = bp - (u_char *)eh;
154 padlen = ((off + 7) & ~7) - off;
181 int padlen, off; local
203 off = bp - (u_char *)eh;
204 padlen = (((off
[all...]
/freebsd-10-stable/sys/geom/bde/
H A Dg_bde_lock.c358 uint64_t off, q1; local
366 error = g_bde_keyloc_decrypt(sc->sha2, meta, &off);
371 if (off + G_BDE_LOCKSIZE > (uint64_t)mediasize) {
372 off = 0;
379 if (off % sectorsize > sectorsize - G_BDE_LOCKSIZE)
384 off - (off % sectorsize),
387 off = 0;
392 q = buf + off % sectorsize;
399 off
[all...]
/freebsd-10-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Ddwarf.c268 Dwarf_Off off; local
270 if (dwarf_dieoffset(die, &off, &dw->dw_err) == DW_DLV_OK)
271 return (off);
418 Dwarf_Off off; local
420 if (dwarf_attrval_unsigned(die, name, &off, &dw->dw_err) != DWARF_E_NONE) {
425 return (off);
463 die_add(dwarf_t *dw, Dwarf_Off off) argument
467 tdp->t_id = off;
704 die_array_create(dwarf_t *dw, Dwarf_Die arr, Dwarf_Off off, tdesc_t *tdp) argument
710 debug(3, "die %llu <%llx>: creating array\n", off, of
804 die_enum_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument
936 die_sou_create(dwarf_t *dw, Dwarf_Die str, Dwarf_Off off, tdesc_t *tdp, int type, const char *typename) argument
1109 die_struct_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument
1115 die_union_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument
1203 die_funcptr_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument
1378 die_base_type2enc(dwarf_t *dw, Dwarf_Off off, Dwarf_Signed enc, size_t sz) argument
1406 die_base_from_dwarf(dwarf_t *dw, Dwarf_Die base, Dwarf_Off off, size_t sz) argument
1456 die_base_create(dwarf_t *dw, Dwarf_Die base, Dwarf_Off off, tdesc_t *tdp) argument
1514 die_through_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp, int type, const char *typename) argument
1545 die_typedef_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument
1551 die_const_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument
1557 die_pointer_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument
1563 die_restrict_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument
1569 die_volatile_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp) argument
1576 die_function_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp __unused) argument
1668 die_variable_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp __unused) argument
1765 Dwarf_Off off = die_off(dw, die); local
[all...]
/freebsd-10-stable/sys/netinet6/
H A Dip6_input.c327 ip6_input_hbh(struct mbuf *m, uint32_t *plen, uint32_t *rtalert, int *off, argument
333 if (ip6_hopopts_input(plen, rtalert, &m, off)) {
407 int off = sizeof(struct ip6_hdr), nest; local
909 error = ip6_input_hbh(m, &plen, &rtalert, &off, &nxt, &ours);
996 if (m->m_pkthdr.len < off) {
1019 nxt = (*inet6sw[ip6_protox[nxt]].pr_input)(&m, &off, nxt);
1075 int off = *offp, hbhlen; local
1080 IP6_EXTHDR_CHECK(m, off, sizeof(*hbh), -1);
1081 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off);
1084 IP6_EXTHDR_CHECK(m, off, hbhle
1256 ip6_unknown_opt(u_int8_t *optp, struct mbuf *m, int off) argument
1481 int nxt = ip6->ip6_nxt, off = sizeof(struct ip6_hdr); local
1640 ip6_pullexthdr(struct mbuf *m, size_t off, int nxt) argument
1682 ip6_get_prevhdr(struct mbuf *m, int off) argument
1719 ip6_nexthdr(struct mbuf *m, int off, int proto, int *nxtp) argument
1794 ip6_lasthdr(struct mbuf *m, int off, int proto, int *nxtp) argument
[all...]
/freebsd-10-stable/usr.sbin/crunch/crunchide/
H A Dexec_elf32.c96 xreadatoff(int fd, void *buf, off_t off, size_t size, const char *fn) argument
100 if (lseek(fd, off, SEEK_SET) != off) {
113 xwriteatoff(int fd, void *buf, off_t off, size_t size, const char *fn) argument
117 if (lseek(fd, off, SEEK_SET) != off) {
231 Elf_Off off; local
363 off = xewtoh(layoutp[i].shdr->sh_offset);
370 if ((size_t)xreadatoff(fd, layoutp[i].bufp, off, size, fn) !=
436 Elf_Off off, alig local
[all...]

Completed in 300 milliseconds

1234567891011>>