Home
last modified time | relevance | path

Searched refs:ns_active (Results 1 – 6 of 6) sorted by relevance

/netbsd/src/sys/fs/nfs/nlm/
Dnlm_advlock.c66 bool_t ns_active; /* TRUE if we own a lock */ member
319 if (ns->ns_active) { in nlm_advlock_internal()
321 ns->ns_active = FALSE; in nlm_advlock_internal()
338 if (!ns->ns_active) { in nlm_advlock_internal()
348 ns->ns_active = TRUE; in nlm_advlock_internal()
359 if (ns->ns_active) { in nlm_advlock_internal()
361 ns->ns_active = FALSE; in nlm_advlock_internal()
1175 newns->ns_active = FALSE; in nlm_find_svid()
1210 KASSERT(!ns->ns_active, ("Freeing active SVID")); in nlm_free_svid()
/netbsd/src/sys/external/bsd/ipf/netinet/
Dip_nat6.c955 if ((nsp->ns_active * 100 / softn->ipf_nat_table_max) > in ipf_nat6_add()
960 if (nsp->ns_active >= softn->ipf_nat_table_max) { in ipf_nat6_add()
984 (nsp->ns_active > 100)) { in ipf_nat6_add()
985 softn->ipf_nat_table_max = nsp->ns_active - 100; in ipf_nat6_add()
Dip_nat.h545 u_int ns_active; member
Dip_nat.c2410 softn->ipf_nat_stats.ns_active--; in ipf_nat_delete()
3074 if ((nsp->ns_active * 100 / softn->ipf_nat_table_max) > in ipf_nat_add()
3079 if (nsp->ns_active >= softn->ipf_nat_table_max) { in ipf_nat_add()
3103 (nsp->ns_active > 100)) { in ipf_nat_add()
3104 softn->ipf_nat_table_max = nsp->ns_active - 100; in ipf_nat_add()
3549 softn->ipf_nat_stats.ns_active++; in ipf_nat_hashtab_add()
6796 &softn->ipf_nat_stats.ns_active, in ipf_nat_extraflush()
/netbsd/src/external/bsd/ipf/dist/tools/
Dipnat.c503 printf("%u\tactive\n", nsp->ns_active);
/netbsd/src/external/bsd/ipf/dist/
Dip_nat6.c981 if ((nsp->ns_active * 100 / softn->ipf_nat_table_max) >
986 if (nsp->ns_active >= softn->ipf_nat_table_max) {
1010 (nsp->ns_active > 100)) {
1011 softn->ipf_nat_table_max = nsp->ns_active - 100;