Home
last modified time | relevance | path

Searched refs:status (Results 1 – 13 of 13) 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 …]
DKconfig285 battery status information, and user-space programs will receive
286 notification of APM "events" (e.g. battery status change).
/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.c1044 int status; member
1102 int state, status; in wait_task_zombie() local
1111 status = (p->signal->flags & SIGNAL_GROUP_EXIT) in wait_task_zombie()
1194 status = (p->signal->flags & SIGNAL_GROUP_EXIT) in wait_task_zombie()
1196 wo->wo_stat = status; in wait_task_zombie()
1216 if ((status & 0x7f) == 0) { in wait_task_zombie()
1218 infop->status = status >> 8; in wait_task_zombie()
1220 infop->cause = (status & 0x80) ? CLD_DUMPED : CLD_KILLED; in wait_task_zombie()
1221 infop->status = status & 0x7f; in wait_task_zombie()
1319 infop->status = exit_code; in wait_task_stopped()
[all …]
Dseccomp.c2419 char *status = cached ? "ALLOW" : "FILTER"; in device_initcall() local
2421 seq_printf(m, "%s %d %s\n", name, nr, status); in device_initcall()
/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()
688 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/trace/
Dtrace_events_user.c117 char status; member
988 char status = 0; in update_reg_page_for() local
1003 status |= EVENT_STATUS_FTRACE; in update_reg_page_for()
1006 status |= EVENT_STATUS_PERF; in update_reg_page_for()
1009 status |= EVENT_STATUS_OTHER; in update_reg_page_for()
1016 if (status) in update_reg_page_for()
1021 user->status = status; in update_reg_page_for()
1789 char status; in user_seq_show() local
1798 status = user->status; in user_seq_show()
1803 if (flags != 0 || status != 0) in user_seq_show()
[all …]
Dring_buffer.c4512 unsigned long status; in ring_buffer_search_footer() local
4516 status = search_writer ? __read_footer_writer_status(bpage) : in ring_buffer_search_footer()
4518 if (flag & status) in ring_buffer_search_footer()
/kernel/debug/
Dgdbstub.c1124 void gdbstub_exit(int status) in gdbstub_exit() argument
1137 buffer[1] = hex_asc_hi(status); in gdbstub_exit()
1138 buffer[2] = hex_asc_lo(status); in gdbstub_exit()
/kernel/bpf/
Dstackmap.c144 id_offs[i].status = BPF_STACK_BUILD_ID_IP; in stack_map_get_build_id_offset()
161 id_offs[i].status = BPF_STACK_BUILD_ID_IP; in stack_map_get_build_id_offset()
169 id_offs[i].status = BPF_STACK_BUILD_ID_VALID; in stack_map_get_build_id_offset()
Dbtf.c393 int status; /* non-zero for error */ member
1207 show->state.status = PTR_ERR(rt); in btf_show_obj_safe()
1255 show->state.status = copy_from_kernel_nofault(show->obj.safe, in btf_show_obj_safe()
1257 if (!show->state.status) { in btf_show_obj_safe()
6826 return sseq.state.status; in btf_type_seq_show_flags()
6879 if (ssnprintf.show.state.status) in btf_type_snprintf_show()
6880 return ssnprintf.show.state.status; in btf_type_snprintf_show()
/kernel/rcu/
Dtree.c2576 static void rcu_wake_cond(struct task_struct *t, int status) in rcu_wake_cond() argument
2582 if (t && (status != RCU_KTHREAD_YIELDING || is_idle_task(current))) in rcu_wake_cond()