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 | 705 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()
|
D | core-util.h | 85 int pa_raise_priority(int nice_level);
|
/third_party/pulseaudio/src/daemon/ |
D | daemon-conf.h | 87 nice_level, member
|
D | ohos_daemon-conf.c | 66 .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()
|
D | daemon-conf.c | 66 .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()
|
D | main.c | 1065 pa_raise_priority(conf->nice_level);
|
D | ohos_pa_main.c | 1091 pa_raise_priority(conf->nice_level); in real_main()
|