Searched refs:nice_level (Results 1 – 9 of 9) sorted by relevance
/third_party/pulseaudio/src/pulsecore/ |
D | rtkit.c | 230 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
|
D | rtkit.h | 57 int rtkit_make_high_priority(DBusConnection *system_bus, pid_t thread, int nice_level);
|
D | core-util.c | 686 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()
|
D | core-util.h | 84 int pa_raise_priority(int nice_level);
|
/third_party/pulseaudio/src/daemon/ |
D | daemon-conf.h | 87 nice_level, member
|
D | daemon-conf.c | 66 .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()
|
D | ohos_daemon-conf.c | 66 .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()
|
D | ohos_pa_main.c | 943 pa_raise_priority(conf->nice_level); in ohos_pa_main()
|
D | main.c | 910 pa_raise_priority(conf->nice_level); in main()
|