Searched refs:sa (Results 1 – 6 of 6) sorted by relevance
104 accumulate_sum(u64 delta, struct sched_avg *sa, in accumulate_sum() argument110 delta += sa->period_contrib; in accumulate_sum()117 sa->load_sum = decay_load(sa->load_sum, periods); in accumulate_sum()118 sa->runnable_sum = in accumulate_sum()119 decay_load(sa->runnable_sum, periods); in accumulate_sum()120 sa->util_sum = decay_load((u64)(sa->util_sum), periods); in accumulate_sum()138 1024 - sa->period_contrib, delta); in accumulate_sum()141 sa->period_contrib = delta; in accumulate_sum()144 sa->load_sum += load * contrib; in accumulate_sum()146 sa->runnable_sum += runnable * contrib << SCHED_CAPACITY_SHIFT; in accumulate_sum()[all …]
796 struct sched_avg *sa = &se->avg; in init_entity_runnable_average() local798 memset(sa, 0, sizeof(*sa)); in init_entity_runnable_average()807 sa->load_avg = scale_load_down(se->load.weight); in init_entity_runnable_average()842 struct sched_avg *sa = &se->avg; in post_init_entity_util_avg() local863 sa->util_avg = cfs_rq->avg.util_avg * se->load.weight; in post_init_entity_util_avg()864 sa->util_avg /= (cfs_rq->avg.load_avg + 1); in post_init_entity_util_avg()866 if (sa->util_avg > cap) in post_init_entity_util_avg()867 sa->util_avg = cap; in post_init_entity_util_avg()869 sa->util_avg = cap; in post_init_entity_util_avg()873 sa->runnable_avg = sa->util_avg; in post_init_entity_util_avg()[all …]
908 struct kcsan_scoped_access *sa) in kcsan_begin_scoped_access() argument916 INIT_LIST_HEAD(&sa->list); in kcsan_begin_scoped_access()917 sa->ptr = ptr; in kcsan_begin_scoped_access()918 sa->size = size; in kcsan_begin_scoped_access()919 sa->type = type; in kcsan_begin_scoped_access()920 sa->ip = _RET_IP_; in kcsan_begin_scoped_access()924 list_add(&sa->list, &ctx->scoped_accesses); in kcsan_begin_scoped_access()927 return sa; in kcsan_begin_scoped_access()931 void kcsan_end_scoped_access(struct kcsan_scoped_access *sa) in kcsan_end_scoped_access() argument940 list_del(&sa->list); in kcsan_end_scoped_access()[all …]
73 return t->sighand->action[sig - 1].sa.sa_handler; in sig_handler()533 t->sighand->action[i].sa.sa_handler = SIG_IGN; in ignore_signals()548 if (force_default || ka->sa.sa_handler != SIG_IGN) in flush_signal_handlers()549 ka->sa.sa_handler = SIG_DFL; in flush_signal_handlers()550 ka->sa.sa_flags = 0; in flush_signal_handlers()552 ka->sa.sa_restorer = NULL; in flush_signal_handlers()554 sigemptyset(&ka->sa.sa_mask); in flush_signal_handlers()561 void __user *handler = tsk->sighand->action[sig-1].sa.sa_handler; in unhandled_signal()1345 ignored = action->sa.sa_handler == SIG_IGN; in force_sig_info_to_task()1348 action->sa.sa_handler = SIG_DFL; in force_sig_info_to_task()[all …]
183 me->sighand->action[SIGCHLD - 1].sa.sa_handler = SIG_IGN; in zap_pid_ns_processes()
536 ret = (sigh->action[SIGCHLD-1].sa.sa_handler == SIG_IGN) || in ignoring_children()537 (sigh->action[SIGCHLD-1].sa.sa_flags & SA_NOCLDWAIT); in ignoring_children()