| /freebsd/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_threadprivate.cpp | 38 struct private_common *tn; in __kmp_threadprivate_find_task_common() local 47 for (tn = tbl->data[KMP_HASH(pc_addr)]; tn; tn = tn->next) { in __kmp_threadprivate_find_task_common() 48 if (tn->gbl_addr == pc_addr) { in __kmp_threadprivate_find_task_common() 54 return tn; in __kmp_threadprivate_find_task_common() 67 struct shared_common *tn; in __kmp_find_shared_task_common() local 69 for (tn = tbl->data[KMP_HASH(pc_addr)]; tn; tn = tn->next) { in __kmp_find_shared_task_common() 70 if (tn->gbl_addr == pc_addr) { in __kmp_find_shared_task_common() 77 return tn; in __kmp_find_shared_task_common() 168 struct private_common *tn; in __kmp_common_destroy() local 183 tn = __kmp_threadprivate_find_task_common( in __kmp_common_destroy() [all …]
|
| /freebsd/lib/librt/ |
| H A D | sigev_thread.c | 308 struct sigev_thread *tn; in sigev_thread_create() local 319 tn = malloc(sizeof(*tn)); in sigev_thread_create() 320 tn->tn_cur = NULL; in sigev_thread_create() 321 tn->tn_lwpid = -1; in sigev_thread_create() 322 tn->tn_refcount = 1; in sigev_thread_create() 323 _pthread_cond_init(&tn->tn_cv, NULL); in sigev_thread_create() 327 LIST_INSERT_HEAD(&sigev_threads, tn, tn_link); in sigev_thread_create() 337 ret = _pthread_create(&tn->tn_thread, &sigev_default_attr, in sigev_thread_create() 338 sigev_service_loop, tn); in sigev_thread_create() 343 LIST_REMOVE(tn, tn_link); in sigev_thread_create() [all …]
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | txg.c | 941 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); in txg_list_add() local 946 add = (tn->tn_member[t] == 0); in txg_list_add() 948 tn->tn_member[t] = 1; in txg_list_add() 949 tn->tn_next[t] = tl->tl_head[t]; in txg_list_add() 950 tl->tl_head[t] = tn; in txg_list_add() 966 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); in txg_list_add_tail() local 971 add = (tn->tn_member[t] == 0); in txg_list_add_tail() 978 tn->tn_member[t] = 1; in txg_list_add_tail() 979 tn->tn_next[t] = NULL; in txg_list_add_tail() 980 *tp = tn; in txg_list_add_tail() [all …]
|
| /freebsd/usr.sbin/cron/crontab/ |
| H A D | crontab.c | 493 char n[MAX_FNAME], envstr[MAX_ENVSTR], tn[MAX_FNAME]; local 506 if (snprintf(tn, sizeof(tn), CRON_TAB(n)) >= (int)sizeof(tn)) { 511 if (!(tmp = fopen(tn, "w+"))) { 512 warn("%s", tn); 534 warnx("error while writing new crontab to %s", tn); 535 fclose(tmp); unlink(tn); 565 fclose(tmp); unlink(tn); 572 if (chown(tn, ROOT_UID, -1) < OK) 576 fclose(tmp); unlink(tn); 583 if (chmod(tn, 0600) < OK) [all …]
|
| /freebsd/contrib/ncurses/ncurses/tinfo/ |
| H A D | read_termcap.c | 960 _nc_read_termcap_entry(const char *const tn, TERMTYPE2 *const tp) in _nc_read_termcap_entry() argument 975 TR(TRACE_DATABASE, ("read termcap entry for %s", tn)); in _nc_read_termcap_entry() 977 if (strlen(tn) == 0 in _nc_read_termcap_entry() 978 || strcmp(tn, ".") == 0 in _nc_read_termcap_entry() 979 || strcmp(tn, "..") == 0 in _nc_read_termcap_entry() 980 || _nc_pathlast(tn) != 0) { in _nc_read_termcap_entry() 981 TR(TRACE_DATABASE, ("illegal or missing entry name '%s'", tn)); in _nc_read_termcap_entry() 986 && !_nc_is_abs_path(p) && _nc_name_match(p, tn, "|:")) { in _nc_read_termcap_entry() 992 if ((status = _nc_tgetent(tc, &source, &lineno, tn)) < 0) in _nc_read_termcap_entry() 1048 } else if (_nc_name_match(tc, tn, "|:")) { /* treat as a capability file */ in _nc_read_termcap_entry() [all …]
|
| H A D | lib_setup.c | 671 _nc_setup_tinfo(const char *const tn, TERMTYPE2 *const tp) in _nc_setup_tinfo() argument 674 int status = _nc_read_entry2(tn, filename, tp); in _nc_setup_tinfo()
|
| /freebsd/sys/fs/tmpfs/ |
| H A D | tmpfs_vnops.c | 1748 tmpfs_vptocnp_dir(struct tmpfs_node *tn, struct tmpfs_node *tnp, in tmpfs_vptocnp_dir() argument 1756 if (de->td_node == tn) { in tmpfs_vptocnp_dir() 1765 tmpfs_vptocnp_fill(struct vnode *vp, struct tmpfs_node *tn, in tmpfs_vptocnp_fill() argument 1775 error = tmpfs_vptocnp_dir(tn, tnp, &de); in tmpfs_vptocnp_fill() 1802 struct tmpfs_node *tn, *tnp, *tnp1; in tmpfs_vptocnp() local 1815 tn = VP_TO_TMPFS_NODE(vp); in tmpfs_vptocnp() 1816 if (tn->tn_type == VDIR) { in tmpfs_vptocnp() 1817 tnp = tn->tn_dir.tn_parent; in tmpfs_vptocnp() 1821 error = tmpfs_vptocnp_fill(vp, tn, tn->tn_dir.tn_parent, buf, in tmpfs_vptocnp() 1842 error = tnp->tn_vnode == NULL ? tmpfs_vptocnp_dir(tn, tnp, in tmpfs_vptocnp() [all …]
|
| /freebsd/contrib/bsnmp/snmpd/ |
| H A D | trap.c | 576 SLIST_FOREACH(n, &target_notifylist, tn) { in snmp_send_trap() 831 return (SLIST_NEXT(notify, tn)); in target_next_notify() 840 SLIST_FOREACH(notify, &target_notifylist, tn) in target_new_notify() 852 SLIST_INSERT_HEAD(&target_notifylist, notify, tn); in target_new_notify() 856 SLIST_FOREACH(temp, &target_notifylist, tn) { in target_new_notify() 863 SLIST_INSERT_AFTER(prev, notify, tn); in target_new_notify() 865 SLIST_INSERT_AFTER(temp, notify, tn); in target_new_notify() 878 SLIST_REMOVE(&target_notifylist, notify, target_notify, tn); in target_delete_notify() 906 SLIST_REMOVE_HEAD(&target_notifylist, tn); in target_flush_all()
|
| /freebsd/sbin/routed/ |
| H A D | input.c | 142 struct tgate_net *tn; in input() local 682 if (tg && (tn = tg->tgate_nets)->mask != 0) { in input() 683 for (i = 0; i < MAX_TGATE_NETS; i++, tn++) { in input() 684 if (on_net(dst, tn->net, tn->mask) in input() 685 && tn->mask <= mask) in input() 688 if (i >= MAX_TGATE_NETS || tn->mask == 0) { in input()
|
| /freebsd/sys/dev/sym/ |
| H A D | sym_hipd.c | 2217 static ccb_p sym_get_ccb (hcb_p np, u_char tn, u_char ln, u_char tag_order); 2220 static lcb_p sym_alloc_lcb (hcb_p np, u_char tn, u_char ln); 2221 static void sym_alloc_lcb_tags (hcb_p np, u_char tn, u_char ln); 6247 static ccb_p sym_get_ccb (hcb_p np, u_char tn, u_char ln, u_char tag_order) in sym_get_ccb() argument 6249 tcb_p tp = &np->target[tn]; in sym_get_ccb() 6270 lp = sym_alloc_lcb(np, tn, ln); in sym_get_ccb() 6298 sym_alloc_lcb_tags(np, tn, ln); in sym_get_ccb() 6349 cp->target = tn; in sym_get_ccb() 6353 PRINT_LUN(np, tn, ln); in sym_get_ccb() 6557 static lcb_p sym_alloc_lcb (hcb_p np, u_char tn, u_char ln) in sym_alloc_lcb() argument [all …]
|
| /freebsd/sys/net80211/ |
| H A D | ieee80211.c | 1939 struct ieee80211_node_txrate tn; in ieee80211_media_setup() local 1959 tn = IEEE80211_NODE_TXRATE_INIT_LEGACY(rate); in ieee80211_media_setup() 1960 mword = ieee80211_rate2media(ic, &tn, mode); in ieee80211_media_setup() 1982 tn = IEEE80211_NODE_TXRATE_INIT_LEGACY(allrates.rs_rates[i]); in ieee80211_media_setup() 1983 mword = ieee80211_rate2media(ic, &tn, IEEE80211_MODE_AUTO); in ieee80211_media_setup() 2063 struct ieee80211_node_txrate tn; in ieee80211_announce() local 2072 tn = IEEE80211_NODE_TXRATE_INIT_LEGACY(rs->rs_rates[i]); in ieee80211_announce() 2073 mword = ieee80211_rate2media(ic, &tn, mode); in ieee80211_announce() 2272 struct ieee80211_node_txrate tn; in ieee80211_media_status() local 2294 tn = IEEE80211_NODE_TXRATE_INIT_LEGACY( in ieee80211_media_status() [all …]
|
| /freebsd/contrib/one-true-awk/testdir/ |
| H A D | t.stately | 1 …ky|la|me|md|ma|mi|mn|ms|mo|mt|nb|nv|nh|nj|nm|ny|nc|nd|oh|ok|or|pa|ri|sc|sd|tn|tx|ut|vt|va|wa|wv|wi…
|
| /freebsd/sys/dev/amdtemp/ |
| H A D | amdtemp.c | 353 char tn[32]; in amdtemp_attach() local 539 snprintf(tn, sizeof(tn), "dev.amdtemp.%d.sensor_offset", unit); in amdtemp_attach() 540 TUNABLE_INT_FETCH(tn, &sc->sc_offset); in amdtemp_attach()
|
| /freebsd/crypto/heimdal/appl/telnet/ |
| H A D | ChangeLog | 386 * telnet/commands.c (tn): copy the hostname so it doesn't get 477 * telnet/commands.c (tn): re-enable source routing 483 * telnet/commands.c (tn): clean-up a tiny little bit. give-up if 501 * telnet/commands.c (tn): only set tos for AF_INET. From 533 * telnet/commands.c (tn): handle ai_canonname being set in any of 602 * telnet/commands.c (tn): extra bogus const-cast 627 * telnet/commands.c (tn): use get_default_username 698 * telnet/commands.c (tn): only call gethostbyname2 with AF_INET6 716 * telnet/commands.c (tn): don't advance hostent->h_addr_list, use 733 * telnet/commands.c (tn): moved the printing of `trying...' to the [all …]
|
| /freebsd/contrib/file/magic/Magdir/ |
| H A D | vicar | 6 # From: Ossama Othman <othman@astrosun.tn.cornell.edu
|
| /freebsd/crypto/openssl/crypto/bn/ |
| H A D | bn_mul.c | 371 bn_mul_normal(&(r[n2]), &(a[n]), tn, &(b[n]), tn); in bn_mul_part_recursive() 372 memset(&r[n2 + tn * 2], 0, sizeof(*r) * (n2 - tn * 2)); in bn_mul_part_recursive()
|
| /freebsd/sbin/init/ |
| H A D | init.c | 853 struct timeval tv, tn; in single_user() local 1003 tn = tv; in single_user() 1005 while (tv.tv_sec > tn.tv_sec || (tv.tv_sec == in single_user() 1006 tn.tv_sec && tv.tv_usec > tn.tv_usec)) { in single_user() 1008 gettimeofday(&tn, NULL); in single_user()
|
| /freebsd/sys/dev/rl/ |
| H A D | if_rl.c | 646 char tn[32]; in rl_attach() local 653 snprintf(tn, sizeof(tn), "dev.rl.%d.twister_enable", unit); in rl_attach() 654 TUNABLE_INT_FETCH(tn, &sc->rl_twister_enable); in rl_attach() 676 snprintf(tn, sizeof(tn), "dev.rl.%d.prefer_iomap", unit); in rl_attach() 677 TUNABLE_INT_FETCH(tn, &prefer_iomap); in rl_attach()
|
| /freebsd/crypto/heimdal/appl/telnet/telnet/ |
| H A D | main.c | 349 if (tn(argp - args, args) == 1) in main()
|
| H A D | externs.h | 237 int tn(int argc, char **argv);
|
| /freebsd/sys/contrib/ncsw/Peripherals/QM/ |
| H A D | qm_portal_fqr.c | 973 uint32_t tmpA, tmpN, ta=0, tn=0, initFqFlag; in qm_new_fq() local 1049 tn = tmpN; in qm_new_fq() 1053 fq_opts.fqd.td.exp = tn; in qm_new_fq() 1106 tn = tmpN; in qm_new_fq() 1110 fq_opts.fqd.td.exp = tn; in qm_new_fq() 2297 uint32_t tmpA, tmpN, ta=0, tn=0; in QM_CG_Create() local 2453 tn = tmpN; in QM_CG_Create() 2458 p_Mcc->initcgr.cgr.cs_thres.Tn = tn; in QM_CG_Create() 2674 uint32_t tmpA, tmpN, ta=0, tn=0; in QM_CG_ModifyTailDropThreshold() local 2713 tn = tmpN; in QM_CG_ModifyTailDropThreshold() [all …]
|
| /freebsd/contrib/telnet/telnet/ |
| H A D | main.c | 372 if (tn(argp - args, args) == 1) in main()
|
| H A D | externs.h | 319 tn(int, char **),
|
| /freebsd/contrib/tcsh/nls/french/ |
| H A D | set20 | 40 38 %s\t\tn'est pas défini\n
|
| /freebsd/sys/netinet/ |
| H A D | sctp_timer.c | 1529 struct timeval tn, *tim_touse; in sctp_autoclose_timer() local 1533 (void)SCTP_GETTIME_TIMEVAL(&tn); in sctp_autoclose_timer() 1546 ticks_gone_by = sctp_secs_to_ticks((uint32_t)(tn.tv_sec - tim_touse->tv_sec)); in sctp_autoclose_timer()
|