HomeSort by: relevance | last modified time | path
    Searched defs:nt (Results 1 - 18 of 18) sorted by relevancy

  /src/regress/sys/kern/softint1/
softint1.c 59 int nt; local in function:main
61 for (nt = sysconf(_SC_NPROCESSORS_ONLN); nt > 0; nt--) {
  /src/usr.sbin/ldpd/
notifications.c 68 struct notification_tlv *nt; local in function:send_notification
74 nt = build_notification(msg, code);
76 rv = send_tlv(p, (struct tlv *) nt);
77 free(nt);
  /src/sys/kern/
tty_bsdpty.c 91 size_t nt; local in function:pty_makename
102 nt = sizeof(TTY_OLD_SUFFIX) - 1;
106 nt = sizeof(TTY_NEW_SUFFIX) - 1;
110 bf[8] = TTY_LETTERS[minor / nt];
111 bf[9] = suffix[minor % nt];
sys_pipe.c 210 struct timespec nt; local in function:pipe1
219 getnanotime(&nt);
220 if ((error = pipe_create(&rpipe, pipe_rd_cache, &nt)) ||
221 (error = pipe_create(&wpipe, pipe_wr_cache, &nt))) {
306 pipe_create(struct pipe **pipep, pool_cache_t cache, struct timespec *nt)
315 pipe->pipe_atime = pipe->pipe_mtime = pipe->pipe_btime = *nt;
  /src/usr.bin/lastcomm/
lastcomm.c 167 time_t nt; local in function:expand
169 nt = t & 017777;
173 nt <<= 3;
175 return nt;
  /src/dist/pf/usr.sbin/ftp-proxy/
npf.c 276 nl_nat_t *nt; local in function:npf_add_nat
289 nt = npf_nat_create(NPF_NATOUT, NPF_NAT_PORTS | NPF_NAT_PORTMAP, NULL);
290 if (nt == NULL) {
294 errno = npf_nat_setaddr(nt, AF_INET, &addr, 0);
300 errno = npf_rule_setcode(nt, NPF_CODE_BPF, insns, sizeof(insns));
306 fpe->fpe_nat = nt;
310 npf_rule_destroy(nt);
320 nl_nat_t *nt; local in function:npf_add_rdr
333 nt = npf_nat_create(NPF_NATIN, NPF_NAT_PORTS, NULL);
334 if (nt == NULL)
    [all...]
  /src/sbin/dmesg/
dmesg.c 381 struct timespec nt = { sec, nsec }; local in function:main
384 timespecsub(&nt, &lasttime, &dt);
390 lasttime = nt;
  /src/sys/net80211/
ieee80211.c 819 struct ieee80211_node_table *nt; local in function:ieee80211_watchdog
825 nt = &ic->ic_scan;
826 if (nt->nt_inact_timer) {
827 if (--nt->nt_inact_timer == 0)
828 nt->nt_timeout(nt);
829 need_inact_timer += nt->nt_inact_timer;
831 nt = &ic->ic_sta;
832 if (nt->nt_inact_timer) {
833 if (--nt->nt_inact_timer == 0
    [all...]
ieee80211_ioctl.c 1076 struct ieee80211_node_table *nt; local in function:ieee80211_ioctl_getscanresults
1086 nt = &ic->ic_scan;
1087 TAILQ_FOREACH(ni, &nt->nt_node, ni_list) {
ieee80211_node.c 102 struct ieee80211_node_table *nt, const char *name,
105 static void ieee80211_node_table_cleanup(struct ieee80211_node_table *nt);
405 struct ieee80211_node_table *nt; local in function:ieee80211_create_ibss
417 nt = &ic->ic_sta;
418 IEEE80211_NODE_LOCK(nt);
420 nt->nt_name = "station";
421 nt->nt_inact_init = ic->ic_inact_init;
423 nt->nt_name = "neighbor";
424 nt->nt_inact_init = ic->ic_inact_run;
426 IEEE80211_NODE_UNLOCK(nt);
657 struct ieee80211_node_table *nt = &ic->ic_scan; local in function:ieee80211_end_scan
837 struct ieee80211_node_table *nt; local in function:ieee80211_sta_join
1267 struct ieee80211_node_table *nt = &ic->ic_scan; local in function:ieee80211_add_scan
1422 struct ieee80211_node_table *nt; local in function:ieee80211_find_rxnode_debug
1465 struct ieee80211_node_table *nt; local in function:ieee80211_find_rxnode_withkey_debug
1527 struct ieee80211_node_table *nt = &ic->ic_sta; local in function:ieee80211_find_txnode_debug
1613 struct ieee80211_node_table *nt = ni0->ni_table; local in function:ieee80211_refine_node_for_beacon
1720 struct ieee80211_node_table *nt = ni->ni_table; local in function:_ieee80211_free_node
1742 struct ieee80211_node_table *nt = ni->ni_table; local in function:ieee80211_free_node_debug
1789 struct ieee80211_node_table *nt = &ic->ic_sta; local in function:ieee80211_node_delucastkey
2346 struct ieee80211_node_table *nt = ni->ni_table; local in function:ieee80211_node_leave
2406 struct ieee80211_node_table *nt = &ic->ic_sta; local in function:ieee80211_getrssi
    [all...]
  /src/usr.sbin/timed/timed/
timed.c 132 struct nets *nt; local in function:main
248 for (nt = nets; nt; nt = nt->next) {
249 nentp = getnetbyname(nt->name);
251 nt->net = inet_network(nt->name);
252 if (nt->net != INADDR_NONE)
253 nentp = getnetbyaddr(nt->net, AF_INET)
    [all...]
  /src/usr.sbin/sysinst/
disklabel.c 428 scripting_fprintf(f, "\t:nc#%d:nt#%d:ns#%d:\\\n",
672 struct dl_custom_ptype *nt; local in function:disklabel_find_type
674 nt = realloc(dl_custom_ptypes, dl_custom_ptype_count+1);
675 if (nt == NULL)
677 dl_custom_ptypes = nt;
678 nt = dl_custom_ptypes + dl_custom_ptype_count;
680 memset(nt, 0, sizeof(*nt));
681 nt->type = type;
682 snprintf(nt->short_desc, sizeof(nt->short_desc), "%u", type)
727 size_t nt; local in function:disklabel_get_generic_type
    [all...]
  /src/sys/net/npf/
npf_nat.c 306 npf_nat_t *nt; local in function:npf_natpolicy_destroy
309 LIST_FOREACH(nt, &np->n_nat_list, nt_entry) {
310 npf_conn_t *con = nt->nt_conn;
331 npf_nat_t *nt; local in function:npf_nat_freealg
334 LIST_FOREACH(nt, &np->n_nat_list, nt_entry) {
335 if (nt->nt_alg == alg) {
336 npf_alg_destroy(np->n_npfctx, alg, nt, nt->nt_conn);
337 nt->nt_alg = NULL;
484 npf_nat_t *nt; local in function:npf_nat_create
651 npf_nat_t *nt; local in function:npf_nat_share_policy
683 npf_nat_t *nt; local in function:npf_nat_lookup
722 npf_nat_t *nt; local in function:npf_do_nat
933 npf_nat_t *nt; local in function:npf_nat_import
    [all...]
  /src/usr.sbin/npf/npfctl/
npf_show.c 697 npfctl_print_nat(npf_conf_info_t *ctx, nl_nat_t *nt)
700 nl_rule_t *rl = (nl_nat_t *)nt;
711 flags = npf_nat_getflags(nt);
723 addr = npf_nat_getaddr(nt, &alen, &mask);
727 const unsigned tid = npf_nat_gettable(nt);
735 if ((port = npf_nat_getport(nt)) != 0) {
743 switch (npf_nat_gettype(nt)) {
757 switch (npf_nat_getalgo(nt)) {
855 nl_nat_t *nt; local in function:npfctl_config_show
877 while ((nt = npf_nat_iterate(ncf, &i)) != NULL)
    [all...]
  /src/sys/dev/ic/
isp_library.c 2417 isp_notify_t nt; local in function:isp_add_wwn_entry
2523 ISP_MEMZERO(&nt, sizeof (nt));
2524 nt.nt_hba = isp;
2525 nt.nt_wwn = ini;
2526 nt.nt_tgt = FCPARAM(isp, chan)->isp_wwpn;
2527 nt.nt_sid = s_id;
2528 nt.nt_did = FCPARAM(isp, chan)->isp_portid;
2529 nt.nt_nphdl = nphdl;
2530 nt.nt_channel = chan
2542 isp_notify_t nt; local in function:isp_del_wwn_entry
    [all...]
  /src/sys/external/bsd/ipf/netinet/
ip_nat.c 985 ipnat_t *nat, *nt, *n; local in function:ipf_nat_ioctl
1014 nt = NULL;
1039 KMALLOCS(nt, ipnat_t *, natd->in_size);
1040 if (nt == NULL) {
1045 bzero(nt, natd->in_size);
1046 error = ipf_inobjsz(softc, data, nt, IPFOBJ_IPNAT,
1050 nat = nt;
1149 } else if (nt == NULL) {
1157 if (nat != nt)
1158 bcopy((char *)nat, (char *)nt, sizeof(*n))
    [all...]
fil.c 6847 ipftuneable_t *nt, *dt; local in function:ipf_tune_add_array
6850 for (nt = newtune; nt->ipft_name != NULL; nt++) {
6851 error = ipf_tune_add(softc, nt);
6853 for (dt = newtune; dt != nt; dt++) {
  /src/usr.bin/xlint/lint1/
tree.c 1636 tspec_t nt = ntp->t_tspec, ot = otp->t_tspec; local in function:is_cast_redundant
1638 if (nt == BOOL || ot == BOOL)
1639 return nt == BOOL && ot == BOOL;
1641 if (is_integer(nt) && is_integer(ot)) {
1643 if (is_uinteger(nt) == is_uinteger(ot))
1648 if (is_complex(nt) || is_complex(ot))
1649 return is_complex(nt) && is_complex(ot) &&
1650 size_in_bits(nt) >= size_in_bits(ot);
1652 if (is_floating(nt) && is_floating(ot))
1653 return size_in_bits(nt) >= size_in_bits(ot)
3577 tspec_t nt = allow_c90 ? promote_c90(tn, ot, farg) : promote_trad(ot); local in function:promote
3952 tspec_t nt = tp->t_tspec; local in function:convert
4248 tspec_t nt = nv->v_tspec = ntp->t_tspec; local in function:convert_constant
4475 tspec_t nt = tp->t_tspec; local in function:cast
    [all...]

Completed in 33 milliseconds