HomeSort by: relevance | last modified time | path
    Searched refs:doff (Results 1 - 25 of 28) sorted by relevancy

1 2

  /src/lib/librumpuser/
rumpfiber_bio.c 45 rumpuser_bio(int fd, int op, void *data, size_t dlen, int64_t doff,
52 if ((rv = pread(fd, data, dlen, doff)) == -1)
55 if ((rv = pwrite(fd, data, dlen, doff)) == -1)
59 fsync_range(fd, FDATASYNC, doff, dlen);
rumpuser_bio.c 134 rumpuser_bio(int fd, int op, void *data, size_t dlen, int64_t doff,
170 bio.bio_off = (off_t)doff;
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/
nouveau_nvkm_engine_disp_dacnv50.c 37 const u32 doff = nv50_ior_base(dac); local
38 nvkm_mask(device, 0x614280 + doff, 0x07070707, 0x00000000);
45 const u32 doff = nv50_ior_base(dac); local
49 nvkm_wr32(device, 0x61a00c + doff, 0x00100000 | loadval);
52 loadval = nvkm_mask(device, 0x61a00c + doff, 0xffffffff, 0x00000000);
62 nv50_dac_power_wait(struct nvkm_device *device, const u32 doff)
65 if (!(nvkm_rd32(device, 0x61a004 + doff) & 0x80000000))
75 const u32 doff = nv50_ior_base(dac); local
83 nv50_dac_power_wait(device, doff);
84 nvkm_mask(device, 0x61a004 + doff, field, state)
    [all...]
nouveau_nvkm_engine_disp_dacgf119.c 33 const u32 doff = nv50_ior_base(dac); local
34 nvkm_mask(device, 0x612280 + doff, 0x07070707, 0x00000000);
  /src/external/gpl2/xcvs/dist/src/
subr.c 915 size_t doff; local
934 doff = d - buf;
935 expand_string (&buf, &length, doff + 1);
936 d = buf + doff;
939 doff = d - buf;
940 expand_string (&buf, &length, doff + 1);
941 d = buf + doff;
1048 size_t doff, qoff; local
1508 doff = d - buf;
1509 expand_string (&buf, &length, doff + 1)
    [all...]
logmsg.c 624 size_t doff; local
674 doff = d - *c->buf;
676 doff + strlen (c->srepos) + 1);
677 d = *c->buf + doff;
695 doff = d - *c->buf;
696 expand_string (c->buf, c->length, doff + strlen (arg));
697 d = *c->buf + doff;
708 doff = d - *c->buf;
709 expand_string (c->buf, c->length, doff + 1);
710 d = *c->buf + doff;
    [all...]
run.c 60 size_t doff; local
75 doff = d - buf;
76 expand_string(&buf, &length, doff + 1);
77 d = buf + doff;
107 doff = d - buf;
108 expand_string(&buf, &length, doff + 1);
109 d = buf + doff;
tag.c 914 size_t doff; local
953 doff = d - *c->buf;
954 expand_string (c->buf, c->length, doff + strlen (arg));
955 d = *c->buf + doff;
964 doff = d - *c->buf;
965 expand_string (c->buf, c->length, doff + 1);
966 d = *c->buf + doff;
commit.c 1164 size_t doff; local
1200 doff = d - *c->buf;
1201 expand_string (c->buf, c->length, doff + strlen (arg));
1202 d = *c->buf + doff;
1210 doff = d - *c->buf;
1211 expand_string (c->buf, c->length, doff + 1);
1212 d = *c->buf + doff;
  /src/external/bsd/file/dist/src/
readelf.c 575 size_t noff, size_t doff, int *flags)
599 memcpy(desc, &nbuf[doff], descsz);
610 RCAST(const char *, &nbuf[doff]))) == -1)
620 size_t noff, size_t doff, int *flags)
626 if (elf_printf(ms, ", for SuSE %d.%d", nbuf[doff],
627 nbuf[doff + 1]) == -1)
634 memcpy(desc, &nbuf[doff], sizeof(desc));
673 if (do_note_netbsd_version(ms, swap, &nbuf[doff]) == -1)
681 if (do_note_freebsd_version(ms, swap, &nbuf[doff])
702 memcpy(&desc, &nbuf[doff], sizeof(desc))
1243 size_t noff, doff; local
    [all...]
  /src/sys/arch/powerpc/ibm4xx/
trap.c 900 int soff, doff, z, cases = 0; local
914 for (doff = 0; doff < 8; doff++) {
921 memcpy(ref + doff, src + soff, len);
922 ibm4xx_blkcpy(dst + doff, src + soff,
924 if (memcmp(dst + doff, ref + doff,
928 "doff=%d dcbz=%d",
929 len, soff, doff, z)
    [all...]
  /src/lib/libkvm/
kvm.c 178 off_t doff; local
199 doff = off - moff;
211 rv = pread(fd, kd->iobuf, dsize, doff);
818 off_t doff; local
847 doff = _kvm_pa2off(kd, pa);
848 doff -= doff % kd->fdalign;
849 if (pwrite(kd->pmfd, kd->iobuf, dsize, doff) == -1) {
  /src/sys/arch/sun2/dev/
if_ec.c 458 uint16_t doff; local
465 doff = status & EC_PKT_DOFF;
471 doff < EC_PKT_MINRDOFF ||
472 doff > EC_PKT_MAXRDOFF) {
479 total_length = doff - EC_PKT_RDOFF;
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/
nouveau_nvkm_subdev_clk_gf100.c 103 read_div(struct gf100_clk *clk, int doff, u32 dsrc, u32 dctl)
106 u32 ssrc = nvkm_rd32(device, dsrc + (doff * 4));
117 sclk = read_vco(clk, dsrc + (doff * 4));
119 /* Memclk has doff of 0 despite its alt. location */
120 if (doff <= 2) {
121 sctl = nvkm_rd32(device, dctl + (doff * 4));
nouveau_nvkm_subdev_clk_gk104.c 111 read_div(struct gk104_clk *clk, int doff, u32 dsrc, u32 dctl)
114 u32 ssrc = nvkm_rd32(device, dsrc + (doff * 4));
115 u32 sctl = nvkm_rd32(device, dctl + (doff * 4));
126 u32 sclk = read_vco(clk, dsrc + (doff * 4));
131 return read_vco(clk, dsrc + (doff * 4));
  /src/sys/dev/usb/
udl.c 1206 int sbase, soff, ebase, eoff, dbase, doff, width_cur; local
1215 doff = dbase + dx;
1223 udl_copy_line(sc, soff, doff, width_cur);
1225 doff += sc->sc_width;
1323 udl_copy_line(struct udl_softc *sc, int soff, int doff, int width)
1331 udl_cmd_add_4(sc, ((doff * 2) << 8) | (width & 0xff));
if_umb.c 1932 uint32_t doff, dlen; local
2013 doff = UGETW(dgram16->wDatagramIndex);
2022 doff = UGETDW(dgram32->dwDatagramIndex);
2030 if (dlen == 0 || doff == 0)
2032 if (len < dlen + doff) {
2035 DEVNAM(sc), dlen, doff);
2039 dp = buf + doff;
  /src/external/gpl3/binutils/dist/bfd/
vms-lib.c 2000 unsigned int doff = *off & (VMS_BLOCK_SIZE - 1); local
2001 unsigned int remlen = (DATA__LENGTH - DATA__DATA) - doff;
2005 memcpy (data->data + doff, buf, l);
2008 doff += l;
2011 if (doff == (DATA__LENGTH - DATA__DATA) || (len == 0 && pad))
2020 *off += DATA__LENGTH - doff;
  /src/external/gpl3/binutils.old/dist/bfd/
vms-lib.c 1996 unsigned int doff = *off & (VMS_BLOCK_SIZE - 1); local
1997 unsigned int remlen = (DATA__LENGTH - DATA__DATA) - doff;
2001 memcpy (data->data + doff, buf, l);
2004 doff += l;
2007 if (doff == (DATA__LENGTH - DATA__DATA) || (len == 0 && pad))
2016 *off += DATA__LENGTH - doff;
  /src/external/gpl3/gdb.old/dist/bfd/
vms-lib.c 1996 unsigned int doff = *off & (VMS_BLOCK_SIZE - 1); local
1997 unsigned int remlen = (DATA__LENGTH - DATA__DATA) - doff;
2001 memcpy (data->data + doff, buf, l);
2004 doff += l;
2007 if (doff == (DATA__LENGTH - DATA__DATA) || (len == 0 && pad))
2016 *off += DATA__LENGTH - doff;
  /src/external/gpl3/gdb/dist/bfd/
vms-lib.c 1996 unsigned int doff = *off & (VMS_BLOCK_SIZE - 1); local
1997 unsigned int remlen = (DATA__LENGTH - DATA__DATA) - doff;
2001 memcpy (data->data + doff, buf, l);
2004 doff += l;
2007 if (doff == (DATA__LENGTH - DATA__DATA) || (len == 0 && pad))
2016 *off += DATA__LENGTH - doff;
  /src/external/bsd/openldap/dist/servers/slapd/back-mdb/
id2entry.c 876 int i, nat = 0, nval = 0, nnval = 0, doff = 0; local
902 doff += a->a_numvals;
917 doff += a->a_numvals;
932 eh->offset = nat + nval - nnval - doff;
  /src/etc/
MAKEDEV.tmpl 2499 doff=%DISKMINOROFFSET%
2503 mkdev ${name}${unit} b $blk $(($unit * $doff + $ro)) 640 $g_operator
2504 mkdev r${name}${unit} c $chr $(($unit * $doff + $ro)) 640 $g_operator
2506 mkdev ${name}${unit}a b $blk $(($unit * $doff + 0)) 640 $g_operator
2507 mkdev ${name}${unit}$rn b $blk $(($unit * $doff + $ro)) 640 $g_operator
2508 mkdev r${name}${unit}a c $chr $(($unit * $doff + 0)) 640 $g_operator
2509 mkdev r${name}${unit}$rn c $chr $(($unit * $doff + $ro)) 640 $g_operator
  /src/external/gpl3/gcc.old/dist/libgomp/
target.c 375 uintptr_t doff = (uintptr_t) d - cbuf->tgt->tgt_start; local
376 if (doff < cbuf->chunks[cbuf->chunk_cnt - 1].end)
383 if (cbuf->chunks[middle].end <= doff)
385 else if (cbuf->chunks[middle].start <= doff)
387 if (doff + sz > cbuf->chunks[middle].end)
392 memcpy ((char *) cbuf->buf + (doff - cbuf->chunks[0].start),
  /src/external/gpl3/gcc/dist/libgomp/
target.c 391 uintptr_t doff = (uintptr_t) d - cbuf->tgt->tgt_start; local
392 if (doff < cbuf->chunks[cbuf->chunk_cnt - 1].end)
399 if (cbuf->chunks[middle].end <= doff)
401 else if (cbuf->chunks[middle].start <= doff)
403 if (doff + sz > cbuf->chunks[middle].end)
414 memcpy ((char *) cbuf->buf + (doff - cbuf->chunks[0].start),

Completed in 78 milliseconds

1 2