/nrf52832-nimble/rt-thread/components/vbus/ |
H A D | prio_queue.c | 22 rt_uint8_t prio, in _do_push() argument 25 if (que->head[prio] == RT_NULL) in _do_push() 27 que->head[prio] = item; in _do_push() 28 que->bitmap |= 1 << prio; in _do_push() 32 RT_ASSERT(que->tail[prio]); in _do_push() 33 que->tail[prio]->next = item; in _do_push() 35 que->tail[prio] = item; in _do_push() 135 rt_uint8_t prio, in rt_prio_queue_push() argument 144 if (prio >= RT_PRIO_QUEUE_PRIO_MAX) in rt_prio_queue_push() 156 _do_push(que, prio, item); in rt_prio_queue_push()
|
H A D | vbus.h | 23 * @param prio the priority of the data 39 rt_uint8_t prio, 58 unsigned char prio; member
|
H A D | vbus.c | 130 rt_uint8_t prio; member 246 "(data: %p, len: %d, prio: %d, id: %d)\n", in _bus_out_entry() 247 dpkg.data, dpkg.len, dpkg.prio, dpkg.id); in _bus_out_entry() 273 RT_VBUS_OUT_RING->blks[RT_VBUS_OUT_RING->put_idx].qos = dpkg.prio; in _bus_out_entry() 323 rt_uint8_t prio, in rt_vbus_post() argument 387 pkg.prio = prio; in rt_vbus_post() 416 err = rt_prio_queue_push(_bus_out_que, prio, &pkg, timeout); in rt_vbus_post()
|
H A D | vbus_chnx.c | 139 err = rt_vbus_post(vdev->chnr, vdev->req.prio, in _write() 145 err = rt_vbus_post(vdev->chnr, vdev->req.prio, in _write()
|
H A D | prio_queue.h | 39 rt_uint8_t prio,
|
/nrf52832-nimble/packages/NimBLE-latest/porting/npl/linux/src/ |
H A D | os_task.c | 39 * @param prio The priority at which to run this task 50 void *arg, uint8_t prio, ble_npl_time_t sanity_itvl, in ble_npl_task_init() argument 66 param.sched_priority = prio; in ble_npl_task_init()
|
H A D | os_types.h | 76 void *arg, uint8_t prio, ble_npl_time_t sanity_itvl,
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/ |
H A D | tcp.c | 552 lpcb->prio = pcb->prio; in tcp_listen_with_backlog() 1160 * @param prio new priority 1163 tcp_setprio(struct tcp_pcb *pcb, u8_t prio) in tcp_setprio() argument 1165 pcb->prio = prio; in tcp_setprio() 1212 * 'prio'. 1214 * @param prio minimum priority 1217 tcp_kill_prio(u8_t prio) in tcp_kill_prio() argument 1226 /* We kill the oldest active connection that has lower priority than prio. */ in tcp_kill_prio() 1230 if (pcb->prio <= prio && in tcp_kill_prio() 1231 pcb->prio <= mprio && in tcp_kill_prio() [all …]
|
/nrf52832-nimble/rt-thread/components/lwp/ |
H A D | lwp_syscall.c | 136 int sys_setpriority(int which, id_t who, int prio) in sys_setpriority() argument 143 if ((who == (id_t)tid || who == 0xff) && (prio >= 0 && prio < RT_THREAD_PRIORITY_MAX)) in sys_setpriority() 145 rt_thread_control(tid, RT_THREAD_CTRL_CHANGE_PRIORITY, &prio); in sys_setpriority()
|
H A D | lwp_syscall.h | 55 int sys_setpriority(int which, id_t who, int prio);
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ |
H A D | tcp.c | 888 lpcb->prio = pcb->prio; in tcp_listen_with_backlog_and_err() 1643 * @param prio new priority 1646 tcp_setprio(struct tcp_pcb *pcb, u8_t prio) in tcp_setprio() argument 1652 pcb->prio = prio; in tcp_setprio() 1703 * Kills the oldest active connection that has a lower priority than 'prio'. 1705 * @param prio minimum priority 1708 tcp_kill_prio(u8_t prio) in tcp_kill_prio() argument 1714 mprio = LWIP_MIN(TCP_PRIO_MAX, prio); in tcp_kill_prio() 1716 /* We want to kill connections with a lower prio, so bail out if in tcp_kill_prio() 1717 * supplied prio is 0 - there can never be a lower prio in tcp_kill_prio() [all …]
|
H A D | altcp.c | 470 altcp_setprio(struct altcp_pcb *conn, u8_t prio) in altcp_setprio() argument 473 conn->fns->setprio(conn, prio); in altcp_setprio() 628 altcp_default_setprio(struct altcp_pcb *conn, u8_t prio) in altcp_default_setprio() argument 631 altcp_setprio(conn->inner_conn, prio); in altcp_default_setprio()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ |
H A D | tcp.c | 719 lpcb->prio = pcb->prio; in tcp_listen_with_backlog_and_err() 1402 * @param prio new priority 1405 tcp_setprio(struct tcp_pcb *pcb, u8_t prio) in tcp_setprio() argument 1407 pcb->prio = prio; in tcp_setprio() 1454 * 'prio'. 1456 * @param prio minimum priority 1459 tcp_kill_prio(u8_t prio) in tcp_kill_prio() argument 1465 mprio = LWIP_MIN(TCP_PRIO_MAX, prio); in tcp_kill_prio() 1467 /* We kill the oldest active connection that has lower priority than prio. */ in tcp_kill_prio() 1471 if (pcb->prio <= mprio && in tcp_kill_prio() [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/rt-thread/ |
H A D | uIPmain.c | 105 …thread_t sys_thread_new(char *name, void (* thread)(void *arg), void *arg, int stacksize, int prio) in sys_thread_new() argument 108 t = rt_thread_create(name, thread, arg, stacksize, prio, 20); in sys_thread_new()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/priv/ |
H A D | altcp_priv.h | 80 typedef void (*altcp_setprio_fn)(struct altcp_pcb *conn, u8_t prio); 131 void altcp_default_setprio(struct altcp_pcb *conn, u8_t prio);
|
/nrf52832-nimble/packages/NimBLE-latest/porting/npl/rtthread/src/ |
H A D | npl_os_rtthread.c | 28 ble_npl_task_fn *func,void *arg, uint8_t prio, in ble_npl_task_init() argument 33 tid = rt_thread_create(name, func, arg, stack_size, prio, 10); in ble_npl_task_init()
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/arch/ |
H A D | sys_arch.c | 568 * Start a new thread named "name" with priority "prio" that will begin 576 int prio) in sys_thread_new() argument 583 t = rt_thread_create(name, thread, arg, stacksize, prio, 20); in sys_thread_new()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/arch/ |
H A D | sys_arch.c | 577 * Start a new thread named "name" with priority "prio" that will begin 585 int prio) in sys_thread_new() argument 592 t = rt_thread_create(name, thread, arg, stacksize, prio, 20); in sys_thread_new()
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/doc/ |
H A D | sys_arch.txt | 171 …thread_t sys_thread_new(char *name, void (* thread)(void *arg), void *arg, int stacksize, int prio) 173 Starts a new thread named "name" with priority "prio" that will begin its
|
/nrf52832-nimble/packages/NimBLE-latest/porting/npl/linux/test/ |
H A D | test_npl_task.c | 66 * void *arg, uint8_t prio, ble_npl_time_t sanity_itvl,
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/ |
H A D | sys.h | 408 * Starts a new thread named "name" with priority "prio" that will begin its 419 * @param prio priority of the new thread (may be ignored by ports) */ 420 …read_t sys_thread_new(const char *name, lwip_thread_fn thread, void *arg, int stacksize, int prio);
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/doc/ |
H A D | sys_arch.txt | 204 …thread_t sys_thread_new(char *name, void (* thread)(void *arg), void *arg, int stacksize, int prio) 206 Starts a new thread named "name" with priority "prio" that will begin its
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/include/lwip/ |
H A D | sys.h | 223 * @param prio priority of the new thread (may be ignored by ports) */ 224 …read_t sys_thread_new(const char *name, lwip_thread_fn thread, void *arg, int stacksize, int prio);
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/test/unit/arch/ |
H A D | sys_arch.c | 197 sys_thread_new(const char *name, lwip_thread_fn function, void *arg, int stacksize, int prio) in sys_thread_new() argument 203 LWIP_UNUSED_ARG(prio); in sys_thread_new()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/arch/ |
H A D | sys_arch.c | 585 * Start a new thread named "name" with priority "prio" that will begin 593 int prio) in sys_thread_new() argument 600 t = rt_thread_create(name, thread, arg, stacksize, prio, 20); in sys_thread_new()
|