/src/sbin/fsck_ext2fs/ |
pass3.c | 75 struct inoinfo **inpp, *inp; local in function:pass3 80 inp = *inpp; 81 if (inp->i_number == EXT2_ROOTINO || 82 !(inp->i_parent == 0 || statemap[inp->i_number] == DSTATE)) 84 if (statemap[inp->i_number] == DCLEAR) 87 orphan = inp->i_number; 88 if (inp->i_parent == 0 || 89 statemap[inp->i_parent] != DSTATE || 92 inp = getinoinfo(inp->i_parent) [all...] |
pass2.c | 91 struct inoinfo **inpp, *inp; local in function:pass2 154 inp = *inpp; 155 if (inp->i_isize == 0) 157 if (inp->i_isize < MINDIRSIZE) { 158 direrror(inp->i_number, "DIRECTORY TOO SHORT"); 159 inp->i_isize = roundup(MINDIRSIZE, sblock.e2fs_bsize); 161 dp = ginode(inp->i_number); 162 inossize(dp, inp->i_isize); 165 } else if ((inp->i_isize & (sblock.e2fs_bsize - 1)) != 0) { 166 getpathname(pathbuf, sizeof(pathbuf), inp->i_number 226 struct inoinfo *inp; local in function:pass2check [all...] |
dir.c | 117 struct inoinfo **inpp, *inp, *pinp; local in function:propagate 125 inp = *inpp; 126 if (inp->i_parent == 0 || 127 inp->i_number == EXT2_ROOTINO) 129 pinp = getinoinfo(inp->i_parent); 130 inp->i_parentp = pinp; 131 inp->i_sibling = pinp->i_child; 132 pinp->i_child = inp; 134 inp = getinoinfo(EXT2_ROOTINO); 135 while (inp) { [all...] |
/src/sbin/fsck_lfs/ |
pass3.c | 42 struct inoinfo **inpp, *inp; local in function:pass3 47 inp = *inpp; 48 if (inp->i_number == ULFS_ROOTINO || inp->i_number == LFS_IFILE_INUM || 49 !(inp->i_parent == 0 || statemap[inp->i_number] == DSTATE)) 51 if (statemap[inp->i_number] == DCLEAR) 53 if (statemap[inp->i_number] == FCLEAR) 56 orphan = inp->i_number; 57 if (inp->i_parent == 0 | [all...] |
pass2.c | 66 struct inoinfo **inpp, *inp; local in function:pass2 136 inp = *inpp; 137 if (inp->i_isize == 0) 139 if (inp->i_isize < MINDIRSIZE(fs)) { 140 direrror(inp->i_number, "DIRECTORY TOO SHORT"); 141 inp->i_isize = roundup(MINDIRSIZE(fs), LFS_DIRBLKSIZ); 143 vp = vget(fs, inp->i_number); 145 lfs_dino_setsize(fs, dp, inp->i_isize); 148 } else if ((inp->i_isize & (LFS_DIRBLKSIZ - 1)) != 0) { 149 getpathname(pathbuf, sizeof(pathbuf), inp->i_number 217 struct inoinfo *inp; local in function:pass2check [all...] |
dir.c | 97 struct inoinfo **inpp, *inp, *pinp; local in function:propagate 105 inp = *inpp; 106 if (inp->i_parent == 0 || 107 inp->i_number == ULFS_ROOTINO) 109 pinp = getinoinfo(inp->i_parent); 110 inp->i_parentp = pinp; 111 inp->i_sibling = pinp->i_child; 112 pinp->i_child = inp; 114 inp = getinoinfo(ULFS_ROOTINO); 115 while (inp) { [all...] |
inode.c | 365 struct inoinfo *inp; local in function:cacheino 372 inp = emalloc(sizeof(*inp) + (blks - 1) * sizeof(inp->i_blks[0])); 374 inp->i_nexthash = *inpp; 375 *inpp = inp; 376 inp->i_child = inp->i_sibling = inp->i_parentp = 0; 378 inp->i_parent = ULFS_ROOTINO 407 struct inoinfo *inp; local in function:getinoinfo [all...] |
/src/sys/netinet/ |
sctp_peeloff.c | 89 struct sctp_inpcb *inp; local in function:sctp_can_peel_off 91 inp = (struct sctp_inpcb *)head->so_pcb; 92 if (inp == NULL) { 95 stcb = sctp_findassociation_ep_asocid(inp, assoc_id); 106 struct sctp_inpcb *inp, *n_inp; local in function:sctp_do_peeloff 109 inp = (struct sctp_inpcb *)head->so_pcb; 110 if (inp == NULL) 112 stcb = sctp_findassociation_ep_asocid(inp, assoc_id); 120 (SCTP_PCB_COPY_FLAGS & inp->sctp_flags)); 127 sctp_move_pcb_and_assoc(inp, n_inp, stcb) 141 struct sctp_inpcb *inp, *n_inp; local in function:sctp_get_peeloff [all...] |
/src/sbin/fsck_ffs/ |
pass3.c | 57 struct inoinfo *inp, **inpp; local in function:pass3 77 inp = *inpp; 78 state = inoinfo(inp->i_number)->ino_state; 79 if (inp->i_number == UFS_ROOTINO || 80 (inp->i_parent != 0 && state != DSTATE)) 92 if (inp->i_dotdot >= UFS_ROOTINO) 93 inoinfo(inp->i_dotdot)->ino_linkcnt++; 97 orphan = inp->i_number; 98 if (inp->i_parent == 0 || 99 inoinfo(inp->i_parent)->ino_state != DSTATE | [all...] |
pass2.c | 67 struct inoinfo **inpp, *inp, *pinp; local in function:pass2 161 inp = *inpp; 162 if (inp->i_isize == 0) 164 if (inp->i_isize < MINDIRSIZE) { 165 direrror(inp->i_number, "DIRECTORY TOO SHORT"); 166 inp->i_isize = roundup(MINDIRSIZE, dirblksiz); 168 dp = ginode(inp->i_number); 169 DIP_SET(dp, size, iswap64(inp->i_isize)); 173 } else if ((inp->i_isize & (dirblksiz - 1)) != 0) { 174 getpathname(pathbuf, sizeof(pathbuf), inp->i_number 327 struct inoinfo *inp; local in function:pass2check [all...] |
/src/bin/dd/ |
conv.c | 65 u_char *inp; local in function:def 69 for (inp = in.dbp - (cnt = in.dbrcnt); cnt--; ++inp) 70 *inp = t[*inp]; 122 u_char *inp, *outp; local in function:block 132 for (inp = in.db, cnt = in.dbrcnt; 133 cnt && *inp++ != '\n'; --cnt); 142 in.dbp = inp + cnt - 1; 149 for (inp = in.dbp - in.dbcnt, outp = out.dbp; in.dbcnt;) 233 u_char *inp; local in function:unblock [all...] |
/src/distrib/utils/more/ |
os.c | 81 int inp; local in function:lsystem 116 inp = dup(0); 119 (void)dup(inp); 147 (void)dup(inp); 148 (void)close(inp);
|
/src/lib/libcurses/ |
get_wch.c | 442 wchar_t inp, ws[2]; local in function:wget_wch 488 ret = inkey(&inp, 494 ret = inkey(&inp, 0, 0); 497 ret = inkey(&inp, 531 inp = c; 535 if (inp > 255) 541 inp); 543 __CTRACE(__CTRACE_INPUT, "wget_wch got '%s'\n", unctrl(inp)); 556 ( inp == KEY_DC || 557 inp == KEY_BACKSPACE | [all...] |
getch.c | 788 int inp, weset; local in function:wgetch 856 inp = inkey (win->flags & __NOTIMEOUT ? 0 : 1, 0); 861 inp = inkey(0, 0); 864 inp = inkey(win->flags & __NOTIMEOUT ? 0 : 1, win->delay); 883 inp = __fgetc_resize(infd); 884 if (inp == ERR || inp == KEY_RESIZE) { 887 return inp; 891 if (inp > 255) 896 __CTRACE(__CTRACE_INPUT, "wgetch assembled keysym 0x%x\n", inp); [all...] |
/src/sys/net/npf/ |
npf_socket.c | 117 struct inpcb *inp = NULL; local in function:npf_ip_socket 159 inp = in_pcbhashlookup(tb, saddr, sport, daddr, dport); 160 if (inp == NULL) { 161 inp = in_pcblookup_listen(tb, daddr, dport); 162 if (inp == NULL) { 167 so = inp->inp_socket;
|
/src/games/hunt/hunt/ |
playit.c | 244 static char inp[sizeof Buf]; local in function:send_stuff 260 nsp = inp; 266 count = nsp - inp; 274 (void) write(huntsocket, inp, count);
|
/src/sys/compat/common/ |
vfs_syscalls_12.c | 121 char *inp, *tbuf; /* Current-format */ local in function:compat_12_sys_getdirentries 184 inp = tbuf; 191 bdp = (struct dirent *)inp; 198 inp += reclen; /* it is a hole; squish it out */ 230 inp += reclen;
|
vfs_syscalls_30.c | 210 char *inp, *tbuf; /* BSD-format */ local in function:compat_30_sys_getdents 261 inp = tbuf; 268 bdp = (struct dirent *)inp; 305 inp += reclen;
|
vfs_syscalls_43.c | 339 char *inp; /* Current-format */ local in function:compat_43_sys_getdirentries 402 inp = (char *)tbuf; 409 bdp = (struct dirent *)inp; 416 inp += reclen; /* it is a hole; squish it out */ 448 inp += reclen;
|
/src/sys/compat/linux32/common/ |
linux32_dirent.c | 104 char *inp, *tbuf; /* BSD-format */ local in function:linux32_sys_getdents 172 inp = tbuf; 179 bdp = (struct dirent *)inp; 186 inp += reclen; /* it is a hole; squish it out */ 227 inp += reclen;
|
/src/usr.bin/tcopy/ |
tcopy.c | 78 int ch, needeof, nw, inp, outp; local in function:main 138 if ((inp = open(inf, O_RDONLY, 0)) < 0) 144 verify(inp, outp, buff); 153 if ((nread = read(inp, buff, maxblk)) == -1) { 155 nread = read(inp, buff, maxblk); 226 writeop(inp, MTREW); 227 verify(inp, outp, buff); 234 verify(int inp, int outp, char *outb) 242 if ((inn = read(inp, inb, inmaxblk)) == -1) { 245 inn = read(inp, inb, inmaxblk) [all...] |
/src/sys/netinet6/ |
dccp6_usrreq.c | 117 struct inpcb *inp; local in function:dccp6_bind 123 inp = sotoinpcb(so); 124 if (inp == 0) { 126 DCCP_DEBUG((LOG_INFO, "dccp6_bind: inp == 0!\n")); 135 INP_LOCK(inp); 137 intodccpcb(inp)->inp_vflag &= ~INP_IPV4; 138 intodccpcb(inp)->inp_vflag |= INP_IPV6; 140 error = in6pcb_bind(inp, sinp, td); 141 INP_UNLOCK(inp); 149 struct inpcb *inp; local in function:dccp6_connect 235 struct inpcb *inp; local in function:dccp6_listen 266 struct inpcb *inp = NULL; local in function:dccp6_accept [all...] |
/src/sys/rump/kern/lib/libsys_cygwin/ |
rump_cygwin_compat.c | 183 char *buf, *inp, *outp; local in function:rump_cygwin_sys_getdents 215 for (inp = buf; done > 0; done -= reclen) { 216 bdp = (struct dirent *)inp; 221 inp += reclen; 237 inp += reclen;
|
/src/sys/rump/kern/lib/libsys_sunos/ |
rump_sunos_compat.c | 261 char *inp, *buf; /* BSD-format */ local in function:rump_sunos_sys_getdents 310 inp = buf; 317 bdp = (struct dirent *)inp; 329 inp += reclen; /* it is a hole; squish it out */ 358 inp += reclen;
|
/src/sys/compat/linux/common/ |
linux_file64.c | 405 char *inp, *tbuf; /* BSD-format */ local in function:linux_sys_getdents64 466 inp = tbuf; 473 bdp = (struct dirent *)inp; 480 inp += reclen; /* it is a hole; squish it out */ 512 inp += reclen;
|