| /src/lib/libc/compat/sys/ |
| compat_statfs.c | 69 struct statvfs nst; variable in typeref:struct:statvfs 72 if ((ret = __statvfs90(file, &nst)) == -1) 74 statvfs_to_statfs12(&nst, ost); 81 struct statvfs nst; local in function:__compat_fstatfs 84 if ((ret = __fstatvfs90(f, &nst)) == -1) 86 statvfs_to_statfs12(&nst, ost); 93 struct statvfs nst; local in function:__compat_fhstatfs 96 if ((ret = __fhstatvfs190(fh, FHANDLE30_SIZE, &nst, ST_WAIT)) == -1) 98 statvfs_to_statfs12(&nst, ost); 105 struct statvfs *nst; local in function:__compat_getfsstat [all...] |
| compat___stat13.c | 101 struct stat nst; local in function:__compat___stat13 104 if ((ret = __stat50(file, &nst)) == -1) 106 cvtstat(ost, &nst); 113 struct stat nst; local in function:__compat___fstat13 116 if ((ret = __fstat50(f, &nst)) == -1) 118 cvtstat(ost, &nst); 125 struct stat nst; local in function:__compat___lstat13 128 if ((ret = __lstat50(file, &nst)) == -1) 130 cvtstat(ost, &nst); 137 struct stat nst; local in function:__compat_fhstat [all...] |
| compat___stat30.c | 98 struct stat nst; local in function:__compat___stat30 101 if ((ret = __stat50(file, &nst)) == -1) 103 cvtstat(ost, &nst); 110 struct stat nst; local in function:__compat___fstat30 113 if ((ret = __fstat50(f, &nst)) == -1) 115 cvtstat(ost, &nst); 122 struct stat nst; local in function:__compat___lstat30 125 if ((ret = __lstat50(file, &nst)) == -1) 127 cvtstat(ost, &nst); 134 struct stat nst; local in function:__compat___fhstat40 [all...] |
| compat_stat.c | 95 struct stat nst; local in function:__compat_stat 98 if ((ret = __stat50(file, &nst)) < 0) 100 cvtstat(&nst, ost); 107 struct stat nst; local in function:__compat_fstat 110 if ((ret = __fstat50(f, &nst)) < 0) 112 cvtstat(&nst, ost); 119 struct stat nst; local in function:__compat_lstat 122 if ((ret = __lstat50(file, &nst)) < 0) 124 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 in function:ATF_TC_BODY 78 ATF_REQUIRE(stat(TARGET, &nst) == 0); 79 ATF_REQUIRE(ost.st_ino == nst.st_ino); 91 struct stat ost, nst; local in function:ATF_TC_BODY 101 ATF_REQUIRE(stat(TARGET, &nst) == 0); 102 ATF_REQUIRE(ost.st_ino == nst.st_ino); 150 struct stat ost, nst; local in function:ATF_TC_BODY 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 in function:ATF_TC_BODY [all...] |
| t_symlinkat.c | 62 struct stat ost, nst; local in function:ATF_TC_BODY 74 ATF_REQUIRE(stat(LINK, &nst) == 0); 75 ATF_REQUIRE(ost.st_ino == nst.st_ino); 87 struct stat ost, nst; local in function:ATF_TC_BODY 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 in function:ATF_TC_BODY 77 ATF_REQUIRE(stat(TARGET, &nst) == 0); 78 ATF_REQUIRE(ost.st_ino == nst.st_ino); 91 struct stat ost, nst; local in function:ATF_TC_BODY 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 in function:npf_state_test 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 | 3837 should_warn_about_pointer_cast(const type_t *nstp, tspec_t nst, 3841 while (nst == ARRAY) 3842 nstp = nstp->t_subt, nst = nstp->t_tspec; 3846 if (nst == STRUCT && ost == STRUCT && 3854 if (nst == CHAR || nst == UCHAR) 3860 if (nst == STRUCT && ost == STRUCT) { 3875 if (nst == UNION || ost == UNION) { 3876 const type_t *union_tp = nst == UNION ? nstp : ostp; 3877 const type_t *other_tp = nst == UNION ? ostp : nstp 3899 tspec_t nst = nstp->t_tspec; local in function:convert_pointer_from_pointer [all...] |