HomeSort by: relevance | last modified time | path
    Searched refs:tb (Results 1 - 25 of 44) sorted by relevancy

1 2

  /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 in function:mftb
49 : "=r"(tb), "=r"(scratch));
50 return (tb);
59 u_quad_t tb; local in function:delay
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 in function:mftb
54 : "=r"(tb), "=r"(scratch));
55 return (tb);
75 u_quad_t tb; local in function:delay
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 in function:mftb
54 : "=r"(tb), "=r"(scratch));
55 return (tb);
75 u_quad_t tb; local in function:delay
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 in function:decr_intr
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 in function:delay
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 in function:get_powerpc_timecount
275 u_long tb; local in function:get_601_timecount
    [all...]
  /src/sys/dev/tprof/
tprof.c 209 tprof_backend_t *tb; local in function:tprof_worker
224 tb = tprof_backend;
225 shouldstop = (tb == NULL || tb->tb_softc.sc_ctr_running_mask == 0);
289 tprof_backend_t *tb; local in function:tprof_getinfo
295 if ((tb = tprof_backend) != NULL)
296 info->ti_ident = tb->tb_ops->tbo_ident();
302 tprof_backend_t *tb; local in function:tprof_getncounters
304 tb = tprof_backend;
305 if (tb == NULL
315 tprof_backend_t *tb = arg1; local in function:tprof_start_cpu
324 tprof_backend_t *tb = arg1; local in function:tprof_stop_cpu
335 tprof_backend_t *tb; local in function:tprof_start
418 tprof_backend_t *tb; local in function:tprof_stop
461 tprof_backend_t *tb = tprof_backend; local in function:tprof_init_percpu_counters_offset
469 tprof_backend_t *tb = arg1; local in function:tprof_configure_event_cpu
479 tprof_backend_t *tb; local in function:tprof_configure_event
605 tprof_backend_t *tb = arg1; local in function:tprof_getcounts_cpu
629 tprof_backend_t *tb; local in function:tprof_getcounts
682 tprof_backend_t *tb; local in function:tprof_backend_lookup
739 tprof_backend_t *tb; local in function:tprof_backend_register
784 tprof_backend_t *tb; local in function:tprof_backend_unregister
848 tprof_backend_t *tb = tprof_backend; local in function:tprof_close
    [all...]
  /src/sys/dev/dec/
vsxxxvar.h 47 } tb;
  /src/sys/arch/bebox/bebox/
cpu.c 124 uint64_t tb; local in function:md_presync_timebase
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/prep/prep/
cpu.c 118 uint64_t tb; local in function:md_presync_timebase
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/sys/arch/powerpc/ibm4xx/
clock.c 218 u_long tb; local in function:get_ppc4xx_timecount
222 tb = mftbl();
225 return tb;
234 u_quad_t tb; local in function:delay
237 tb = mftb();
239 tb += (n * 1000ULL + ns_per_tick - 1) / ns_per_tick;
240 tbh = tb >> 32;
241 tbl = tb;
  /src/lib/libc/nameser/
ns_samedomain.c 205 char ta[NS_MAXDNAME], tb[NS_MAXDNAME]; local in function:ns_samename
208 ns_makecanon(b, tb, sizeof tb) < 0)
210 if (strcasecmp(ta, tb) == 0)
  /src/sys/net/npf/
npf_socket.c 116 struct inpcbtable *tb = NULL; local in function:npf_ip_socket
138 tb = &tcbtable;
143 tb = &udbtable;
162 inp = in_pcbhashlookup(tb, saddr, sport, daddr, dport);
164 inp = in_pcblookup_listen(tb, daddr, dport);
178 struct inpcbtable *tb = NULL; local in function:npf_ip6_socket
201 tb = &tcbtable;
206 tb = &udbtable;
224 in6p = in6_pcbhashlookup(tb, s6addr, sport, d6addr,
227 in6p = in6_pcblookup_listen(tb, d6addr, dport)
    [all...]
  /src/sys/dev/ata/
ata_recovery.c 74 uint8_t *tb, cksum, page; local in function:ata_read_log_ext_ncq
85 tb = chp->recovery_blk;
86 memset(tb, 0, sizeof(chp->recovery_blk));
103 xfer->c_ata_c.data = tb;
116 cksum += tb[i];
125 if (tb[0] & WDCC_LOG_NQ) {
131 *slot = tb[0] & 0x1f;
132 *status = tb[2];
133 *err = tb[3];
  /src/sys/arch/powerpc/booke/
e500_timer.c 189 uint64_t tb; local in function:delay
192 tb = mftb();
194 tb += (n * 1000ULL + ns_per_tick - 1) / ns_per_tick;
195 tbh = tb >> 32;
196 tbl = tb;
booke_machdep.c 671 uint64_t tb = cpu->cpu_spl_tb[to][from]; local in function:dump_splhist
672 if (tb == 0)
674 tbs[ntbs++] = (tb << 8) | (to << 4) | from;
683 uint64_t tb = tbs[i]; local in function:dump_splhist
684 size_t from = tb & 15;
685 size_t to = (tb >> 4) & 15;
686 tb >>= 8;
689 to, from, tb);
691 (*pr)(" (+%"PRId64")", tb - last_tb);
693 last_tb = tb;
    [all...]
  /src/sys/arch/powerpc/ibm4xx/dev/
ecc_plb.c 143 u_quad_t tb; local in function:ecc_plb_intr
166 * Only report errors every once per second max. Do this using the TB,
172 : "=r"(tb), "=r"(tmp));
175 if ((tb - sc->sc_ecc_tb) < sc->sc_ecc_iv)
280 sc->sc_ecc_tb = tb;
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_xgmi.h 41 struct task_barrier tb; member in struct:amdgpu_hive_info
  /src/sys/arch/macppc/macppc/
