/dragonfly/lib/libthread_xu/thread/ |
H A D | thr_kern.c | 156 switch(rtp->type) { in _rtp_to_schedparam() 175 struct rtprio *rtp) in _schedparam_to_rtp() argument 179 rtp->type = RTP_PRIO_REALTIME; in _schedparam_to_rtp() 183 rtp->type = RTP_PRIO_FIFO; in _schedparam_to_rtp() 188 rtp->type = RTP_PRIO_NORMAL; in _schedparam_to_rtp() 189 rtp->prio = 0; in _schedparam_to_rtp() 199 struct rtprio rtp; in _thr_getscheduler() local 204 ret = lwp_rtprio(RTP_LOOKUP, 0, lwpid, &rtp); in _thr_getscheduler() 207 _rtp_to_schedparam(&rtp, policy, param); in _thr_getscheduler() 215 struct rtprio rtp; in _thr_setscheduler() local [all …]
|
H A D | thr_private.h | 723 int _rtp_to_schedparam(const struct rtprio *rtp, int *policy, 726 struct rtprio *rtp);
|
/dragonfly/usr.sbin/rtprio/ |
H A D | rtprio.c | 56 struct rtprio rtp; in main() local 65 rtp.type = RTP_PRIO_REALTIME; in main() 67 rtp.type = RTP_PRIO_IDLE; in main() 75 if (rtprio(RTP_LOOKUP, proc, &rtp) != 0) in main() 78 switch (rtp.type) { in main() 81 printf("realtime priority %d\n", rtp.prio); in main() 87 printf("idle priority %d\n", rtp.prio); in main() 98 rtp.type = RTP_PRIO_NORMAL; in main() 99 rtp.prio = 0; in main() 105 rtp.prio = atoi(argv[1]); in main() [all …]
|
/dragonfly/sys/kern/ |
H A D | kern_sched.c | 164 struct rtprio rtp; in ksched_setscheduler() local 171 rtp.prio = p4prio_to_rtpprio(param->sched_priority); in ksched_setscheduler() 172 rtp.type = (policy == SCHED_FIFO) ? in ksched_setscheduler() 175 lp->lwp_rtprio = rtp; in ksched_setscheduler() 182 rtp.type = RTP_PRIO_NORMAL; in ksched_setscheduler() 183 rtp.prio = p4prio_to_rtpprio(param->sched_priority); in ksched_setscheduler() 184 lp->lwp_rtprio = rtp; in ksched_setscheduler()
|
H A D | kern_resource.c | 563 struct rtprio rtp; in sys_lwp_rtprio() local 566 error = copyin(uap->rtp, &rtp, sizeof(struct rtprio)); in sys_lwp_rtprio() 639 switch (rtp.type) { in sys_lwp_rtprio() 646 if (rtp.prio > RTP_PRIO_MAX) { in sys_lwp_rtprio() 649 lp->lwp_rtprio = rtp; in sys_lwp_rtprio() 683 struct rtprio rtp; in sys_rtprio() local 686 error = copyin(uap->rtp, &rtp, sizeof(struct rtprio)); in sys_rtprio() 732 if (RTP_PRIO_IS_REALTIME(rtp.type)) { in sys_rtprio() 737 switch (rtp.type) { in sys_rtprio() 744 if (rtp.prio > RTP_PRIO_MAX) { in sys_rtprio() [all …]
|
/dragonfly/contrib/gmp/mpf/ |
H A D | div_ui.c | 29 mp_ptr rp, tp, rtp; in mpf_div_ui() local 80 rtp = tp; in mpf_div_ui() 85 rtp = tp + (tsize - usize); in mpf_div_ui() 89 MPN_COPY (rtp, up, usize); in mpf_div_ui()
|
/dragonfly/lib/libutil/ |
H A D | login_class.c | 323 struct rtprio rtp; in setusercontext() local 342 rtp.type = RTP_PRIO_IDLE; in setusercontext() 344 rtp.prio = p > RTP_PRIO_MAX ? RTP_PRIO_MAX : p; in setusercontext() 345 if (rtprio(RTP_SET, 0, &rtp)) in setusercontext() 350 rtp.type = RTP_PRIO_REALTIME; in setusercontext() 352 rtp.prio = p < RTP_PRIO_MIN ? RTP_PRIO_MIN : p; in setusercontext() 353 if (rtprio(RTP_SET, 0, &rtp)) in setusercontext()
|
/dragonfly/sys/dev/drm/radeon/ |
H A D | atombios_dp.c | 569 int rtp = 0; in radeon_dp_set_tp() local 575 rtp = ATOM_ENCODER_CMD_DP_LINK_TRAINING_PATTERN1; in radeon_dp_set_tp() 578 rtp = ATOM_ENCODER_CMD_DP_LINK_TRAINING_PATTERN2; in radeon_dp_set_tp() 581 rtp = ATOM_ENCODER_CMD_DP_LINK_TRAINING_PATTERN3; in radeon_dp_set_tp() 584 atombios_dig_encoder_setup(dp_info->encoder, rtp, 0); in radeon_dp_set_tp() 588 rtp = 0; in radeon_dp_set_tp() 591 rtp = 1; in radeon_dp_set_tp() 595 dp_info->dp_clock, dp_info->enc_id, rtp); in radeon_dp_set_tp()
|
/dragonfly/contrib/dhcpcd/src/ |
H A D | ipv4.c | 380 struct rt *rt, *rth, *rtp; in inet_routerhostroute() local 470 while ((rtp = RB_TREE_MAX(routes)) != NULL) { in inet_routerhostroute() 471 rb_tree_remove_node(routes, rtp); in inet_routerhostroute() 472 rt_proto_add(&troutes, rtp); in inet_routerhostroute() 473 if (rtp == rt) in inet_routerhostroute() 478 while ((rtp = RB_TREE_MAX(&troutes)) != NULL) { in inet_routerhostroute() 479 rb_tree_remove_node(&troutes, rtp); in inet_routerhostroute() 480 rt_proto_add(routes, rtp); in inet_routerhostroute()
|
H A D | ipv6.c | 2288 #define RT_IS_DEFAULT(rtp) \ argument 2289 (IN6_ARE_ADDR_EQUAL(&((rtp)->dest), &in6addr_any) && \ 2290 IN6_ARE_ADDR_EQUAL(&((rtp)->mask), &in6addr_any))
|
/dragonfly/contrib/nvi2/ex/ |
H A D | ex_cscope.c | 456 TAG *rtp; in cscope_find() local 476 rtp = NULL; in cscope_find() 484 CALLOC_GOTO(sp, rtp, 1, sizeof(TAG)); in cscope_find() 485 TAILQ_INSERT_HEAD(rtqp->tagq, rtp, q); in cscope_find() 486 rtqp->current = rtp; in cscope_find() 526 nomatch: free(rtp); in cscope_find() 584 free(rtp); in cscope_find()
|
H A D | ex_tag.c | 709 TAG *rtp; in tagq_push() local 723 rtp = NULL; in tagq_push() 731 CALLOC_GOTO(sp, rtp, 1, sizeof(TAG)); in tagq_push() 732 TAILQ_INSERT_HEAD(rtqp->tagq, rtp, q); in tagq_push() 733 rtqp->current = rtp; in tagq_push() 803 free(rtp); in tagq_push()
|
/dragonfly/sys/dev/drm/amd/amdgpu/ |
H A D | atombios_dp.c | 508 int rtp = 0; in amdgpu_atombios_dp_set_tp() local 513 rtp = ATOM_ENCODER_CMD_DP_LINK_TRAINING_PATTERN1; in amdgpu_atombios_dp_set_tp() 516 rtp = ATOM_ENCODER_CMD_DP_LINK_TRAINING_PATTERN2; in amdgpu_atombios_dp_set_tp() 519 rtp = ATOM_ENCODER_CMD_DP_LINK_TRAINING_PATTERN3; in amdgpu_atombios_dp_set_tp() 522 amdgpu_atombios_encoder_setup_dig_encoder(dp_info->encoder, rtp, 0); in amdgpu_atombios_dp_set_tp()
|
/dragonfly/contrib/tre/lib/ |
H A D | tre-compile.c | 505 *rtp++ = tag; in tre_add_tags() 506 *rtp++ = minimal_tag; in tre_add_tags() 614 *rtp++ = tag; in tre_add_tags() 615 *rtp++ = t; in tre_add_tags() 1291 *rtp = -1; in tre_add_tags() 1296 for (rtp = reorder_tags; *rtp >= 0;) in tre_add_tags() 1299 DPRINT(("%d\n", *rtp++)); in tre_add_tags() 1311 for (rtp = reorder_tags; *rtp >= 0;) in tre_add_tags() 1314 int ti = *rtp++; in tre_add_tags() 1320 rtp++; in tre_add_tags() [all …]
|
/dragonfly/sys/dev/netif/fxp/ |
H A D | if_fxpvar.h | 99 int rtp; /* register resource type */ member
|
H A D | if_fxp.c | 425 sc->rtp = in fxp_attach() 428 sc->mem = bus_alloc_resource_any(dev, sc->rtp, &sc->rgd, in fxp_attach() 432 sc->rtp = in fxp_attach() 435 sc->mem = bus_alloc_resource_any(dev, sc->rtp, &sc->rgd, in fxp_attach() 446 sc->rtp == SYS_RES_MEMORY? "memory" : "I/O"); in fxp_attach() 721 bus_release_resource(dev, sc->rtp, sc->rgd, sc->mem); in fxp_release()
|
/dragonfly/sys/dev/disk/isp/ |
H A D | isp_pci.c | 347 int rtp; member 686 pcs->rgd = pcs->rtp = pcs->iqd = 0; in isp_pci_attach() 690 pcs->rtp = (m1 == PCIM_CMD_MEMEN)? SYS_RES_MEMORY : SYS_RES_IOPORT; in isp_pci_attach() 692 pcs->regs = bus_alloc_resource_any(dev, pcs->rtp, &pcs->rgd, RF_ACTIVE); in isp_pci_attach() 695 pcs->rtp = (m2 == PCIM_CMD_MEMEN)? SYS_RES_MEMORY : SYS_RES_IOPORT; in isp_pci_attach() 697 pcs->regs = bus_alloc_resource_any(dev, pcs->rtp, &pcs->rgd, RF_ACTIVE); in isp_pci_attach() 983 (void) bus_release_resource(dev, pcs->rtp, pcs->rgd, pcs->regs); in isp_pci_attach() 1022 (void) bus_release_resource(dev, pcs->rtp, pcs->rgd, pcs->regs); in isp_pci_detach()
|
/dragonfly/sys/net/sl/ |
H A D | if_sl.c | 452 struct mbuf *m, struct sockaddr *dst, struct rtentry *rtp) in sloutput_serialized() argument 511 struct rtentry *rtp) in sloutput() argument 517 error = sloutput_serialized(ifp, ifsq, m, dst, rtp); in sloutput()
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | ggc-common.c | 86 const_ggc_root_tab_t rtp, rti; in ggc_mark_roots() local 96 FOR_EACH_VEC_ELT (extra_root_vec, i, rtp) in ggc_mark_roots() 97 ggc_mark_root_tab (rtp); in ggc_mark_roots()
|
/dragonfly/contrib/binutils-2.34/libctf/ |
H A D | ctf-types.c | 843 const ctf_type_t *ltp, *rtp; in ctf_type_compat() local 859 rtp = ctf_lookup_by_id (&rfp, rtype); in ctf_type_compat() 861 if (ltp != NULL && rtp != NULL) in ctf_type_compat() 863 ctf_strptr (rfp, rtp->ctt_name)) == 0); in ctf_type_compat()
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | ggc-common.c | 151 const_ggc_root_tab_t rtp, rti; in ggc_mark_roots() local 163 FOR_EACH_VEC_ELT (const_ggc_root_tab_t, extra_root_vec, i, rtp) in ggc_mark_roots() 164 ggc_mark_root_tab (rtp); in ggc_mark_roots()
|
/dragonfly/sys/sys/ |
H A D | sysproto.h | 486 struct rtprio * rtp; char rtp_[PAD_(struct rtprio *)]; member 1175 struct rtprio * rtp; char rtp_[PAD_(struct rtprio *)]; member
|
/dragonfly/contrib/tcpdump/ |
H A D | CHANGES | 1440 (sunrpc) and rtp packets. Added "inbound" and "outbound" keywords
|