Home
last modified time | relevance | path

Searched refs:status (Results 1 – 10 of 10) sorted by relevance

/kernel/power/
Dsuspend_test.c75 int status; in test_wakealarm() local
79 status = rtc_read_time(rtc, &alm.time); in test_wakealarm()
80 if (status < 0) { in test_wakealarm()
81 printk(err_readtime, dev_name(&rtc->dev), status); in test_wakealarm()
90 status = rtc_set_alarm(rtc, &alm); in test_wakealarm()
91 if (status < 0) { in test_wakealarm()
92 printk(err_wakealarm, dev_name(&rtc->dev), status); in test_wakealarm()
98 status = pm_suspend(state); in test_wakealarm()
99 if (status == -ENODEV) in test_wakealarm()
104 status = pm_suspend(state); in test_wakealarm()
[all …]
DKconfig267 battery status information, and user-space programs will receive
268 notification of APM "events" (e.g. battery status change).
/kernel/time/
Dntp.c174 static inline int is_error_status(int status) in is_error_status() argument
176 return (status & (STA_UNSYNC|STA_CLOCKERR)) in is_error_status()
180 || ((status & (STA_PPSFREQ|STA_PPSTIME)) in is_error_status()
181 && !(status & STA_PPSSIGNAL)) in is_error_status()
184 || ((status & (STA_PPSTIME|STA_PPSJITTER)) in is_error_status()
189 || ((status & STA_PPSFREQ) in is_error_status()
190 && (status & (STA_PPSWANDER|STA_PPSERROR))); in is_error_status()
220 static inline int is_error_status(int status) in is_error_status() argument
222 return status & (STA_UNSYNC|STA_CLOCKERR); in is_error_status()
640 if ((time_status & STA_PLL) && !(txc->status & STA_PLL)) { in process_adj_status()
[all …]
Dtime.c299 txc->status = tx32.status; in get_old_timex32()
328 tx32.status = txc->status; in put_old_timex32()
/kernel/
Dsmpboot.c86 unsigned int status; member
118 if (ht->cleanup && td->status != HP_THREAD_NONE) in smpboot_thread_fn()
127 if (ht->park && td->status == HP_THREAD_ACTIVE) { in smpboot_thread_fn()
130 td->status = HP_THREAD_PARKED; in smpboot_thread_fn()
140 switch (td->status) { in smpboot_thread_fn()
146 td->status = HP_THREAD_ACTIVE; in smpboot_thread_fn()
154 td->status = HP_THREAD_ACTIVE; in smpboot_thread_fn()
Dexit.c1003 int status; member
1061 int state, status; in wait_task_zombie() local
1070 status = p->exit_code; in wait_task_zombie()
1152 status = (p->signal->flags & SIGNAL_GROUP_EXIT) in wait_task_zombie()
1154 wo->wo_stat = status; in wait_task_zombie()
1174 if ((status & 0x7f) == 0) { in wait_task_zombie()
1176 infop->status = status >> 8; in wait_task_zombie()
1178 infop->cause = (status & 0x80) ? CLD_DUMPED : CLD_KILLED; in wait_task_zombie()
1179 infop->status = status & 0x7f; in wait_task_zombie()
1277 infop->status = exit_code; in wait_task_stopped()
[all …]
/kernel/debug/
Dgdbstub.c1127 void gdbstub_exit(int status) in gdbstub_exit() argument
1140 buffer[1] = hex_asc_hi(status); in gdbstub_exit()
1141 buffer[2] = hex_asc_lo(status); in gdbstub_exit()
/kernel/bpf/
Dstackmap.c331 id_offs[i].status = BPF_STACK_BUILD_ID_IP; in stack_map_get_build_id_offset()
342 id_offs[i].status = BPF_STACK_BUILD_ID_IP; in stack_map_get_build_id_offset()
349 id_offs[i].status = BPF_STACK_BUILD_ID_VALID; in stack_map_get_build_id_offset()
Dbtf.c354 int status; /* non-zero for error */ member
1060 show->state.status = PTR_ERR(rt); in btf_show_obj_safe()
1108 show->state.status = copy_from_kernel_nofault(show->obj.safe, in btf_show_obj_safe()
1110 if (!show->state.status) { in btf_show_obj_safe()
5364 return sseq.state.status; in btf_type_seq_show_flags()
5417 if (ssnprintf.show.state.status) in btf_type_snprintf_show()
5418 return ssnprintf.show.state.status; in btf_type_snprintf_show()
/kernel/rcu/
Dtree.c2751 static void rcu_wake_cond(struct task_struct *t, int status) in rcu_wake_cond() argument
2757 if (t && (status != RCU_KTHREAD_YIELDING || is_idle_task(current))) in rcu_wake_cond()