Home
last modified time | relevance | path

Searched refs:inp (Results 1 – 25 of 80) sorted by relevance

1234

/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dpass2.c126 if (inp != NULL && inp->i_dotdot != 0) in pass2()
166 getpathname(pathbuf, inp->i_number, inp->i_number); in pass2()
169 inp->i_isize = roundup(inp->i_isize, in pass2()
234 if (inp->i_parent == 0 || inp->i_isize == 0) in pass2()
250 if (inp->i_dotdot == inp->i_parent || in pass2()
255 inp->i_dotdot = inp->i_parent; in pass2()
256 fileerror(inp->i_parent, inp->i_number, in pass2()
288 if (makeentry(inp->i_number, inp->i_parent, "..")) { in pass2()
340 fileerror(inp->i_parent, inp->i_number, in pass2()
367 inp->i_dotdot = inp->i_parent; in pass2()
[all …]
H A Dpass3.c52 struct inoinfo **inpp, *inp; in pass3a() local
63 inp = *inpp; in pass3a()
93 orphan = inp->i_number; in pass3a()
106 inp = getinoinfo(inp->i_parent); in pass3a()
111 if (inp == NULL) in pass3a()
114 inp->i_parent); in pass3a()
131 inp->i_parent == 0) { in pass3a()
167 inp->i_dotdot = lfdir; in pass3a()
168 inp->i_parent = inp->i_dotdot; in pass3a()
216 inp->i_parent = inp->i_dotdot = lfdir; in pass3a()
[all …]
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dinode.c61 for (inp = *inpp; inp; inp = inp->fe_nexthash) {
65 if (!inp) {
76 inp = inpnext++;
77 inp->fe_block = feblock;
78 inp->fe_len = (uint16_t)len;
79 inp->fe_lseen = 1;
80 inp->fe_nexthash = *inpp;
81 *inpp = inp;
86 inp->fe_lseen++;
89 inp->fe_lcount, inp->fe_lseen);
[all …]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dinet_ntop.c337 inp = end; in __inet_pton()
341 if (*inp == ':' && in __inet_pton()
351 inp++; in __inet_pton()
352 } else if (*inp == '\0' || *inp == ' ' || in __inet_pton()
353 *inp == '\t') { in __inet_pton()
359 inp = end; in __inet_pton()
361 if (*inp != ':') { in __inet_pton()
364 inp++; in __inet_pton()
365 if (*inp == '\0' || *inp == ' ' || *inp == '\t') { in __inet_pton()
368 lastbyte = *inp; in __inet_pton()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfvscanf.c76 #define SCend(sc,ds) (inp = (sc)->inp, f = (sc)->f, \
381 { if(SFgetc(f,inp) < 0 || inp == fmt)
782 if(inp < 0)
819 if(inp == '-' || inp == '+')
837 { if(inp == 'x' || inp == 'X')
857 (inp == 'x' || inp == 'X') && --width > 0)
860 if(inp >= 0 && sp[inp] < 16)
867 if (inp >= '0' && inp <= '9')
892 SFgetc(f,inp) >= 0 && sp[inp] < base)
915 SFgetc(f,inp) >= 0 && sp[inp] < base);
[all …]
/illumos-gate/usr/src/common/util/
H A Dsscanf.c133 inr = strlen(inp); in vsscanf()
163 if (*inp != c) in vsscanf()
165 inr--, inp++; in vsscanf()
264 inp++; in vsscanf()
290 inp += n; in vsscanf()
296 inp += width; in vsscanf()
302 inp += width; in vsscanf()
390 c = *inp; in vsscanf()
475 inp++; in vsscanf()
487 inp--; in vsscanf()
[all …]
/illumos-gate/usr/src/boot/include/netinet/
H A Din_pcb.h434 #define INP_LOCK_DESTROY(inp) rw_destroy(&(inp)->inp_lock) argument
435 #define INP_RLOCK(inp) rw_rlock(&(inp)->inp_lock) argument
436 #define INP_WLOCK(inp) rw_wlock(&(inp)->inp_lock) argument
437 #define INP_TRY_RLOCK(inp) rw_try_rlock(&(inp)->inp_lock) argument
438 #define INP_TRY_WLOCK(inp) rw_try_wlock(&(inp)->inp_lock) argument
439 #define INP_RUNLOCK(inp) rw_runlock(&(inp)->inp_lock) argument
440 #define INP_WUNLOCK(inp) rw_wunlock(&(inp)->inp_lock) argument
441 #define INP_TRY_UPGRADE(inp) rw_try_upgrade(&(inp)->inp_lock) argument
442 #define INP_DOWNGRADE(inp) rw_downgrade(&(inp)->inp_lock) argument
443 #define INP_WLOCKED(inp) rw_wowned(&(inp)->inp_lock) argument
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwgetch.c60 int inp; in wgetch() local
92 inp = (int)tgetch((int)(win->_use_keypad ? 1 + win->_notimeout : 0)); in wgetch()
95 if (SP->fl_echoit && (inp < 0200) && (inp >= 0) && !(win->_flags & in wgetch()
97 (void) wechochar(win, (chtype) inp); in wgetch()
104 if (inp == '\r' && !SP->fl_nonl) in wgetch()
105 inp = '\n'; in wgetch()
110 return (inp); in wgetch()
H A Dtgetch.c68 chtype inp; in tgetch() local
87 inp = -inputQ[0]; in tgetch()
93 inp = _readchar(); in tgetch()
95 inp = (chtype) _pk(); in tgetch()
96 if ((int)inp == ERR) { in tgetch()
108 inp = inputQ[0]; in tgetch()
127 return (inp); in tgetch()
206 "inp=%d\n", *inp); in _getkey()
344 _map_button(inp); in _getkey()
608 _map_button(chtype *inp) in _map_button() argument
[all …]
/illumos-gate/usr/src/common/crypto/arcfour/amd64/
H A Darcfour-x86_64.pl98 my ($code, $dat, $inp, $out, $len, $idx, $ido, $i, @XX, @TX, $YY, $TY);
118 $inp="%rsi"; # arg2
201 xor ($inp),%rax
202 add \$8,$inp
236 xorb ($inp),$TY#b
237 inc $inp
262 $inp="%rsi"; # arg2
288 lea ($inp,$len),$inp
313 add ($inp,$len,1),$idx#b
/illumos-gate/usr/src/cmd/refer/
H A Dglue4.c26 char *inp, inb[500]; in grepcall() local
32 strcpy(inp = inb, in); in grepcall()
35 for (cv[nv++] = "fgrep"; c = *inp; inp++) { in grepcall()
37 c = *inp = 0; in grepcall()
39 *inp = tolower(c); in grepcall()
42 cv[nv++] = inp; in grepcall()
44 *inp = 0; in grepcall()
H A Dglue5.c31 char inp; member
72 q->inp = 0; q->out = 0; q->nst = 0; q->link = 0; q->fail = 0; in fgrep()
172 if (c->inp == ch) { in execute()
182 if (c->inp == ch) { in execute()
282 if (s->inp == c) { in cgotofn()
286 if (s->inp == 0) goto enter; in cgotofn()
300 s->inp = c; in cgotofn()
353 if ((s->inp) != 0) { in cfail()
367 if ((c = s->inp) != 0) { in cfail()
379 if (state->inp == c) { in cfail()
/illumos-gate/usr/src/cmd/exstr/
H A Dexstr.c244 char *inp; in replace() local
250 inp = linebuf; in replace()
334 *outp++ = *inp++; in replace()
340 inp = linebuf; in replace()
355 *outp++ = *inp++; in replace()
358 if (*inp != '"') { in replace()
365 while (inp[strlen(inp)-2] == '\\' && in replace()
366 inp[strlen(inp)-1] == '\n') { in replace()
386 inp = cp; in replace()
404 while (*inp != '\0') in replace()
[all …]
/illumos-gate/usr/src/ucblib/libcurses/
H A Dgetch.c34 char inp; in wgetch() local
47 inp = getchar(); in wgetch()
49 fprintf(outf, "WGETCH got '%s'\n", unctrl(inp)); in wgetch()
53 win->_curx + win->_begx, inp); in wgetch()
54 (void) waddch(win, inp); in wgetch()
58 return ((int)inp); in wgetch()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dupap.c332 u_char *inp; local
340 inp = inpacket;
345 GETCHAR(code, inp);
346 GETCHAR(id, inp);
347 GETSHORT(len, inp);
384 u_char *inp;
474 u_char *inp;
502 GETCHAR(msglen, inp);
509 msg = (char *) inp;
527 u_char *inp;
[all …]
H A Dfsm.c329 u_char *inp; local
337 inp = inpacket;
343 GETCHAR(code, inp);
344 GETCHAR(id, inp);
345 GETSHORT(len, inp);
409 u_char *inp;
434 if (inp >= outpacket_buf && inp < outpacket_buf+PPP_MRU+PPP_HDRLEN)
489 u_char *inp;
546 u_char *inp;
671 u_char *inp;
[all …]
H A Dchap.c364 u_char *inp; local
372 inp = inpacket;
378 GETCHAR(code, inp);
379 GETCHAR(id, inp);
422 u_char *inp;
454 rchallenge = inp;
561 u_char *inp;
712 u_char *inp;
738 PRINTMSG(inp, len);
753 u_char *inp;
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dses_ses.c174 #define sget8(inp, idx, lval) lval = (((uchar_t *)(inp))[idx++]) argument
175 #define gget8(inp, idx, lval) lval = (((uchar_t *)(inp))[idx]) argument
177 #define sget16(inp, idx, lval) \ argument
181 #define gget16(inp, idx, lval) \ argument
183 (((uchar_t *)(inp))[idx+1])
185 #define sget24(inp, idx, lval) \ argument
190 #define gget24(inp, idx, lval) \ argument
193 (((uchar_t *)(inp))[idx+2])
195 #define sget32(inp, idx, lval) \ argument
201 #define gget32(inp, idx, lval) \ argument
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_conv.c128 M_16_SWAP(h->inp[i]);
172 M_16_SWAP(h->inp[i]);
179 M_16_SWAP(h->inp[i]);
195 M_16_SWAP(h->inp[i]);
201 M_16_SWAP(h->inp[i]);
220 M_16_SWAP(h->inp[i]);
226 M_16_SWAP(h->inp[i]);
233 M_16_SWAP(h->inp[i]);
/illumos-gate/usr/src/cmd/unpack/
H A Dunpack.c67 static char *inp; variable
127 inp = &inbuff[2]; in getdict()
130 origsize = origsize*256 + ((*inp++) & 0377); in getdict()
131 maxlev = *inp++ & 0377; in getdict()
138 intnodes[i] = *inp++ & 0377; in getdict()
144 *eof++ = *inp++; in getdict()
147 *eof++ = *inp++; in getdict()
149 inleft -= inp - &inbuff[0]; in getdict()
196 c = *inp++; in decode()
499 inp = &inbuff[2]; in expand()
[all …]
/illumos-gate/usr/src/lib/libdisasm/common/
H A Ddis_sparc.c226 const inst_t *inp = NULL; in dis_sparc_disassemble() local
254 inp = &tp->tbl_inp[idx]; in dis_sparc_disassemble()
256 inp = dis_get_overlay(dhp, tp, idx); in dis_sparc_disassemble()
258 if ((inp->in_type == INST_NONE) || in dis_sparc_disassemble()
259 ((inp->in_arch & dhp->dh_flags) == 0)) in dis_sparc_disassemble()
262 if (inp->in_type == INST_TBL) { in dis_sparc_disassemble()
263 tp = inp->in_data.in_tbl; in dis_sparc_disassemble()
270 if (tp->tbl_fmt(dhp, instr, inp, idx) == 0) in dis_sparc_disassemble()
H A Ddis_sparc_fmt.c716 prt_name(dhp, inp->in_data.in_def.in_name, 1); in fmt_call()
761 prt_name(dhp, inp->in_data.in_def.in_name, 1); in fmt_sethi()
788 uint32_t flags = inp->in_data.in_def.in_flags; in fmt_branch()
1610 int flags = inp->in_data.in_def.in_flags; in fmt_alu()
1843 return (prt_shift(dhp, instr, inp)); in fmt_alu()
1859 return (fmt_cpop(dhp, instr, inp)); in fmt_alu()
1864 return (prt_jmpl(dhp, instr, inp, idx)); in fmt_alu()
2003 int flags = inp->in_data.in_def.in_flags; in fmt_fpop1()
2040 int flags = inp->in_data.in_def.in_flags; in fmt_fpop2()
2123 int flags = inp->in_data.in_def.in_flags; in fmt_vis()
[all …]
/illumos-gate/usr/src/lib/brand/solaris10/s10_support/
H A Ds10_support.c152 char *inp; in read_pkg_data() local
162 inp = start; in read_pkg_data()
163 while ((p = fgets(inp, PKGINFO_RD_LEN, fp)) != NULL) { in read_pkg_data()
166 len = strlen(inp); in read_pkg_data()
167 if (inp[len - 1] == '\n' && in read_pkg_data()
168 (len == 1 || inp[len - 2] != '\\')) { in read_pkg_data()
173 if (inp[len - 1] == '\n' && inp[len - 2] == '\\') in read_pkg_data()
184 inp = start + char_cnt; in read_pkg_data()
/illumos-gate/usr/src/common/crypto/sha1/amd64/
H A Dsha1-x86_64.pl50 my ($code, $ctx, $inp, $num, $xi, $t0, $t1, $i, @V, $A, $B, $C, $D, $E, $T);
61 $inp="%rsi"; # 2nd arg
66 $inp="%r9";
94 mov %rsi,$inp # reassigned argument
123 mov `4*$i`($inp),$xi
130 mov `4*$j`($inp),$xi
268 lea `16*4`($inp),$inp
/illumos-gate/usr/src/common/crypto/sha2/amd64/
H A Dsha512-x86_64.pl67 $ctx, $round, $inp, $Tbl, $_ctx, $_inp, $_end, $_rsp, $framesz);
111 $inp="%rsi"; # 2nd arg
236 lea ($inp,%rdx,$SZ),%rdx # inp+num*16*$SZ
240 mov $inp,$_inp # save inp, 2nd arg
269 $code.=" mov $SZ*$i($inp),$T1\n";
289 lea 16*$SZ($inp),$inp
300 cmp $_end,$inp

1234