Home
last modified time | relevance | path

Searched refs:tn (Results 1 – 25 of 47) sorted by relevance

12

/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_threadprivate.cpp38 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 Dsigev_thread.c308 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 Dtxg.c921 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); in txg_list_add()
926 add = (tn->tn_member[t] == 0); in txg_list_add()
928 tn->tn_member[t] = 1;
929 tn->tn_next[t] = tl->tl_head[t];
930 tl->tl_head[t] = tn;
946 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); in txg_list_add_tail()
951 add = (tn->tn_member[t] == 0); in txg_list_add_tail()
958 tn->tn_member[t] = 1;
959 tn->tn_next[t] = NULL;
960 *tp = tn;
912 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); txg_list_add() local
937 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); txg_list_add_tail() local
965 txg_node_t *tn; txg_list_remove() local
990 txg_node_t *tn, **tp; txg_list_remove_this() local
1014 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); txg_list_member() local
1027 txg_node_t *tn; txg_list_head() local
1041 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); txg_list_next() local
[all...]
/freebsd/usr.sbin/cron/crontab/
H A Dcrontab.c493 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 Dread_termcap.c960 _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 Dlib_setup.c671 _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 Dtmpfs_vnops.c1747 tmpfs_vptocnp_dir(struct tmpfs_node *tn, struct tmpfs_node *tnp, in tmpfs_vptocnp_dir()
1755 if (de->td_node == tn) { in tmpfs_vptocnp_dir()
1764 tmpfs_vptocnp_fill(struct vnode *vp, struct tmpfs_node *tn, in tmpfs_vptocnp_fill()
1774 error = tmpfs_vptocnp_dir(tn, tnp, &de); in tmpfs_vptocnp_fill()
1801 struct tmpfs_node *tn, *tnp, *tnp1; in tmpfs_vptocnp()
1814 tn = VP_TO_TMPFS_NODE(vp); in tmpfs_vptocnp()
1815 if (tn->tn_type == VDIR) { in tmpfs_vptocnp()
1816 tnp = tn->tn_dir.tn_parent; in tmpfs_vptocnp()
1820 error = tmpfs_vptocnp_fill(vp, tn, tn in tmpfs_vptocnp()
1746 tmpfs_vptocnp_dir(struct tmpfs_node * tn,struct tmpfs_node * tnp,struct tmpfs_dirent ** pde) tmpfs_vptocnp_dir() argument
1763 tmpfs_vptocnp_fill(struct vnode * vp,struct tmpfs_node * tn,struct tmpfs_node * tnp,char * buf,size_t * buflen,struct vnode ** dvp) tmpfs_vptocnp_fill() argument
1800 struct tmpfs_node *tn, *tnp, *tnp1; tmpfs_vptocnp() local
2096 tmpfs_seek_clamp(struct tmpfs_node * tn,off_t * noff,bool seekdata) tmpfs_seek_clamp() argument
2116 struct tmpfs_node *tn; tmpfs_seek_datahole() local
[all...]
/freebsd/contrib/bsnmp/snmpd/
H A Dtrap.c576 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 Dinput.c142 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 Dsym_hipd.c2222 static ccb_p sym_get_ccb (hcb_p np, u_char tn, u_char ln, u_char tag_order);
2225 static lcb_p sym_alloc_lcb (hcb_p np, u_char tn, u_char ln);
2226 static void sym_alloc_lcb_tags (hcb_p np, u_char tn, u_char ln);
6251 static ccb_p sym_get_ccb (hcb_p np, u_char tn, u_char ln, u_char tag_order) in sym_get_ccb() argument
6253 tcb_p tp = &np->target[tn]; in sym_get_ccb()
6274 lp = sym_alloc_lcb(np, tn, ln); in sym_get_ccb()
6302 sym_alloc_lcb_tags(np, tn, ln); in sym_get_ccb()
6353 cp->target = tn; in sym_get_ccb()
6357 PRINT_LUN(np, tn, ln); in sym_get_ccb()
6561 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 Dieee80211.c1952 struct ieee80211_node_txrate tn; in ieee80211_media_setup() local
1972 tn = IEEE80211_NODE_TXRATE_INIT_LEGACY(rate); in ieee80211_media_setup()
1973 mword = ieee80211_rate2media(ic, &tn, mode); in ieee80211_media_setup()
1995 tn = IEEE80211_NODE_TXRATE_INIT_LEGACY(allrates.rs_rates[i]); in ieee80211_media_setup()
1996 mword = ieee80211_rate2media(ic, &tn, IEEE80211_MODE_AUTO); in ieee80211_media_setup()
2076 struct ieee80211_node_txrate tn; in ieee80211_announce() local
2085 tn = IEEE80211_NODE_TXRATE_INIT_LEGACY(rs->rs_rates[i]); in ieee80211_announce()
2086 mword = ieee80211_rate2media(ic, &tn, mode); in ieee80211_announce()
2285 struct ieee80211_node_txrate tn; in ieee80211_media_status() local
2307 tn = IEEE80211_NODE_TXRATE_INIT_LEGACY( in ieee80211_media_status()
[all …]
/freebsd/contrib/one-true-awk/testdir/
H A Dt.stately1 …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 Damdtemp.c334 char tn[32]; in amdtemp_attach() local
520 snprintf(tn, sizeof(tn), "dev.amdtemp.%d.sensor_offset", unit); in amdtemp_attach()
521 TUNABLE_INT_FETCH(tn, &sc->sc_offset); in amdtemp_attach()
/freebsd/crypto/heimdal/appl/telnet/
H A DChangeLog386 * 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 Dvicar6 # From: Ossama Othman <othman@astrosun.tn.cornell.edu
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_mul.c371 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 Dinit.c853 struct timeval tv, tn; in single_user() local
995 tn = tv; in single_user()
997 while (tv.tv_sec > tn.tv_sec || (tv.tv_sec == in single_user()
998 tn.tv_sec && tv.tv_usec > tn.tv_usec)) { in single_user()
1000 gettimeofday(&tn, NULL); in single_user()
/freebsd/sys/dev/rl/
H A Dif_rl.c646 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 Dmain.c349 if (tn(argp - args, args) == 1) in main()
H A Dexterns.h237 int tn(int argc, char **argv);
/freebsd/sys/contrib/ncsw/Peripherals/QM/
H A Dqm_portal_fqr.c973 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 Dmain.c372 if (tn(argp - args, args) == 1) in main()
H A Dexterns.h319 tn(int, char **),
/freebsd/contrib/tcsh/nls/french/
H A Dset2040 38 %s\t\tn'est pas défini\n
/freebsd/sys/netinet/
H A Dsctp_timer.c1530 struct timeval tn, *tim_touse; in sctp_autoclose_timer() local
1534 (void)SCTP_GETTIME_TIMEVAL(&tn); in sctp_autoclose_timer()
1547 ticks_gone_by = sctp_secs_to_ticks((uint32_t)(tn.tv_sec - tim_touse->tv_sec)); in sctp_autoclose_timer()

12