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.c686 static int set_nice(int nice_level) { in set_nice() argument
696 if (setpriority(PRIO_PROCESS, 0, nice_level) >= 0) { in set_nice()
717 r = rtkit_make_high_priority(bus, 0, nice_level); in set_nice()
735 int pa_raise_priority(int nice_level) { in pa_raise_priority() argument
740 if (set_nice(nice_level) >= 0) { in pa_raise_priority()
741 pa_log_info("Successfully gained nice level %i.", nice_level); in pa_raise_priority()
745 for (n = nice_level+1; n < 0; n++) in pa_raise_priority()
747 …_info("Successfully acquired nice level %i, which is lower than the requested %i.", n, nice_level); in pa_raise_priority()
756 if (nice_level < 0) { in pa_raise_priority()
Dcore-util.h84 int pa_raise_priority(int nice_level);
/third_party/pulseaudio/src/daemon/
Ddaemon-conf.h87 nice_level, member
Ddaemon-conf.c66 .nice_level = -11,
471 c->nice_level = (int) level; in parse_nice_level()
786 pa_strbuf_printf(s, "nice-level = %i\n", c->nice_level); in pa_daemon_conf_dump()
Dohos_daemon-conf.c66 .nice_level = -11,
471 c->nice_level = (int) level; in parse_nice_level()
786 pa_strbuf_printf(s, "nice-level = %i\n", c->nice_level); in pa_daemon_conf_dump()
Dohos_pa_main.c943 pa_raise_priority(conf->nice_level); in ohos_pa_main()
Dmain.c910 pa_raise_priority(conf->nice_level); in main()