Home
last modified time | relevance | path

Searched refs:nice_level (Results 1 – 9 of 9) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Drtkit.c230 int rtkit_make_high_priority(DBusConnection *connection, pid_t thread, int nice_level) { in rtkit_make_high_priority() argument
252 s32 = (dbus_int32_t) nice_level; in rtkit_make_high_priority()
297 int rtkit_make_high_priority(DBusConnection *connection, pid_t thread, int nice_level) { in rtkit_make_high_priority() argument
Drtkit.h57 int rtkit_make_high_priority(DBusConnection *system_bus, pid_t thread, int nice_level);
Dcore-util.c705 static int set_nice(int nice_level) { in set_nice() argument
715 if (setpriority(PRIO_PROCESS, 0, nice_level) >= 0) { in set_nice()
736 r = rtkit_make_high_priority(bus, 0, nice_level); in set_nice()
754 int pa_raise_priority(int nice_level) { in pa_raise_priority() argument
759 if (set_nice(nice_level) >= 0) { in pa_raise_priority()
760 pa_log_info("Successfully gained nice level %i.", nice_level); in pa_raise_priority()
764 for (n = nice_level+1; n < 0; n++) in pa_raise_priority()
766 …_info("Successfully acquired nice level %i, which is lower than the requested %i.", n, nice_level); in pa_raise_priority()
775 if (nice_level < 0) { in pa_raise_priority()
Dcore-util.h85 int pa_raise_priority(int nice_level);
/third_party/pulseaudio/src/daemon/
Ddaemon-conf.h87 nice_level, member
Dohos_daemon-conf.c66 .nice_level = -11,
471 c->nice_level = (int) level; in parse_nice_level()
798 pa_strbuf_printf(s, "nice-level = %i\n", c->nice_level); in pa_daemon_conf_dump()
Ddaemon-conf.c66 .nice_level = -11,
471 c->nice_level = (int) level; in parse_nice_level()
798 pa_strbuf_printf(s, "nice-level = %i\n", c->nice_level); in pa_daemon_conf_dump()
Dmain.c1065 pa_raise_priority(conf->nice_level);
Dohos_pa_main.c1091 pa_raise_priority(conf->nice_level); in real_main()