Searched refs:off (Results 176 - 200 of 1125) sorted by relevance

1234567891011>>

/openbsd-current/gnu/usr.bin/binutils/gdb/
H A Di386-nto-tdep.c123 i386nto_register_area (int regno, int regset, unsigned *off) argument
127 *off = 0;
133 *off = nto_reg_offset (regno);
134 if (*off == -1)
158 *off = (regno - FP0_REGNUM) * regsize + off_adjust;
/openbsd-current/sys/arch/alpha/alpha/
H A Dmem.c206 mmmmap(dev_t dev, off_t off, int prot) argument
222 if ((prot & alpha_pa_access(atop(off))) != prot)
224 return off;
231 if ((prot & alpha_pa_access(atop(off))) != prot)
233 return off;
/openbsd-current/lib/libkvm/
H A Dkvm_alpha.c194 off_t off; local
200 off = 0;
204 off += (pa - ramsegs[i].start);
207 off += ramsegs[i].size;
209 return (kd->dump_off + off);
H A Dkvm_amd64.c191 off_t off; local
197 off = 0;
201 off += (pa - ramsegs[i].start);
204 off += ramsegs[i].size;
210 return (kd->dump_off + off);
H A Dkvm_sh.c150 off_t off = kd->dump_off; local
155 return (off + (pa - seg->start));
156 off += seg->size;
/openbsd-current/regress/lib/libc/sys/
H A Dt_msync.c46 static const off_t off = 512; variable
92 if (lseek(fd, off, SEEK_SET) != off) {
114 if (memcmp(map + off, garbage, len) != 0) {
217 ATF_REQUIRE(page > off);
/openbsd-current/sys/lib/libsa/
H A Dnfs.c70 u_int32_t off; member in struct:nfs_read_args
92 off_t off; member in struct:nfs_iodesc
271 nfs_readdata(struct nfs_iodesc *d, off_t off, void *addr, size_t len) argument
291 args->off = htonl((u_int32_t)off);
404 newfd->off = 0;
524 printf("nfs_read: size=%d off=%d\n", size, (int)fp->off);
528 cc = nfs_readdata(fp, fp->off, (void *)addr, size);
544 fp->off
[all...]
H A Dtftp.c73 int off; member in struct:tftp_handle
269 tftpfile->off = 0;
295 needblock = tftpfile->off / SEGSIZE + 1;
327 offinblock = tftpfile->off % SEGSIZE;
332 tftpfile->off);
342 tftpfile->off += count;
403 tftpfile->off = offset;
406 tftpfile->off += offset;
413 return (tftpfile->off);
/openbsd-current/usr.sbin/vmd/
H A Dvioqcow2.c330 qc2_pread(void *p, char *buf, size_t len, off_t off) argument
337 end = off + len;
338 if (off < 0 || end > disk->disksz)
343 while (off != end) {
345 if ((phys_off = xlate(d, off, NULL)) > 0)
357 * clustersz - (off % clustersz).
365 cluster_off = off % disk->clustersz;
377 off += sz;
403 qc2_pwrite(void *p, char *buf, size_t len, off_t off) argument
413 end = off
474 xlate(struct qcdisk *disk, off_t off, int *inplace) argument
534 mkcluster(struct qcdisk *disk, struct qcdisk *base, off_t off, off_t src_phys) argument
615 inc_refs(struct qcdisk *disk, off_t off, int newcluster) argument
[all...]
/openbsd-current/usr.bin/fgen/
H A Dfgen.l439 { "off", 0x006b, 0, NULL, NULL },
1105 int pos, off;
1230 off = pos - outpos;
1231 offspit(off);
1244 off = input();
1245 } while ((off != ')') && (off != '\n') &&
1246 (off != EOF));
1584 off = pop();
1592 outpos = off;
[all...]
/openbsd-current/lib/libc/nls/
H A Dcatopen.c221 int hdr_offset, i, index, j, msgs, nmsgs, nsets, off, txt_offset; local
251 off = 0;
271 off = MAXIMUM(off, ntohl(msg[j].__offset));
276 if (remain - txt_offset < off ||
277 memchr((char *) catd->__data + sizeof(*cat) + txt_offset + off,
278 '\0', remain - txt_offset - off) == NULL)
/openbsd-current/lib/libc/db/hash/
H A Dhash_page.c90 u_int16_t *bp, n, off; local
97 off = OFFSET(bp) - key->size;
98 memmove(p + off, key->data, key->size);
99 bp[++n] = off;
102 off -= val->size;
103 memmove(p + off, val->data, val->size);
104 bp[++n] = off;
108 bp[n + 1] = off - ((n + 3) * sizeof(u_int16_t));
109 bp[n + 2] = off;
182 u_int16_t copyto, diff, off, move local
284 u_int16_t n, off, ov_addr, scopyto; local
873 u_int16_t free_space, n, off, pageno; local
[all...]
/openbsd-current/sys/dev/eisa/
H A Dcac_eisa.c252 u_int32_t off; local
260 off = cac_inl(sc, CAC_EISAREG_COMPLETE_ADDR);
264 if (off == 0)
267 off = (off & ~3) - sc->sc_ccbs_paddr;
268 ccb = (struct cac_ccb *)(sc->sc_ccbs + off);
270 bus_dmamap_sync(sc->sc_dmat, sc->sc_dmamap, off, sizeof(struct cac_ccb),
/openbsd-current/sys/arch/hppa/hppa/
H A Dvm_machdep.c153 vsize_t size, off; local
161 off = (vaddr_t)bp->b_data - uva;
162 size = round_page(off + len);
166 bp->b_data = (caddr_t)(kva + off);
187 vaddr_t addr, off; local
194 off = (vaddr_t)bp->b_data - addr;
195 len = round_page(off + len);
/openbsd-current/sys/arch/powerpc/powerpc/
H A Dvm_machdep.c178 vaddr_t faddr, taddr, off; local
184 off = (vaddr_t)bp->b_data - faddr;
185 len = round_page(off + len);
187 bp->b_data = (caddr_t)(taddr + off);
217 vaddr_t addr, off; local
222 off = (vaddr_t)bp->b_data - addr;
223 len = round_page(off + len);
/openbsd-current/sys/arch/amd64/include/
H A Dasm.h120 #define CPUVAR(off) %gs:CPU_INFO_ ## off
122 #define CPUVAR(off) %gs:CPU_INFO_/**/off
134 # define RETGUARD_SETUP_OFF(x, reg, off) \
137 xorq off(%rsp), %reg
164 # define RETGUARD_SETUP_OFF(x, reg, off)
/openbsd-current/sys/arch/sh/sh/
H A Dvm_machdep.c261 vsize_t size, off; local
269 off = (vaddr_t)bp->b_data - uva;
270 size = round_page(off + len);
274 bp->b_data = (caddr_t)(kva + off);
295 vaddr_t addr, off; local
302 off = (vaddr_t)bp->b_data - addr;
303 len = round_page(off + len);
/openbsd-current/gnu/llvm/lld/MachO/
H A DMarkLive.cpp39 virtual void enqueue(InputSection *isec, uint64_t off) = 0;
54 void enqueue(InputSection *isec, uint64_t off) override {
55 enqueue(isec, off, nullptr);
61 void enqueue(InputSection *isec, uint64_t off, const WorklistEntry *prev);
76 InputSection *isec, uint64_t off,
78 if (isec->isLive(off))
80 isec->markLive(off);
75 enqueue( InputSection *isec, uint64_t off, const typename MarkLiveImpl<RecordWhyLive>::WorklistEntry *prev) argument
/openbsd-current/sys/arch/sparc64/sparc64/
H A Dvm_machdep.c307 vsize_t size, off; local
315 off = (vaddr_t)bp->b_data - uva;
316 size = round_page(off + len);
320 bp->b_data = (caddr_t)(kva + off);
341 vaddr_t addr, off; local
348 off = (vaddr_t)bp->b_data - addr;
349 len = round_page(off + len);
/openbsd-current/usr.bin/nc/
H A Dsocks.c93 size_t off; local
95 for(off = 0;;) {
96 if (off >= bufsz)
98 if (atomicio(read, fd, buf + off, 1) != 1)
101 if (buf[off] == '\r')
103 if (buf[off] == '\n') {
104 buf[off] = '\0';
107 off++;
109 return (off);
/openbsd-current/sys/dev/rasops/
H A Drasops.c737 * Turn cursor off/on.
747 /* Turn old cursor off */
953 * Actually turn the cursor on or off. This does the dirty work for
1478 int off = row * scr->rs_ri->ri_cols + col + local
1481 ri->ri_putchar(ri, row, col, scr->rs_bs[off].uc,
1482 scr->rs_bs[off].attr);
1531 int off = row * scr->rs_ri->ri_cols + col + scr->rs_dispoffset; local
1536 scr->rs_bs[off].uc = uc;
1537 scr->rs_bs[off].attr = attr;
1564 int off local
1583 int off = row * cols + col + i + scr->rs_dispoffset; local
1629 int off = row * cols + col + scr->rs_dispoffset; local
1655 int off = row * cols + i + scr->rs_dispoffset; local
1688 int off = row * ri->ri_cols + col; local
1707 int off = row * cols + col; local
1726 int off = row * cols + col + i; local
1747 int off = row * cols + col; local
1767 int off = row * cols + i; local
1779 int off = ri->ri_crow * ri->ri_cols + ri->ri_ccol; local
1936 int off = scr->rs_visibleoffset + (lines * ri->ri_cols); local
1953 int off = row * scr->rs_ri->ri_cols + col + local
[all...]
/openbsd-current/sys/dev/pci/drm/i915/gvt/
H A Dcfg_space.c61 * @off: offset
69 static void vgpu_pci_cfg_mem_write(struct intel_vgpu *vgpu, unsigned int off, argument
77 for (; i < bytes && (off + i < sizeof(pci_cfg_space_rw_bmp)); i++) {
78 mask = pci_cfg_space_rw_bmp[off + i];
79 old = cfg_base[off + i];
87 if (off + i == PCI_STATUS + 1)
90 cfg_base[off + i] = (old & ~mask) | new;
95 memcpy(cfg_base + off + i, src + i, bytes - i);
97 if (off == vgpu->cfg_space.pmcsr_off && vgpu->cfg_space.pmcsr_off) {
98 pwr = (pci_power_t __force)(*(u16*)(&vgpu_cfg_space(vgpu)[off])
[all...]
/openbsd-current/lib/libc/db/recno/
H A Drec_close.c104 off_t off; local
167 if ((off = lseek(t->bt_rfd, 0, SEEK_CUR)) == -1)
169 if (ftruncate(t->bt_rfd, off))
/openbsd-current/regress/lib/libc/open_memstream/
H A Dopen_memstreamtest.c36 off_t off; local
44 off = ftello(fp);
45 if (off != 0) {
/openbsd-current/lib/libc/hash/
H A Dhelper.c60 HASHFileChunk(const char *filename, char *buf, off_t off, off_t len) argument
81 if (off > 0 && lseek(fd, off, SEEK_SET) == -1) {

Completed in 366 milliseconds

1234567891011>>