| /src/sys/external/bsd/drm2/include/drm/ |
| task_barrier.h | 44 task_barrier_init(struct task_barrier *tb) 47 mutex_init(&tb->tb_lock, MUTEX_DEFAULT, IPL_VM); 48 cv_init(&tb->tb_cv, "taskbar"); 49 tb->tb_cur = 0; 50 tb->tb_gen = 0; 51 tb->tb_max = 0; 55 task_barrier_destroy(struct task_barrier *tb) 58 KASSERT(tb->tb_cur == 0); 59 cv_destroy(&tb->tb_cv); 60 mutex_destroy(&tb->tb_lock) [all...] |
| /src/sys/external/bsd/drm2/dist/include/drm/ |
| task_barrier.h | 57 static inline void task_barrier_init(struct task_barrier *tb) 59 tb->n = 0; 60 atomic_set(&tb->count, 0); 61 sema_init(&tb->enter_turnstile, 0); 62 sema_init(&tb->exit_turnstile, 0); 65 static inline void task_barrier_add_task(struct task_barrier *tb) 67 tb->n++; 70 static inline void task_barrier_rem_task(struct task_barrier *tb) 72 tb->n--; 80 static inline void task_barrier_enter(struct task_barrier *tb) [all...] |
| /src/sys/arch/bebox/stand/boot/ |
| clock.c | 46 u_quad_t tb; local 49 : "=r"(tb), "=r"(scratch)); 50 return (tb); 59 u_quad_t tb; local 62 tb = mftb(); 63 tb += (n * 1000 + NS_PER_TICK - 1) / NS_PER_TICK; 64 tbh = tb >> 32; 65 tbl = tb;
|
| /src/sys/arch/prep/stand/boot/ |
| clock.c | 51 u_quad_t tb; local 54 : "=r"(tb), "=r"(scratch)); 55 return (tb); 75 u_quad_t tb; local 98 tb = mftb(); 99 tb += (n * 1000 + ns_per_tick - 1) / ns_per_tick; 100 tbh = tb >> 32; 101 tbl = tb;
|
| /src/sys/arch/rs6000/stand/boot/ |
| clock.c | 51 u_quad_t tb; local 54 : "=r"(tb), "=r"(scratch)); 55 return (tb); 75 u_quad_t tb; local 99 tb = mftb(); 100 tb += (n * 1000 + ns_per_tick - 1) / ns_per_tick; 101 tbh = tb >> 32; 102 tbl = tb;
|
| /src/sys/arch/powerpc/powerpc/ |
| clock.c | 144 u_long tb; local 177 tb = rtc_nanosecs(); 180 __asm volatile ("mftb %0" : "=r"(tb)); 182 ci->ci_lasttb = tb + ticks - ticks_per_intr; 207 uint64_t tb, scratch; local 209 uint64_t tb; 235 tb = mftb(); 237 tb += (n / 1000ULL) * ticks_per_msec; 240 tb += (n * 1000ULL + ns_per_tick - 1) / ns_per_tick; 243 : "=&r"(scratch) : "r"(tb) 259 u_long tb; local 275 u_long tb; local [all...] |
| /src/external/bsd/wpa/dist/src/drivers/ |
| driver_nl80211_event.c | 345 struct nlattr *tb[NL80211_ATTR_MAX + 1]; local 351 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), 354 if (!tb[NL80211_ATTR_VENDOR_DATA]) { 360 nla_data(tb[NL80211_ATTR_VENDOR_DATA]), 361 nla_len(tb[NL80211_ATTR_VENDOR_DATA]), NULL); 429 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_LINK_RECONFIG_MAX + 1]; local 437 if (nla_parse(tb, QCA_WLAN_VENDOR_ATTR_LINK_RECONFIG_MAX, 439 !tb[QCA_WLAN_VENDOR_ATTR_LINK_RECONFIG_AP_MLD_ADDR]) 442 ap_mld = nla_data(tb[QCA_WLAN_VENDOR_ATTR_LINK_RECONFIG_AP_MLD_ADDR]); 468 if (!tb[QCA_WLAN_VENDOR_ATTR_LINK_RECONFIG_REMOVED_LINKS] 503 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_MLO_LINK_MAX + 1]; local 542 struct nlattr *tb[NL80211_ATTR_MAX + 1]; local 791 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_TID_TO_LINK_MAP_MAX + 1]; local 2681 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_ACS_MAX + 1]; local 2776 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_MAX + 1]; local 2843 struct nlattr *tb[NL80211_ATTR_MAX + 1]; local 2938 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_SCAN_MAX + 1]; local 3031 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_SCAN_MAX + 1]; local 3071 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_MAX + 1]; local 3100 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_MAX + 1]; local 3230 struct nlattr *tb[BRCM_VENDOR_ATTR_ACS_LAST + 1]; local 3441 struct nlattr *tb[NL80211_FREQUENCY_ATTR_MAX + 1]; local 4147 struct nlattr *tb[NL80211_ATTR_MAX + 1]; local 4233 struct nlattr *tb[NL80211_ATTR_MAX + 1]; local [all...] |
| driver_nl80211_capa.c | 106 struct nlattr *tb) 111 if (tb == NULL) 114 nla_for_each_nested(nl_mode, tb, i) { 206 struct nlattr *tb) 211 if (tb == NULL) 214 nla_for_each_nested(nl_combi, tb, rem_combi) { 222 struct nlattr *tb) 227 if (tb == NULL) 230 nla_for_each_nested(nl_cmd, tb, i) { 258 static unsigned int get_akm_suites_info(struct nlattr *tb) 349 struct nlattr *tb[NL80211_IFTYPE_AKM_ATTR_MAX + 1]; local 942 struct nlattr *tb[NL80211_ATTR_MAX + 1]; local 1273 struct nlattr *tb[NL80211_ATTR_MAX + 1]; local 1332 struct nlattr *tb[NL80211_ATTR_MAX + 1]; local 2028 struct nlattr *tb[NL80211_BAND_IFTYPE_ATTR_MAX + 1]; local [all...] |
| /src/external/bsd/jemalloc.old/dist/test/unit/ |
| ticker.c | 50 ticker_t ta, tb; local 53 ticker_copy(&tb, &ta); 54 assert_u_eq(ticker_read(&tb), NTICKS, "Unexpected ticker value"); 55 assert_true(ticker_ticks(&tb, NTICKS + 1), "Expected ticker fire"); 56 assert_u_eq(ticker_read(&tb), NTICKS, "Unexpected ticker value"); 59 ticker_copy(&tb, &ta); 60 assert_u_eq(ticker_read(&tb), NTICKS - 1, "Unexpected ticker value"); 61 assert_true(ticker_ticks(&tb, NTICKS), "Expected ticker fire"); 62 assert_u_eq(ticker_read(&tb), NTICKS, "Unexpected ticker value");
|
| /src/sys/dev/tprof/ |
| tprof.c | 209 tprof_backend_t *tb; local 224 tb = tprof_backend; 225 shouldstop = (tb == NULL || tb->tb_softc.sc_ctr_running_mask == 0); 289 tprof_backend_t *tb; local 295 if ((tb = tprof_backend) != NULL) 296 info->ti_ident = tb->tb_ops->tbo_ident(); 302 tprof_backend_t *tb; local 304 tb = tprof_backend; 305 if (tb == NULL 315 tprof_backend_t *tb = arg1; local 324 tprof_backend_t *tb = arg1; local 335 tprof_backend_t *tb; local 418 tprof_backend_t *tb; local 461 tprof_backend_t *tb = tprof_backend; local 469 tprof_backend_t *tb = arg1; local 479 tprof_backend_t *tb; local 605 tprof_backend_t *tb = arg1; local 629 tprof_backend_t *tb; local 682 tprof_backend_t *tb; local 739 tprof_backend_t *tb; local 784 tprof_backend_t *tb; local 848 tprof_backend_t *tb = tprof_backend; local [all...] |
| /src/external/mit/lua/dist/src/ |
| lstring.c | 90 stringtable *tb = &G(L)->strt; local 91 int osize = tb->size; 94 tablerehash(tb->hash, osize, nsize); /* depopulate shrinking part */ 95 newvect = luaM_reallocvector(L, tb->hash, osize, nsize, TString*); 98 tablerehash(tb->hash, nsize, osize); /* restore to original size */ 102 tb->hash = newvect; 103 tb->size = nsize; 130 stringtable *tb = &G(L)->strt; local 131 tb->hash = luaM_newvector(L, MINSTRTABSIZE, TString*); 132 tablerehash(tb->hash, 0, MINSTRTABSIZE); /* clear array * 169 stringtable *tb = &G(L)->strt; local 195 stringtable *tb = &g->strt; local [all...] |
| /src/external/bsd/jemalloc/dist/test/unit/ |
| ticker.c | 50 ticker_t ta, tb; local 53 ticker_copy(&tb, &ta); 54 expect_u_eq(ticker_read(&tb), NTICKS, "Unexpected ticker value"); 55 expect_true(ticker_ticks(&tb, NTICKS + 1), "Expected ticker fire"); 56 expect_u_eq(ticker_read(&tb), NTICKS, "Unexpected ticker value"); 59 ticker_copy(&tb, &ta); 60 expect_u_eq(ticker_read(&tb), NTICKS - 1, "Unexpected ticker value"); 61 expect_true(ticker_ticks(&tb, NTICKS), "Expected ticker fire"); 62 expect_u_eq(ticker_read(&tb), NTICKS, "Unexpected ticker value");
|
| /src/sys/dev/dec/ |
| vsxxxvar.h | 47 } tb;
|
| /src/external/mpl/bind/dist/lib/isccc/ |
| base64.c | 46 isc_buffer_t tb; local 51 isc_buffer_init(&tb, target->rstart, 54 result = isc_base64_totext(&sr, wordlength, wordbreak, &tb); 59 target->rstart = isc_buffer_used(&tb);
|
| /src/sys/arch/bebox/bebox/ |
| cpu.c | 124 uint64_t tb; local 127 tb = mftb(); 128 tb += 1000000; /* 30ms @ 33MHz */ 130 h->hatch_tbu = tb >> 32; 131 h->hatch_tbl = tb & 0xffffffff; 133 while (tb > mftb())
|
| /src/sys/arch/evbppc/nintendo/ |
| cpu.c | 165 uint64_t tb; local 168 tb = mftb(); 169 tb += 100000; /* 3ms @ 33MHz */ 171 h->hatch_tbu = tb >> 32; 172 h->hatch_tbl = tb & 0xffffffff; 174 while (tb > mftb())
|
| /src/sys/arch/prep/prep/ |
| cpu.c | 118 uint64_t tb; local 121 tb = mftb(); 122 tb += 100000; /* 3ms @ 33MHz */ 124 h->hatch_tbu = tb >> 32; 125 h->hatch_tbl = tb & 0xffffffff; 127 while (tb > mftb())
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
| infcall-nested-structs.exp.tcl | 178 foreach tb $float_types { 179 start_gdb_and_run_tests $lang [list $ta $tb] 184 foreach tb $int_types { 185 start_gdb_and_run_tests $lang [list $ta $tb] 188 foreach tb $float_types { 189 start_gdb_and_run_tests $lang [list $ta $tb]
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
| infcall-nested-structs.exp.tcl | 178 foreach tb $float_types { 179 start_gdb_and_run_tests $lang [list $ta $tb] 184 foreach tb $int_types { 185 start_gdb_and_run_tests $lang [list $ta $tb] 188 foreach tb $float_types { 189 start_gdb_and_run_tests $lang [list $ta $tb]
|
| /src/sys/arch/powerpc/ibm4xx/ |
| clock.c | 218 u_long tb; local 222 tb = mftbl(); 225 return tb; 234 u_quad_t tb; local 237 tb = mftb(); 239 tb += (n * 1000ULL + ns_per_tick - 1) / ns_per_tick; 240 tbh = tb >> 32; 241 tbl = tb;
|
| /src/external/gpl3/binutils/dist/binutils/ |
| rename.c | 186 struct utimbuf tb; local 188 tb.actime = statbuf->st_atime; 189 tb.modtime = statbuf->st_mtime; 190 result = utime (destination, &tb); 192 long tb[2]; local 194 tb[0] = statbuf->st_atime; 195 tb[1] = statbuf->st_mtime; 196 result = utime (destination, tb);
|
| /src/external/gpl3/binutils.old/dist/binutils/ |
| rename.c | 186 struct utimbuf tb; local 188 tb.actime = statbuf->st_atime; 189 tb.modtime = statbuf->st_mtime; 190 result = utime (destination, &tb); 192 long tb[2]; local 194 tb[0] = statbuf->st_atime; 195 tb[1] = statbuf->st_mtime; 196 result = utime (destination, tb);
|
| /src/external/lgpl3/gmp/dist/mini-gmp/tests/ |
| t-gcd.c | 34 mpz_t ta, tb, r; local 59 mpz_init (tb); 63 mpz_mul (tb, t, b); 64 mpz_add (ta, ta, tb); 70 mpz_clear (tb); 78 mpz_tdiv_qr (tb, r, b, g); 86 if (mpz_cmpabs (r, tb) > 0) 99 mpz_clear (tb);
|
| /src/lib/libc/nameser/ |
| ns_samedomain.c | 205 char ta[NS_MAXDNAME], tb[NS_MAXDNAME]; local 208 ns_makecanon(b, tb, sizeof tb) < 0) 210 if (strcasecmp(ta, tb) == 0)
|
| /src/external/bsd/libbind/dist/nameser/ |
| ns_samedomain.c | 198 char ta[NS_MAXDNAME], tb[NS_MAXDNAME]; local 201 ns_makecanon(b, tb, sizeof tb) < 0) 203 if (strcasecmp(ta, tb) == 0)
|