/haiku/src/bin/ |
H A D | prio.c | 21 thread_id th; local 30 th = atoi(argv[1]); 34 ret = set_thread_priority(th, prio);
|
H A D | renice.c | 66 static status_t renice_thread(int32 prio, int32 increment, bool use_be_prio, thread_id th) argument 71 get_thread_info(th, &thinfo); 79 return set_thread_priority(th, prio); 84 thread_id th = -1; local 124 sscanf(argv[i], "%ld", (long *)&th); 125 return (renice_thread(prio, increment, use_be_prio, th) == B_OK)?0:1; 132 th = thinfo.thread; 133 renice_thread(prio, increment, use_be_prio, th); 142 if (th == -1) {
|
/haiku/src/tests/system/libroot/posix/ |
H A D | tls_concurrency_test.c | 11 __thread int th = 0; variable 14 th = 1;
|
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_radiotap.c | 57 struct ieee80211_radiotap_header *th, int tlen, uint32_t tx_radiotap, 60 ieee80211_radiotap_attachv(ic, th, tlen, 0, tx_radiotap, 66 struct ieee80211_radiotap_header *th, 74 th->it_len = htole16(roundup2(tlen, sizeof(uint32_t))); 75 th->it_present = htole32(tx_radiotap); 76 ic->ic_th = th; 80 off = radiotap_offset(th, n_tx_v, IEEE80211_RADIOTAP_CHANNEL); 82 off = radiotap_offset(th, n_tx_v, IEEE80211_RADIOTAP_XCHANNEL); 88 ic->ic_txchan = ((uint8_t *) th) + off; 117 struct ieee80211_radiotap_header *th local 56 ieee80211_radiotap_attach(struct ieee80211com *ic, struct ieee80211_radiotap_header *th, int tlen, uint32_t tx_radiotap, struct ieee80211_radiotap_header *rh, int rlen, uint32_t rx_radiotap) argument 65 ieee80211_radiotap_attachv(struct ieee80211com *ic, struct ieee80211_radiotap_header *th, int tlen, int n_tx_v, uint32_t tx_radiotap, struct ieee80211_radiotap_header *rh, int rlen, int n_rx_v, uint32_t rx_radiotap) argument 176 struct ieee80211_radiotap_header *th = ic->ic_th; local 212 struct ieee80211_radiotap_header *th = ic->ic_th; local [all...] |
H A D | ieee80211_var.h | 813 struct ieee80211_radiotap_header *th, int tlen, 818 struct ieee80211_radiotap_header *th,
|
/haiku/headers/os/kernel/ |
H A D | scheduler.h | 63 bigtime_t estimate_max_scheduling_latency(thread_id th = -1); 75 bigtime_t estimate_max_scheduling_latency(thread_id th);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/usb/wlan/ |
H A D | if_runvar.h | 252 struct run_rx_radiotap_header th; member in union:run_softc::__anon15 255 #define sc_rxtap sc_rxtapu.th 258 struct run_tx_radiotap_header th; member in union:run_softc::__anon16 261 #define sc_txtap sc_txtapu.th
|
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/ |
H A D | if_iwmvar.h | 657 struct iwm_rx_radiotap_header th; member in union:iwm_softc::__anon57 660 #define sc_rxtap sc_rxtapu.th 664 struct iwm_tx_radiotap_header th; member in union:iwm_softc::__anon58 667 #define sc_txtap sc_txtapu.th
|
/haiku/src/add-ons/screen_savers/nebula/ |
H A D | Nebula.cpp | 737 float r, th, h, dth; local 743 th = rand() * M_PI * 2 / RAND_MAX; 745 th = (rand() & 3) * M_PI_2 + r * r * 2; 748 th += dth; 750 gal[i].x = (int)(512 * r * cos(th)); 751 gal[i].z = (int)(512 * r * sin(th));
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/ |
H A D | if_iwxvar.h | 794 struct iwx_rx_radiotap_header th; member in union:iwx_softc::__anon42 797 #define sc_rxtap sc_rxtapu.th 801 struct iwx_tx_radiotap_header th; member in union:iwx_softc::__anon43 804 #define sc_txtap sc_txtapu.th
|
/haiku/src/add-ons/media/media-add-ons/finepix_webcam/FinePixJpeg/ |
H A D | finepix-jpeg.c | 149 int tc, th, tt; local 184 th = tc & 15; 186 tt = tc * 2 + th; 187 if (tc > 1 || th > 1)
|
/haiku/src/libs/compat/freebsd_iflib/ |
H A D | iflib.c | 3288 struct tcphdr *th = NULL; local 3291 minthlen = min(m->m_pkthdr.len, pi->ipi_ehdrlen + sizeof(*ip) + sizeof(*th)); 3302 if (n->m_len >= (ip->ip_hl << 2) + sizeof(*th)) 3303 th = (struct tcphdr *)((caddr_t)ip + (ip->ip_hl << 2)); 3315 if (m->m_len >= (ip->ip_hl << 2) + sizeof(*th)) 3316 th = (struct tcphdr *)((caddr_t)ip + (ip->ip_hl << 2)); 3320 if (m->m_len >= (ip->ip_hl << 2) + sizeof(*th)) 3321 th = (struct tcphdr *)((caddr_t)ip + (ip->ip_hl << 2)); 3330 if (__predict_false(th == NULL)) { 3332 if (__predict_false((m = m_pullup(m, (ip->ip_hl << 2) + sizeof(*th))) 3366 struct tcphdr *th; local [all...] |
/haiku/src/add-ons/media/media-add-ons/opensound/ |
H A D | OpenSoundNode.cpp | 2438 thread_id th; local 2441 th = input->fThread; 2443 //kill(th, SIGUSR1); 2446 wait_for_thread(th, &ret); 2492 thread_id th = output->fThread; local 2496 //kill(th, SIGUSR1); 2499 wait_for_thread(th, &ret);
|