Home
last modified time | relevance | path

Searched refs:rtprio (Results 1 - 8 of 8) sorted by relevance

/third_party/pulseaudio/src/pulse/
H A Dutil.c376 static int set_scheduler(int rtprio) { in set_scheduler() argument
392 sp.sched_priority = rtprio; in set_scheduler()
436 r = rtkit_make_realtime(bus, 0, rtprio); in set_scheduler()
461 * rtprio we can get that is less or equal the specified parameter. If
463 int pa_thread_make_realtime(int rtprio) { in pa_thread_make_realtime() argument
500 if (set_scheduler(rtprio) >= 0) { in pa_thread_make_realtime()
501 pa_log_info("Successfully enabled SCHED_RR scheduling for thread, with priority %i.", rtprio); in pa_thread_make_realtime()
505 for (p = rtprio-1; p >= 1; p--) in pa_thread_make_realtime()
507 pa_log_info("Successfully enabled SCHED_RR scheduling for thread, with priority %i, which is lower than the requested %i.", p, rtprio); in pa_thread_make_realtime()
H A Dutil.h61 int pa_thread_make_realtime(int rtprio);
/third_party/pulseaudio/src/daemon/
H A Dohos_daemon-conf.c68 .realtime_priority = 5, /* Half of JACK's default rtprio */
478 int32_t rtprio; in parse_rtprio() local
489 if (pa_atoi(state->rvalue, &rtprio) < 0 || rtprio < sched_get_priority_min(SCHED_FIFO) || rtprio > sched_get_priority_max(SCHED_FIFO)) { in parse_rtprio()
494 c->realtime_priority = (int) rtprio; in parse_rtprio()
656 { "rlimit-rtprio", parse_rlimit, &c->rlimit_rtprio, NULL }, in pa_daemon_conf_load()
874 pa_strbuf_printf(s, "rlimit-rtprio = %li\n", c->rlimit_rtprio.is_set ? (long int) c->rlimit_rtprio.value : -1); in pa_daemon_conf_dump()
H A Ddaemon-conf.c68 .realtime_priority = 5, /* Half of JACK's default rtprio */
478 int32_t rtprio; in parse_rtprio() local
489 if (pa_atoi(state->rvalue, &rtprio) < 0 || rtprio < sched_get_priority_min(SCHED_FIFO) || rtprio > sched_get_priority_max(SCHED_FIFO)) { in parse_rtprio()
494 c->realtime_priority = (int) rtprio; in parse_rtprio()
656 { "rlimit-rtprio", parse_rlimit, &c->rlimit_rtprio, NULL }, in pa_daemon_conf_load()
874 pa_strbuf_printf(s, "rlimit-rtprio = %li\n", c->rlimit_rtprio.is_set ? (long int) c->rlimit_rtprio.value : -1); in pa_daemon_conf_dump()
/third_party/ltp/testcases/kernel/controllers/cpuctl_fj/
H A Drun_cpuctl_test_fj.sh132 ps -eo pid,rtprio > /tmp/pids_file1 &
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/
H A Dmod.rs239 pub struct rtprio { structure names
1342 // Values for rtprio struct (prio field) and syscall (function argument)
1635 pub fn rtprio(function: ::c_int, pid: ::pid_t, rtp: *mut rtprio) -> ::c_int; in rtprio() functions
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/dragonfly/
H A Dmod.rs282 pub kl_rtprio: ::rtprio,
1496 // Values for struct rtprio (type_ field)
1626 rtp: *mut super::rtprio, in lwp_rtprio()
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
H A Dmod.rs3069 // Values for struct rtprio (type_ field)
4109 pub fn rtprio_thread(function: ::c_int, lwpid: ::lwpid_t, rtp: *mut super::rtprio) -> ::c_int; in rtprio_thread()

Completed in 24 milliseconds