Searched refs:status (Results 1 - 8 of 8) sorted by relevance

/kernel/power/
H A Dsuspend_test.c76 int status; local
80 status = rtc_read_time(rtc, &alm.time);
81 if (status < 0) {
82 printk(err_readtime, dev_name(&rtc->dev), status);
91 status = rtc_set_alarm(rtc, &alm);
92 if (status < 0) {
93 printk(err_wakealarm, dev_name(&rtc->dev), status);
99 status = pm_suspend(state);
100 if (status == -ENODEV)
105 status
[all...]
/kernel/
H A Dsmpboot.c84 unsigned int status; member in struct:smpboot_thread_data
124 if (ht->park && td->status == HP_THREAD_ACTIVE) {
127 td->status = HP_THREAD_PARKED;
137 switch (td->status) {
142 td->status = HP_THREAD_ACTIVE;
149 td->status = HP_THREAD_ACTIVE;
H A Dexit.c950 pid_t pid, uid_t uid, int why, int status)
970 retval = put_user(status, &infop->si_status);
986 int retval, status, traced; local
1002 status = exit_code >> 8;
1005 status = exit_code & 0x7f;
1007 return wait_noreap_copyout(wo, p, pid, uid, why, status);
1085 status = (p->signal->flags & SIGNAL_GROUP_EXIT)
1088 retval = put_user(status, wo->wo_stat);
1098 if ((status & 0x7f) == 0) {
1100 status >>
949 wait_noreap_copyout(struct wait_opts *wo, struct task_struct *p, pid_t pid, uid_t uid, int why, int status) argument
[all...]
H A Dcompat.c43 __get_user(txc->status, &utp->status) ||
71 __put_user(txc->status, &utp->status) ||
548 unsigned int status; local
554 (unsigned int __user *) &status : NULL),
561 if (stat_addr && put_user(status, stat_addr))
1089 int __user *, status,
1103 return sys_move_pages(pid, nr_pages, pages, nodes, status, flags);
/kernel/time/
H A Dntp.c48 * clock synchronization status
54 /* clock status bits: */
166 static inline int is_error_status(int status) argument
168 return (status & (STA_UNSYNC|STA_CLOCKERR))
172 || ((status & (STA_PPSFREQ|STA_PPSTIME))
173 && !(status & STA_PPSSIGNAL))
176 || ((status & (STA_PPSTIME|STA_PPSJITTER))
181 || ((status & STA_PPSFREQ)
182 && (status & (STA_PPSWANDER|STA_PPSERROR)));
212 static inline int is_error_status(int status) argument
[all...]
/kernel/debug/
H A Dgdbstub.c478 /* Handle the '?' status packets */
978 case '?': /* gdbserial status */
1021 case 'T': /* Query thread status */
1111 * @status: The exit code to report.
1113 void gdbstub_exit(int status) argument
1126 buffer[1] = hex_asc_hi(status);
1127 buffer[2] = hex_asc_lo(status);
/kernel/locking/
H A Drtmutex-tester.c337 * @buf: char buffer to be filled with thread status info
370 static DEVICE_ATTR(status, S_IRUSR, sysfs_test_status, NULL);
/kernel/rcu/
H A Dtree_plugin.h1106 static void rcu_wake_cond(struct task_struct *t, int status) argument
1112 if (status != RCU_KTHREAD_YIELDING || is_idle_task(current))

Completed in 143 milliseconds