Home
last modified time | relevance | path

Searched refs:status (Results 1 – 9 of 9) 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 …]
DKconfig255 battery status information, and user-space programs will receive
256 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.c301 txc->status = tx32.status; in get_old_timex32()
330 tx32.status = txc->status; in put_old_timex32()
/kernel/
Dsmpboot.c87 unsigned int status; member
119 if (ht->cleanup && td->status != HP_THREAD_NONE) in smpboot_thread_fn()
128 if (ht->park && td->status == HP_THREAD_ACTIVE) { in smpboot_thread_fn()
131 td->status = HP_THREAD_PARKED; in smpboot_thread_fn()
141 switch (td->status) { in smpboot_thread_fn()
147 td->status = HP_THREAD_ACTIVE; in smpboot_thread_fn()
155 td->status = HP_THREAD_ACTIVE; in smpboot_thread_fn()
Dexit.c918 int status; member
976 int state, status; in wait_task_zombie() local
985 status = p->exit_code; in wait_task_zombie()
1067 status = (p->signal->flags & SIGNAL_GROUP_EXIT) in wait_task_zombie()
1069 wo->wo_stat = status; in wait_task_zombie()
1089 if ((status & 0x7f) == 0) { in wait_task_zombie()
1091 infop->status = status >> 8; in wait_task_zombie()
1093 infop->cause = (status & 0x80) ? CLD_DUMPED : CLD_KILLED; in wait_task_zombie()
1094 infop->status = status & 0x7f; in wait_task_zombie()
1192 infop->status = exit_code; in wait_task_stopped()
[all …]
/kernel/debug/
Dgdbstub.c1115 void gdbstub_exit(int status) in gdbstub_exit() argument
1128 buffer[1] = hex_asc_hi(status); in gdbstub_exit()
1129 buffer[2] = hex_asc_lo(status); in gdbstub_exit()
/kernel/bpf/
Dstackmap.c311 id_offs[i].status = BPF_STACK_BUILD_ID_IP; in stack_map_get_build_id_offset()
322 id_offs[i].status = BPF_STACK_BUILD_ID_IP; in stack_map_get_build_id_offset()
329 id_offs[i].status = BPF_STACK_BUILD_ID_VALID; in stack_map_get_build_id_offset()
/kernel/rcu/
Dtree.c2389 static void rcu_wake_cond(struct task_struct *t, int status) in rcu_wake_cond() argument
2395 if (t && (status != RCU_KTHREAD_YIELDING || is_idle_task(current))) in rcu_wake_cond()