Searched refs:td (Results 1 - 15 of 15) sorted by relevance

/haiku/src/libs/compat/freebsd_iflib/compat/sys/
H A Dkthread.h16 void sched_prio(struct thread* td, u_char prio);
17 void sched_add(struct thread* td, int flags);
23 #define thread_lock(td)
24 #define thread_unlock(td)
/haiku/src/libs/compat/freebsd_iflib/
H A Dkthread.cpp37 sched_prio(struct thread* td, u_char prio) argument
39 uintptr_t tdi = (uintptr_t)td;
45 sched_add(struct thread* td, int /* flags */) argument
47 uintptr_t tdi = (uintptr_t)td;
H A Dsubr_gtaskqueue.c472 struct thread *td; local
508 td = tq->tq_threads[i];
511 error = cpuset_setthread(td->td_tid, mask);
520 (unsigned long long) td->td_tid,
524 thread_lock(td);
525 sched_prio(td, pri);
526 sched_add(td, SRQ_BORING);
527 thread_unlock(td);
/haiku/src/libs/compat/freebsd_network/compat/dev/usb/
H A Dusb_haiku.h37 #define USB_TD_GET_PROC(td) (td)->td_proc
38 #define USB_PROC_GET_GID(td) (td)->p_pgid
/haiku/headers/posix/arch/x86/
H A Dnpx.h153 void npxexit(struct thread *td);
155 int npxgetregs(struct thread *td, union savefpu *addr);
158 void npxsetregs(struct thread *td, union savefpu *addr);
/haiku/src/bin/unzip/
H A Dexplode.c134 struct huft *td, int bb, int bl, int bd,
136 static int explode_nolit OF((__GPRO__ struct huft *tl, struct huft *td,
250 static int explode_lit(__G__ tb, tl, td, bb, bl, bd, bdl)
252 struct huft *tb, *tl, *td; /* literal, length, and distance tables */ variable in typeref:struct:
301 DECODEHUFT(td, bd, md) /* get coded distance high bits */
368 static int explode_nolit(__G__ tl, td, bl, bd, bdl)
370 struct huft *tl, *td; /* length and distance decoder tables */ variable in typeref:struct:
371 int bl, bd; /* number of bits decoded by tl[] and td[] */
419 DECODEHUFT(td, bd, md) /* get coded distance high bits */
500 struct huft *td; /* distanc local
[all...]
H A Dinflate.c491 int inflate_codes OF((__GPRO__ struct huft *tl, struct huft *td,
672 int inflate_codes(__G__ tl, td, bl, bd)
674 struct huft *tl, *td; /* literal/length and distance decoder tables */ variable in typeref:struct:
675 int bl, bd; /* number of bits decoded by tl[] and td[] */
726 t = td + ((unsigned)b & md);
945 struct huft *td; /* distance code table */ local
947 int bd; /* lookup bits for td */
1008 j = (td = tl + ((unsigned)b & m))->b;
1010 j = td->v.n;
1077 retval = huft_build(__G__ ll + nl, nd, 0, cpdist, G.cpdext, &td,
[all...]
H A Dinflatef.c249 int inflate_codes OF((__GPRO__ struct huft *tl, struct huft *td,
430 int inflate_codes(__G__ tl, td, bl, bd)
432 struct huft *tl, *td; /* literal/length and distance decoder tables */ variable in typeref:struct:
433 int bl, bd; /* number of bits decoded by tl[] and td[] */
484 t = td + ((unsigned)b & md);
703 struct huft *td; /* distance code table */ local
705 int bd; /* lookup bits for td */
766 j = (td = tl + ((unsigned)b & m))->b;
768 j = td->v.n;
835 retval = huft_build(__G__ ll + nl, nd, 0, cpdist, G.cpdext, &td,
[all...]
/haiku/src/add-ons/kernel/busses/usb/
H A Dxhci.cpp985 xhci_td *td = CreateDescriptor(trbCount, trbCount, trbSize); local
986 if (td == NULL)
1004 td->trbs[i].address = td->buffer_addrs[i];
1005 td->trbs[i].status = TRB_2_IRQ(0)
1008 td->trbs[i].flags = TRB_3_TYPE(TRB_TYPE_NORMAL)
1011 td->trb_used++;
1018 td->trbs[i].flags &= ~(TRB_3_TYPE(TRB_TYPE_NORMAL));
1019 td->trbs[i].flags |= TRB_3_TYPE(TRB_TYPE_ISOCH);
1024 td
1188 xhci_td* td; local
1977 xhci_td* td; local
3129 xhci_td* td = fFinishedHead; local
[all...]
/haiku/src/libs/compat/freebsd_network/compat/net/
H A Dvnet.h233 #define TD_TO_VNET(td) CRED_TO_VNET((td)->td_ucred)
327 arg1 = (void *)(TD_TO_VNET((req)->td)->vnet_data_base + \
433 #define TD_TO_VNET(td) NULL
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dtaskqueue.h91 int taskqueue_member(struct taskqueue *queue, struct thread *td);
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom440x/dev/bfe/
H A Dif_bfe.c195 struct bfe_tx_data *td; local
327 td = &sc->bfe_tx_ring[i];
328 td->bfe_mbuf = NULL;
329 td->bfe_map = NULL;
330 error = bus_dmamap_create(sc->bfe_txmbuf_tag, 0, &td->bfe_map);
365 struct bfe_tx_data *td; local
398 td = &sc->bfe_tx_ring[i];
399 if (td->bfe_map != NULL) {
401 td->bfe_map);
402 td
[all...]
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_subr_taskqueue.c499 taskqueue_member(struct taskqueue *queue, struct thread *td) argument
506 if (queue->tq_threads[i] == td) {
/haiku/src/add-ons/kernel/drivers/network/wlan/aironetwifi/dev/an/
H A Dif_an.c1879 struct thread *td = curthread; local
1944 error = priv_check(td, PRIV_DRIVER);
1971 if ((error = priv_check(td, PRIV_DRIVER)))
1982 if ((error = priv_check(td, PRIV_DRIVER)))
2008 if ((error = priv_check(td, PRIV_DRIVER)))
2316 if ((error = priv_check(td, PRIV_NET80211_MANAGE)))
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/
H A Dif_iwn.c5155 iwn_cdev_open(struct cdev *dev, int flags, int type, struct thread *td) argument
5162 iwn_cdev_close(struct cdev *dev, int flags, int type, struct thread *td) argument
5171 struct thread *td)
5177 rc = priv_check(td, PRIV_DRIVER);
5170 iwn_cdev_ioctl(struct cdev *dev, unsigned long cmd, caddr_t data, int fflag, struct thread *td) argument

Completed in 144 milliseconds