Lines Matching refs:selfset
60 static int proc_apply_bgthreadpolicy_locked(thread_t thread, int selfset);
61 static void restore_bgthreadpolicy_locked(thread_t thread, int selfset, int importance);
394 int selfset = 0;
398 selfset = 1;
400 if (selfset == 0) {
413 int selfset = 0;
419 selfset = 1;
421 if (selfset == 0) {
466 int selfset = 0;
469 selfset = 1;
473 if (selfset == 0) {
521 int selfset = 0;
529 selfset = 1;
532 if (selfset == 0) {
564 int selfset = 0;
567 selfset = 1;
571 if (selfset == 0) {
584 int selfset = 0;
592 selfset = 1;
595 if (selfset == 0) {
611 int selfset = 0;
614 selfset = 1;
618 if (selfset == 0) {
631 int selfset = 0;
639 selfset = 1;
642 if (selfset == 0) {
717 /* apply the background as selfset internal one */
729 int selfset = 0, error = 0;
735 selfset = 1;
741 if (selfset != 0) {
747 error = proc_apply_bgthreadpolicy_locked(thread, selfset);
755 proc_apply_bgthreadpolicy_locked(thread_t thread, int selfset)
766 if (selfset != 0) {
926 int selfset = 0;
932 selfset = 1;
935 if (selfset == 0) {
949 restore_bgthreadpolicy_locked(thread, selfset, importance);
960 restore_bgthreadpolicy_locked(thread_t thread, int selfset, int importance)
970 if (selfset != 0) {
1909 int selfset = 0, ret = 0, setbg = 0;
1915 selfset = 1;