Searched refs:prio (Results 1 - 25 of 42) sorted by relevance

12

/barrelfish-master/lib/libc/gen/
H A Dnice.c48 int saverrno, prio; local
52 prio = getpriority(PRIO_PROCESS, 0);
53 if (prio == -1 && errno != 0)
55 if (setpriority(PRIO_PROCESS, 0, prio + incr) == -1) {
/barrelfish-master/kernel/arch/arm/
H A Dgic.c164 * \param prio Priority of the interrupt (lower is higher). We allow 0..15.
170 errval_t platform_enable_interrupt(uint32_t int_id, uint16_t prio, argument
201 prio = (prio & 0xF)<<4;
204 pl390_gic_dist_ICDIPR_prio_off0_wrf(&gic_dist, ind, prio);
207 pl390_gic_dist_ICDIPR_prio_off1_wrf(&gic_dist, ind, prio);
210 pl390_gic_dist_ICDIPR_prio_off2_wrf(&gic_dist, ind, prio);
213 pl390_gic_dist_ICDIPR_prio_off3_wrf(&gic_dist, ind, prio);
H A Dgic_v3.c165 * \param prio Priority of the interrupt (lower is higher). We allow 0..15.
171 errval_t platform_enable_interrupt(uint32_t int_id, uint16_t prio, argument
H A Dgic_v2.c225 * \param prio Priority of the interrupt (lower is higher). We allow 0..15.
231 errval_t platform_enable_interrupt(uint32_t int_id, uint16_t prio, argument
/barrelfish-master/include/
H A Dsched.h95 void sched_lend_prio(struct thread *td, u_char prio);
98 void sched_prio(struct thread *td, u_char prio);
99 void sched_sleep(struct thread *td, int prio);
102 void sched_unlend_prio(struct thread *td, u_char prio);
103 void sched_user_prio(struct thread *td, u_char prio);
/barrelfish-master/usr/drivers/pl390_dist/
H A Dmain.c99 * \param prio Priority of the interrupt (lower is higher). We allow 0..15.
106 uint8_t cpu_targets, bool edge_triggered, bool one_to_n, uint16_t prio)
139 prio = (prio & 0xF)<<4;
142 pl390_gic_dist_ICDIPR_prio_off0_wrf(&ds->devgic, ind, prio);
145 pl390_gic_dist_ICDIPR_prio_off1_wrf(&ds->devgic, ind, prio);
148 pl390_gic_dist_ICDIPR_prio_off2_wrf(&ds->devgic, ind, prio);
151 pl390_gic_dist_ICDIPR_prio_off3_wrf(&ds->devgic, ind, prio);
253 uint16_t prio = 1; local
254 err = enable_interrupt(b->st, from.port, cpu_mask, edge_triggered, one_to_n, prio);
105 enable_interrupt(struct pl390_dist_driver_state *ds, int int_id, uint8_t cpu_targets, bool edge_triggered, bool one_to_n, uint16_t prio) argument
[all...]
/barrelfish-master/kernel/include/arch/arm/
H A Dplatform.h87 errval_t platform_enable_interrupt(uint32_t int_id, uint16_t prio,
/barrelfish-master/kernel/arch/armv8/
H A Dplat_rpi3.c147 errval_t platform_enable_interrupt(uint32_t int_id, uint16_t prio, argument
/barrelfish-master/lib/lwip/src/core/
H A Dtcp.c861 * @param prio new priority
863 void tcp_setprio(struct tcp_pcb *pcb, u8_t prio) argument
865 pcb->prio = prio;
910 * Kills the oldest active connection that has lower priority than prio.
912 * @param prio minimum priority
914 static void tcp_kill_prio(u8_t prio) argument
923 /* We kill the oldest active connection that has lower priority than prio. */
927 if (pcb->prio <= prio
975 tcp_alloc(u8_t prio) argument
[all...]
/barrelfish-master/lib/lwip2/src/core/
H A Dtcp.c719 lpcb->prio = pcb->prio;
1402 * @param prio new priority
1405 tcp_setprio(struct tcp_pcb *pcb, u8_t prio) argument
1407 pcb->prio = prio;
1454 * 'prio'.
1456 * @param prio minimum priority
1459 tcp_kill_prio(u8_t prio) argument
1465 mprio = LWIP_MIN(TCP_PRIO_MAX, prio);
1550 tcp_alloc(u8_t prio) argument
[all...]
/barrelfish-master/usr/eclipseclp/Kernel/src/
H A Demu_export.h1004 #define Init_Susp_State(p, prio, runprio) { \
1007 ((prio) << SUSP_PRIO_SHIFT) | \
1008 (((prio) < (runprio) ? prio : runprio) << SUSP_RUNPRIO_SHIFT); \
1019 #define Set_Susp_Prio(p, prio) { \
1024 ((prio) << SUSP_PRIO_SHIFT) | \
1025 (((prio) < _runprio ? prio : _runprio) << SUSP_RUNPRIO_SHIFT); \
1090 #define Init_WP(prio) {\
1092 WP = (prio);\
[all...]
H A Dproc_desc.c157 pd->prio = PRIORITY_DEFAULT;
638 use->prio = def->prio;
888 return pd->prio == new_prio ? PSUCCEED : ACCESSING_NON_LOCAL;
890 pd->prio = new_prio;
H A Ddict.h148 unsigned prio:4; /* the schedule priority */ member in struct:pri
168 #define PriPriority(pd) (pd)->prio
H A Dbip_control.c1214 ec_make_suspension(pword goal, int prio, void *proc, pword *psusp) argument
1223 if (prio == 0)
1224 prio = PriPriority(((pri*)proc)); /* use procedure's setting */
1226 Init_Susp_State(susp, prio, PriRunPriority((pri*)proc)); /* priority */
H A Dbip_delay.c2100 int prio; local
2102 prio = vp.nint > SUSP_MAX_PRIO ? SUSP_MAX_PRIO : vp.nint;
2103 Set_WP(prio)
2110 int prio; local
2113 prio = vp.nint > SUSP_MAX_PRIO ? SUSP_MAX_PRIO : vp.nint;
2115 Set_WP(prio)
2117 WP = prio;
/barrelfish-master/lib/openssl-1.0.0d/ssl/
H A Ds2_srvr.c528 STACK_OF(SSL_CIPHER) *prio, *allow;
648 prio=sk_SSL_CIPHER_dup(cl);
649 if (prio == NULL) goto mem_err;
654 prio = cs;
657 for (z=0; z<sk_SSL_CIPHER_num(prio); z++)
659 if (sk_SSL_CIPHER_find(allow,sk_SSL_CIPHER_value(prio,z)) < 0)
661 (void)sk_SSL_CIPHER_delete(prio,z);
668 s->session->ciphers = prio;
H A Ds2_clnt.c338 STACK_OF(SSL_CIPHER) *sk=NULL,*cl, *prio, *allow;
482 prio = sk;
487 prio = cl;
495 for (i=0; i<sk_SSL_CIPHER_num(prio); i++)
498 sk_SSL_CIPHER_value(prio,i)) >= 0)
502 if (i >= sk_SSL_CIPHER_num(prio))
508 s->session->cipher=sk_SSL_CIPHER_value(prio,i);
H A Ds3_lib.c2823 STACK_OF(SSL_CIPHER) *prio, *allow;
2863 prio = srvr;
2868 prio = clnt;
2872 for (i=0; i<sk_SSL_CIPHER_num(prio); i++)
2874 c=sk_SSL_CIPHER_value(prio,i);
/barrelfish-master/include/lwip2/lwip/
H A Dtcp.h175 u8_t prio; \
413 void tcp_setprio (struct tcp_pcb *pcb, u8_t prio);
H A Dsys.h330 * @param prio priority of the new thread (may be ignored by ports) */
331 sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread, void *arg, int stacksize, int prio);
/barrelfish-master/include/lwip/lwip/
H A Dsys.h142 void *arg, int stacksize, int prio);
H A Dtcp.h61 struct tcp_pcb *tcp_alloc(u8_t prio);
114 void tcp_setprio(struct tcp_pcb *pcb, u8_t prio);
279 u8_t prio; \
/barrelfish-master/lib/lwip/src/
H A Dsys_arch.c304 void *arg, int stacksize, int prio)
325 // TODO: do something with the rest of the arguments (name, stacksize, prio)
303 sys_thread_new(char *name, void (* thread)(void *arg), void *arg, int stacksize, int prio) argument
/barrelfish-master/lib/lwip2/src/
H A Dsys_arch.c314 void *arg, int stacksize, int prio)
335 // TODO: do something with the rest of the arguments (name, stacksize, prio)
/barrelfish-master/include/lwip2/lwip/priv/
H A Dtcp_priv.h79 struct tcp_pcb * tcp_alloc (u8_t prio);

Completed in 319 milliseconds

12