Home
last modified time | relevance | path

Searched refs:off (Results 1 – 25 of 366) sorted by relevance

12345678910>>...15

/original-bsd/sys/sparc/sparc/
H A Dgenassym.c81 off("P_ADDR", struct proc, p_addr); in main()
82 off("P_STAT", struct proc, p_stat); in main()
83 off("P_WCHAN", struct proc, p_wchan); in main()
125 off("PCB_RW", struct pcb, pcb_rw); in main()
126 off("PCB_SP", struct pcb, pcb_sp); in main()
127 off("PCB_PC", struct pcb, pcb_pc); in main()
128 off("PCB_UW", struct pcb, pcb_uw); in main()
156 off("AU_AMD", struct auio, au_amd); in main()
157 off("AU_RB", struct auio, au_rb); in main()
158 off("AU_WB", struct auio, au_wb); in main()
[all …]
H A Dvm_machdep.c76 int off; local
83 off = (int)addr & PGOFSET;
85 npf = btoc(round_page(bp->b_bcount + off));
87 bp->b_un.b_addr = (caddr_t) (kva + off);
108 register int off, npf; local
112 off = (int)kva & PGOFSET;
113 kva -= off;
114 npf = btoc(round_page(bp->b_bcount + off));
158 register u_int sp, topframe, off, ssize; local
200 off = (u_int)npcb - (u_int)opcb;
[all …]
/original-bsd/sys/luna68k/luna68k/
H A Dgenassym.c83 off("P_FORW", struct proc, p_forw); in main()
84 off("P_BACK", struct proc, p_back); in main()
86 off("P_ADDR", struct proc, p_addr); in main()
88 off("P_STAT", struct proc, p_stat); in main()
89 off("P_WCHAN", struct proc, p_wchan); in main()
90 off("P_FLAG", struct proc, p_flag); in main()
99 off("V_INTR", struct vmmeter, v_intr); in main()
153 off("PCB_PS", struct pcb, pcb_ps); in main()
154 off("PCB_USTP", struct pcb, pcb_ustp); in main()
155 off("PCB_USP", struct pcb, pcb_usp); in main()
[all …]
H A Dvm_machdep.c230 int off; local
237 off = (int)addr & PGOFSET;
241 bp->b_data = (caddr_t) (kva + off);
282 register int off, len; local
288 off = (vm_offset_t)fromp & PAGE_MASK;
304 len = min(count, PAGE_SIZE-off);
313 off = 0;
324 register int off, len; local
330 off = (vm_offset_t)top & PAGE_MASK;
346 len = min(count, PAGE_SIZE-off);
[all …]
/original-bsd/usr.bin/tail/
H A Dforward.c57 long off;
66 if (off == 0)
70 off = sbp->st_size;
75 } else while (off--)
85 if (off == 0)
113 bytes(fp, off);
117 if (!off) {
124 else if (off == 0) {
131 lines(fp, off);
167 rlines(fp, off, sbp) in rlines() argument
[all …]
H A Dtail.c43 long off; local
63 off = strtol(optarg, &p, 10) * (units); \
68 if (off) \
69 off -= (units); \
73 off = -off; \
129 off = 0;
132 off = 10;
151 reverse(fp, style, off, &sb);
153 forward(fp, style, off, &sb);
175 reverse(stdin, style, off, &sb);
[all …]
H A Dread.c36 bytes(fp, off) in bytes() argument
38 off_t off;
45 if ((sp = p = malloc(off)) == NULL)
48 for (wrap = 0, ep = p + off; (ch = getc(fp)) != EOF;) {
103 lines(fp, off) in lines() argument
105 off_t off;
117 if ((lines = malloc(off * sizeof(*lines))) == NULL)
140 if (++recno == off) {
153 if (++recno == off) {
163 for (cnt = off - 1; cnt >= recno; --cnt)
[all …]
H A Dreverse.c49 reverse(fp, style, off, sbp) in reverse() argument
52 long off;
55 if (style != REVERSE && off == 0)
59 r_reg(fp, style, off, sbp);
64 bytes(fp, off);
68 lines(fp, off);
80 r_reg(fp, style, off, sbp) in r_reg() argument
83 long off;
106 if (style == RBYTES && off < size)
107 size = off;
[all …]
/original-bsd/usr.sbin/sendmail/src/
H A Darpadate.c58 register int off; local
127 off -= 24 * 60;
129 off += 24 * 60;
131 off -= 24 * 60;
133 off += 24 * 60;
136 if (off == 0)
165 if (off < 0)
167 off = -off;
178 off %= 60;
179 *q++ = (off / 10) + '0';
[all …]
/original-bsd/sys/hp300/hp300/
H A Dgenassym.c77 off("P_FORW", struct proc, p_forw); in main()
78 off("P_BACK", struct proc, p_back); in main()
80 off("P_ADDR", struct proc, p_addr); in main()
82 off("P_STAT", struct proc, p_stat); in main()
83 off("P_WCHAN", struct proc, p_wchan); in main()
84 off("P_FLAG", struct proc, p_flag); in main()
95 off("V_INTR", struct vmmeter, v_intr); in main()
166 off("PCB_PS", struct pcb, pcb_ps); in main()
167 off("PCB_USTP", struct pcb, pcb_ustp); in main()
168 off("PCB_USP", struct pcb, pcb_usp); in main()
[all …]
H A Dvm_machdep.c239 int off; local
246 off = (int)addr & PGOFSET;
250 bp->b_data = (caddr_t)(kva + off);
291 register int off, len; local
297 off = (vm_offset_t)fromp & PAGE_MASK;
313 len = min(count, PAGE_SIZE-off);
322 off = 0;
333 register int off, len; local
339 off = (vm_offset_t)top & PAGE_MASK;
355 len = min(count, PAGE_SIZE-off);
[all …]
/original-bsd/games/backgammon/common_source/
H A Dboard.c58 if (off[1] > i || (off[1] < 0 && off[1]+15 > i)) { in wrboard()
62 if (off[1] > i+5 || (off[1] < 0 && off[1]+15 > i+5)) { in wrboard()
66 if (off[1] > i+10 || (off[1] < 0 && off[1]+15 > i+10)) { in wrboard()
94 if (off[0] > i || (off[0] < 0 && off[0]+15 > i)) { in wrboard()
98 if (off[0] > i+5 || (off[0] < 0 && off[0]+15 > i+5)) { in wrboard()
102 if (off[0] > i+10 || (off[0] < 0 && off[0]+15 > i+10)) { in wrboard()
/original-bsd/usr.bin/netstat/
H A Dinet.c60 u_long off; in protopr()
68 if (off == 0)
132 u_long off; in tcp_stats()
137 if (off == 0)
210 u_long off; in udp_stats()
216 if (off == 0)
247 u_long off; in ip_stats()
252 if (off == 0)
314 u_long off; in icmp_stats()
320 if (off == 0)
[all …]
H A Dns.c58 nsprotopr(off, name) in nsprotopr() argument
59 u_long off; in nsprotopr()
66 if (off == 0)
133 spp_stats(off, name) in spp_stats() argument
134 u_long off; in spp_stats()
140 if (off == 0)
211 idp_stats(off, name) in idp_stats() argument
212 u_long off; in idp_stats()
217 if (off == 0)
248 u_long off; in nserr_stats()
[all …]
/original-bsd/lib/libkvm/
H A Dkvm_sparc.c66 register int off; local
82 off = st.st_size - ctob(btoc(sizeof(vm->segmap)));
92 off = st.st_size - ctob(btoc(sizeof(vm->pmeg)) +
141 register int off, frame; local
161 off = VA_OFF(va);
171 *pa = (frame << PGSHIFT) | off;
172 return (NBPG - off);
194 register int off; local
201 off = VA_OFF(va);
203 << PGSHIFT) | off;
[all …]
/original-bsd/sys/netiso/
H A Dte.c78 #define qtocentry(q, off) ((struct eon_centry *) (((caddr_t)(q)) - off)) argument
79 #define centrytoq(c, off) ((struct qhdr *) (((caddr_t)(c)) + off)) argument
101 register int off; local
108 off = _offsetof( struct eon_centry, eonc_q_LINK);
115 off = _offsetof( struct eon_centry, eonc_q_ES);
122 off = _offsetof( struct eon_centry, eonc_q_IS);
129 off = _offsetof( struct eon_centry, eonc_q_LINK);
135 if(hdr == centrytoq(ent, off)->link )
153 q = centrytoq(ent, off)->link;
158 q, ent, off);
[all …]
/original-bsd/sys/tests/netiso/
H A Dte.c78 #define qtocentry(q, off) ((struct eon_centry *) (((caddr_t)(q)) - off)) argument
79 #define centrytoq(c, off) ((struct qhdr *) (((caddr_t)(c)) + off)) argument
101 register int off; local
108 off = _offsetof( struct eon_centry, eonc_q_LINK);
115 off = _offsetof( struct eon_centry, eonc_q_ES);
122 off = _offsetof( struct eon_centry, eonc_q_IS);
129 off = _offsetof( struct eon_centry, eonc_q_LINK);
135 if(hdr == centrytoq(ent, off)->link )
153 q = centrytoq(ent, off)->link;
158 q, ent, off);
[all …]
/original-bsd/sys/i386/stand/
H A Dls.c43 register off; local
46 for (off = 0 ; off < DIRBLKSIZ ; off += dp->d_reclen) {
47 dp = (struct direct *)(off + (int) buf);
/original-bsd/sys/stand.att/
H A Dread.c20 int lbn, off; local
65 off = blkoff(fs, file->i_offset);
69 if (off == 0 && size <= i) {
84 size -= off;
104 int c, lbn, off, size, diff; local
126 off = blkoff(fs, io->i_offset);
130 off = 0;
140 if (io->i_offset - off + size >= io->i_ino.di_size)
141 io->i_cc = diff + off;
142 io->i_cc -= off;
[all …]
/original-bsd/etc/
H A Dttys13 # Hardwired lines are marked off, by default, so getty(8)
15 tty00 "/usr/libexec/getty std.9600" unknown off secure
16 tty01 "/usr/libexec/getty std.9600" unknown off secure
17 tty02 "/usr/libexec/getty std.9600" unknown off secure
18 tty03 "/usr/libexec/getty std.9600" unknown off secure
19 tty04 "/usr/libexec/getty std.9600" unknown off secure
20 tty05 "/usr/libexec/getty std.9600" unknown off secure
21 tty06 "/usr/libexec/getty std.9600" unknown off secure
22 tty07 "/usr/libexec/getty std.9600" unknown off secure
/original-bsd/local/sccscmds/sccscmds.2/util/
H A Dcurdir.c13 static int off; variable
25 off = -1;
70 if ((off+i+2) > 1024-1) in cat()
72 for(j=off+1; j>=0; --j) in cat()
74 if (off >= 0) in cat()
76 off += i+1; in cat()
77 name[off] = 0; in cat()
/original-bsd/local/sccscmds/sccscmds.ok/util/
H A Dcurdir.c13 static int off; variable
25 off = -1;
70 if ((off+i+2) > 1024-1) in cat()
72 for(j=off+1; j>=0; --j) in cat()
74 if (off >= 0) in cat()
76 off += i+1; in cat()
77 name[off] = 0; in cat()
/original-bsd/usr.bin/gcore/
H A Dmd-sparc.c36 shift_page(fd, off, ssize) in shift_page() argument
38 register off_t off;
65 register off_t off, s; local
86 off = offsetof(struct user, u_md);
87 off += offsetof(struct md_coredump, md_tf);
88 if (lseek(fd, off, SEEK_SET) == -1)
126 off = ctob(UPAGES + ki->kp_eproc.e_vm.vm_dsize);
144 shift_page(fd, off, ssize);
154 if (lseek(fd, off + s, SEEK_SET) == -1)
/original-bsd/games/boggle/mkindex/
H A Dmkindex.c33 long off, start; local
37 off = start = 0L;
41 printf("%c %6ld %6ld\n", prev, start, off - 1);
43 start = off;
45 off += clen + 1;
47 printf("%c %6ld %6ld\n", prev, start, off - 1);
/original-bsd/usr.bin/gprof/
H A Dmips.c56 register int off; local
66 off = pc - s_lowpc;
67 op = *(u_long *)&textspace[off];
73 off = (op & 0x03ffffff) << 2;
74 destpc = (pc & 0xf0000000) | off;

12345678910>>...15