| /src/lib/libc/compat/sys/ |
| compat_statfs.c | 69 struct statvfs nst; local 72 if ((ret = __statvfs90(file, &nst)) == -1) 74 statvfs_to_statfs12(&nst, ost); 81 struct statvfs nst; local 84 if ((ret = __fstatvfs90(f, &nst)) == -1) 86 statvfs_to_statfs12(&nst, ost); 93 struct statvfs nst; local 96 if ((ret = __fhstatvfs190(fh, FHANDLE30_SIZE, &nst, ST_WAIT)) == -1) 98 statvfs_to_statfs12(&nst, ost); 105 struct statvfs *nst; local [all...] |
| compat___stat13.c | 97 struct stat nst; local 100 if ((ret = __stat50(file, &nst)) == -1) 102 cvtstat(ost, &nst); 109 struct stat nst; local 112 if ((ret = __fstat50(f, &nst)) == -1) 114 cvtstat(ost, &nst); 121 struct stat nst; local 124 if ((ret = __lstat50(file, &nst)) == -1) 126 cvtstat(ost, &nst); 133 struct stat nst; local [all...] |
| compat___stat30.c | 94 struct stat nst; local 97 if ((ret = __stat50(file, &nst)) == -1) 99 cvtstat(ost, &nst); 106 struct stat nst; local 109 if ((ret = __fstat50(f, &nst)) == -1) 111 cvtstat(ost, &nst); 118 struct stat nst; local 121 if ((ret = __lstat50(file, &nst)) == -1) 123 cvtstat(ost, &nst); 130 struct stat nst; local [all...] |
| compat_stat.c | 91 struct stat nst; local 94 if ((ret = __stat50(file, &nst)) < 0) 96 cvtstat(&nst, ost); 103 struct stat nst; local 106 if ((ret = __fstat50(f, &nst)) < 0) 108 cvtstat(&nst, ost); 115 struct stat nst; local 118 if ((ret = __lstat50(file, &nst)) < 0) 120 cvtstat(&nst, ost);
|
| /src/sys/net/npf/ |
| npf_state.c | 145 npf_state_init(npf_cache_t *npc, npf_state_t *nst) 153 memset(nst, 0, sizeof(npf_state_t)); 158 ret = npf_state_tcp(npc, nst, NPF_FLOW_FORW); 164 nst->nst_state = npf_generic_fsm[nst->nst_state][NPF_FLOW_FORW]; 170 NPF_STATE_SAMPLE(nst, ret); 175 npf_state_destroy(npf_state_t *nst) 177 nst->nst_state = 0; 187 npf_state_inspect(npf_cache_t *npc, npf_state_t *nst, const npf_flow_t flow) 195 ret = npf_state_tcp(npc, nst, flow) [all...] |
| npf_state_tcp.c | 292 npf_tcp_inwindow(npf_cache_t *npc, npf_state_t *nst, const npf_flow_t flow) 332 fstate = &nst->nst_tcpst[flow]; 333 tstate = &nst->nst_tcpst[!flow]; 392 if (seq == 0 && nst->nst_state == NPF_TCPS_SYN_SENT) { 458 npf_state_tcp(npf_cache_t *npc, npf_state_t *nst, npf_flow_t flow) 461 const unsigned tcpfl = th->th_flags, state = nst->nst_state; 464 KASSERT(nst->nst_state < NPF_TCP_NSTATES); 478 if (!npf_tcp_inwindow(npc, nst, flow)) { 485 nst->nst_state = nstate; 490 npf_state_tcp_timeout(npf_t *npf, const npf_state_t *nst) [all...] |
| /src/tests/lib/libc/c063/ |
| t_linkat.c | 64 struct stat ost, nst; local 78 ATF_REQUIRE(stat(TARGET, &nst) == 0); 79 ATF_REQUIRE(ost.st_ino == nst.st_ino); 91 struct stat ost, nst; local 101 ATF_REQUIRE(stat(TARGET, &nst) == 0); 102 ATF_REQUIRE(ost.st_ino == nst.st_ino); 150 struct stat ost, nst; local 166 ATF_REQUIRE(lstat(TARGET, &nst) == 0); 167 ATF_REQUIRE(ost.st_ino != nst.st_ino); 170 ATF_REQUIRE(lstat(TARGET, &nst) == 0) 183 struct stat ost, nst; local [all...] |
| t_symlinkat.c | 62 struct stat ost, nst; local 74 ATF_REQUIRE(stat(LINK, &nst) == 0); 75 ATF_REQUIRE(ost.st_ino == nst.st_ino); 87 struct stat ost, nst; local 97 ATF_REQUIRE(stat(LINK, &nst) == 0); 98 ATF_REQUIRE(ost.st_ino == nst.st_ino);
|
| t_renameat.c | 62 struct stat ost, nst; local 77 ATF_REQUIRE(stat(TARGET, &nst) == 0); 78 ATF_REQUIRE(ost.st_ino == nst.st_ino); 91 struct stat ost, nst; local 102 ATF_REQUIRE(stat(TARGET, &nst) == 0); 103 ATF_REQUIRE(ost.st_ino == nst.st_ino);
|
| /src/usr.sbin/npf/npftest/libnpftest/ |
| npf_state_test.c | 134 process_packet(const int i, npf_state_t *nst, bool *snew) 141 npf_state_destroy(nst); 148 ret = npf_state_init(npc, nst); 152 ret = npf_state_inspect(npc, nst, 162 npf_state_t nst; local 167 if (process_packet(i, &nst, &snew)) { 172 npf_state_dump(&nst);
|
| npf_test_subr.c | 212 npf_state_sample(npf_state_t *nst, bool retval) 215 cstream_ptr = nst; 216 memcpy(&cstream_state, nst, sizeof(npf_state_t));
|
| /src/usr.bin/xlint/lint1/ |
| tree.c | 3899 should_warn_about_pointer_cast(const type_t *nstp, tspec_t nst, 3903 while (nst == ARRAY) 3904 nstp = nstp->t_subt, nst = nstp->t_tspec; 3908 if (nst == STRUCT && ost == STRUCT && 3916 if (nst == CHAR || nst == UCHAR) 3922 if (nst == STRUCT && ost == STRUCT) { 3937 if (nst == UNION || ost == UNION) { 3938 const type_t *union_tp = nst == UNION ? nstp : ostp; 3939 const type_t *other_tp = nst == UNION ? ostp : nstp 3961 tspec_t nst = nstp->t_tspec; local [all...] |