cpu.c 286 uint64_t tb; local in function:md_presync_timebase
289 tb = mftb();
290 tb += 100000; /* 3ms @ 33MHz */
292 h->hatch_tbu = tb >> 32;
293 h->hatch_tbl = tb & 0xffffffff;
295 while (tb > mftb())
  /src/sys/altq/
altq_cdnr.c 504 tb_import_profile(struct tbe *tb, struct tb_profile *profile)
506 tb->rate = TB_SCALE(profile->rate / 8) / machclk_freq;
507 tb->depth = TB_SCALE(profile->depth);
508 if (tb->rate > 0)
509 tb->filluptime = tb->depth / tb->rate;
511 tb->filluptime = 0xffffffffffffffffLL;
512 tb->token = tb->depth
    [all...]
  /src/sys/arch/ofppc/ofppc/
cpu.c 255 uint64_t tb; local in function:md_presync_timebase
261 tb = mftb();
263 h->hatch_tbu = tb >> 32;
264 h->hatch_tbl = tb & 0xffffffff;
  /src/sys/arch/powerpc/include/
cpu.h 287 uint64_t tb; local in function:mftb
290 __asm volatile ("mftb %0" : "=r"(tb));
296 "1: mftbhi %[tb]" "\n"
297 " mftblo %L[tb]" "\n"
300 "1: mfspr %[tb],269" "\n"
301 " mfspr %L[tb],268" "\n"
304 "1: mftbu %[tb]" "\n"
305 " mftb %L[tb]" "\n"
308 " cmplw %[tb],%[tmp]" "\n"
310 : [tb] "=r" (tb), [tmp] "=r"(tmp
    [all...]
  /src/sys/arch/amiga/dev/
fd.c 1865 u_char *cp, tb[5]; local in function:mscachetoraw
1897 tb[0] = sc->cachetrk / FDNHEADS;
1898 tb[1] = sc->cachetrk % FDNHEADS;
1899 tb[2] = sec + 1;
1901 tb[3] = i < 256 ? 0 : (i < 512 ? 1 : (i < 1024 ? 2 : 3));
1902 rp = msblkencode(rp, tb, 4, &crc);
1903 tb[0] = crc >> 8;
1904 tb[1] = crc & 0xff;
1905 tb[2] = 0x4e; /* GAP1 decoded */
1906 rp = msblkencode(rp, tb, 3, 0)
1952 u_char tb[5], *cp; local in function:msrawtocache
    [all...]
  /src/sys/netinet/
tcp_syncache.c 881 struct tcpcb tb, *tp; local in function:syn_cache_add
903 tb.t_flags = tcp_do_rfc1323 ? (TF_REQ_SCALE|TF_REQ_TSTMP) : 0;
905 tb.t_flags |= (tp->t_flags & TF_SIGNATURE);
907 tb.t_state = TCPS_LISTEN;
908 if (tcp_dooptions(&tb, optp, optlen, th, m, toff, oi) < 0)
911 tb.t_flags = 0;
938 sc->sc_timestamp = tb.ts_recent;
998 sc->sc_timestamp = tb.ts_recent;
999 if ((tb.t_flags & (TF_REQ_TSTMP|TF_RCVD_TSTMP)) ==
1002 if ((tb.t_flags & (TF_RCVD_SCALE|TF_REQ_SCALE)) =
    [all...]
  /src/sys/arch/sandpoint/stand/altboot/
brdsetup.c 1025 uint64_t tb = mftb(); local in function:getsecs
1027 return (tb / ticks_per_sec);
1036 uint64_t tb; local in function:delay
1039 tb = mftb();
1040 tb += ((uint64_t)n * 1000 + ns_per_tick - 1) / ns_per_tick;
1041 tbh = tb >> 32;
1042 tbl = tb;
1141 uint64_t tb; local in function:mftb
1144 : "=r"(tb), "=r"(scratch) :: "cc");
1145 return tb;
    [all...]

Completed in 158 milliseconds

1 2