tag | line | file | source code |
state | 66 | fs/buffer.c | current->state = TASK_UNINTERRUPTIBLE; |
state | 72 | fs/buffer.c | current->state = TASK_RUNNING; |
state | 369 | fs/inode.c | current->state = TASK_UNINTERRUPTIBLE; |
state | 375 | fs/inode.c | current->state = TASK_RUNNING; |
state | 78 | fs/nfs/sock.c | current->state = TASK_INTERRUPTIBLE; |
state | 86 | fs/nfs/sock.c | current->state = TASK_RUNNING; |
state | 121 | fs/nfs/sock.c | current->state = TASK_RUNNING; |
state | 164 | fs/proc/array.c | if (!p || p == current || p->state == TASK_RUNNING) |
state | 185 | fs/proc/array.c | char state; |
state | 189 | fs/proc/array.c | if ((*p)->state < 0 || (*p)->state > 5) |
state | 190 | fs/proc/array.c | state = '.'; |
state | 192 | fs/proc/array.c | state = "RSDZTD"[(*p)->state]; |
state | 211 | fs/proc/array.c | state, |
state | 258 | fs/proc/array.c | if ((*p)->state != TASK_ZOMBIE) { |
state | 118 | fs/select.c | current->state = TASK_INTERRUPTIBLE; |
state | 143 | fs/select.c | current->state = TASK_RUNNING; |
state | 58 | fs/super.c | current->state = TASK_UNINTERRUPTIBLE; |
state | 64 | fs/super.c | current->state = TASK_RUNNING; |
state | 146 | include/linux/sched.h | long state; /* -1 unrunnable, 0 runnable, >0 stopped */ |
state | 245 | kernel/blk_drv/blk.h | p->state = TASK_RUNNING; |
state | 257 | kernel/blk_drv/ll_rw_blk.c | current->state = TASK_SWAPPING; |
state | 371 | kernel/blk_drv/ll_rw_blk.c | current->state = TASK_UNINTERRUPTIBLE; |
state | 485 | kernel/blk_drv/scsi/scsi.h | p->state = TASK_RUNNING; |
state | 518 | kernel/blk_drv/scsi/scsi.h | current->state = TASK_UNINTERRUPTIBLE; \ |
state | 524 | kernel/blk_drv/scsi/scsi.h | current->state = TASK_RUNNING; \ |
state | 83 | kernel/blk_drv/scsi/scsi_ioctl.c | p->state = TASK_RUNNING; |
state | 103 | kernel/blk_drv/scsi/scsi_ioctl.c | current->state = TASK_UNINTERRUPTIBLE; |
state | 188 | kernel/blk_drv/scsi/scsi_ioctl.c | current->state = TASK_UNINTERRUPTIBLE; |
state | 664 | kernel/blk_drv/scsi/sd.c | p->state = TASK_RUNNING; |
state | 703 | kernel/blk_drv/scsi/sd.c | current->state = TASK_UNINTERRUPTIBLE; |
state | 622 | kernel/blk_drv/scsi/sr.c | p->state = TASK_RUNNING; |
state | 667 | kernel/blk_drv/scsi/sr.c | current->state = TASK_UNINTERRUPTIBLE; |
state | 30 | kernel/blk_drv/scsi/sr_ioctl.c | p->state = TASK_RUNNING; |
state | 53 | kernel/blk_drv/scsi/sr_ioctl.c | current->state = TASK_UNINTERRUPTIBLE; |
state | 853 | kernel/chr_drv/console.c | state = ESnormal; |
state | 905 | kernel/chr_drv/console.c | if (state == ESnormal && translate[c]) { |
state | 960 | kernel/chr_drv/console.c | state = ESnormal; |
state | 963 | kernel/chr_drv/console.c | state = ESesc; |
state | 969 | kernel/chr_drv/console.c | state = ESsquare; |
state | 972 | kernel/chr_drv/console.c | switch(state) { |
state | 974 | kernel/chr_drv/console.c | state = ESnormal; |
state | 977 | kernel/chr_drv/console.c | state = ESsquare; |
state | 1002 | kernel/chr_drv/console.c | state = ESsetG0; |
state | 1005 | kernel/chr_drv/console.c | state = ESsetG1; |
state | 1008 | kernel/chr_drv/console.c | state = EShash; |
state | 1025 | kernel/chr_drv/console.c | state = ESgetpars; |
state | 1027 | kernel/chr_drv/console.c | state=ESfunckey; |
state | 1041 | kernel/chr_drv/console.c | } else state=ESgotpars; |
state | 1043 | kernel/chr_drv/console.c | state = ESnormal; |
state | 1162 | kernel/chr_drv/console.c | state = ESnormal; |
state | 1165 | kernel/chr_drv/console.c | state = ESnormal; |
state | 1184 | kernel/chr_drv/console.c | state = ESnormal; |
state | 1195 | kernel/chr_drv/console.c | state = ESnormal; |
state | 1198 | kernel/chr_drv/console.c | state = ESnormal; |
state | 221 | kernel/chr_drv/lp.c | current->state = TASK_INTERRUPTIBLE; |
state | 229 | kernel/chr_drv/lp.c | current->state = TASK_INTERRUPTIBLE; |
state | 238 | kernel/chr_drv/lp.c | current->state = TASK_INTERRUPTIBLE; |
state | 255 | kernel/chr_drv/lp.c | current->state = TASK_INTERRUPTIBLE; |
state | 233 | kernel/chr_drv/psaux.c | current->state = TASK_INTERRUPTIBLE; |
state | 238 | kernel/chr_drv/psaux.c | current->state = TASK_RUNNING; |
state | 306 | kernel/chr_drv/psaux.c | current->state = TASK_INTERRUPTIBLE; |
state | 965 | kernel/chr_drv/serial.c | current->state = TASK_INTERRUPTIBLE; |
state | 1093 | kernel/chr_drv/serial.c | current->state = TASK_INTERRUPTIBLE; |
state | 1169 | kernel/chr_drv/serial.c | current->state = TASK_INTERRUPTIBLE; |
state | 1191 | kernel/chr_drv/serial.c | current->state = TASK_RUNNING; |
state | 797 | kernel/chr_drv/tty_io.c | current->state = TASK_INTERRUPTIBLE; |
state | 800 | kernel/chr_drv/tty_io.c | current->state = TASK_RUNNING; |
state | 831 | kernel/chr_drv/tty_io.c | current->state = TASK_INTERRUPTIBLE; |
state | 840 | kernel/chr_drv/tty_io.c | current->state = TASK_RUNNING; |
state | 878 | kernel/chr_drv/tty_io.c | current->state = TASK_INTERRUPTIBLE; |
state | 883 | kernel/chr_drv/tty_io.c | current->state = TASK_RUNNING; |
state | 886 | kernel/chr_drv/tty_io.c | current->state = TASK_RUNNING; |
state | 83 | kernel/chr_drv/tty_ioctl.c | current->state = TASK_INTERRUPTIBLE; |
state | 91 | kernel/chr_drv/tty_ioctl.c | current->state = TASK_RUNNING; |
state | 302 | kernel/chr_drv/vt.c | unsigned short state, mask; |
state | 308 | kernel/chr_drv/vt.c | state = 1; /* /dev/tty0 is always open */ |
state | 311 | kernel/chr_drv/vt.c | state |= mask; |
state | 312 | kernel/chr_drv/vt.c | put_fs_word(state, &vtstat->v_state); |
state | 33 | kernel/exit.c | if (p->state == TASK_STOPPED) |
state | 34 | kernel/exit.c | p->state = TASK_RUNNING; |
state | 49 | kernel/exit.c | if (p->p_pptr != NULL && p->p_pptr->state == TASK_INTERRUPTIBLE) |
state | 50 | kernel/exit.c | p->p_pptr->state = TASK_RUNNING; |
state | 53 | kernel/exit.c | if (p->state == TASK_INTERRUPTIBLE || p->state == TASK_RUNNING) |
state | 54 | kernel/exit.c | p->state = TASK_STOPPED; |
state | 293 | kernel/exit.c | ((*p)->state == TASK_ZOMBIE) || |
state | 310 | kernel/exit.c | if ((*p)->state == TASK_STOPPED) |
state | 349 | kernel/exit.c | current->state = TASK_ZOMBIE; |
state | 390 | kernel/exit.c | if (p->state == TASK_ZOMBIE) |
state | 475 | kernel/exit.c | switch (p->state) { |
state | 517 | kernel/exit.c | current->state=TASK_INTERRUPTIBLE; |
state | 88 | kernel/fork.c | p->state = TASK_UNINTERRUPTIBLE; |
state | 155 | kernel/fork.c | p->state = TASK_RUNNING; /* do this last, just in case */ |
state | 255 | kernel/ptrace.c | if (child->state == TASK_INTERRUPTIBLE || |
state | 256 | kernel/ptrace.c | child->state == TASK_STOPPED) |
state | 257 | kernel/ptrace.c | child->state = TASK_RUNNING; |
state | 263 | kernel/ptrace.c | if (child->state != TASK_STOPPED && request != PTRACE_DETACH) |
state | 327 | kernel/ptrace.c | child->state = TASK_RUNNING; |
state | 342 | kernel/ptrace.c | child->state = TASK_RUNNING; |
state | 356 | kernel/ptrace.c | child->state = TASK_RUNNING; |
state | 369 | kernel/ptrace.c | child->state = 0; |
state | 111 | kernel/sched.c | if (!*p || ((*p)->state != TASK_INTERRUPTIBLE)) |
state | 115 | kernel/sched.c | (*p)->state = TASK_RUNNING; |
state | 117 | kernel/sched.c | (*p)->state = TASK_RUNNING; |
state | 130 | kernel/sched.c | if ((*p)->state == TASK_RUNNING && (*p)->counter > c) |
state | 146 | kernel/sched.c | current->state = TASK_INTERRUPTIBLE; |
state | 168 | kernel/sched.c | if ((p->state == TASK_UNINTERRUPTIBLE) || |
state | 169 | kernel/sched.c | (p->state == TASK_INTERRUPTIBLE)) { |
state | 170 | kernel/sched.c | p->state = TASK_RUNNING; |
state | 195 | kernel/sched.c | if (p->state == TASK_INTERRUPTIBLE) { |
state | 196 | kernel/sched.c | p->state = TASK_RUNNING; |
state | 212 | kernel/sched.c | static inline void __sleep_on(struct wait_queue **p, int state) |
state | 221 | kernel/sched.c | current->state = state; |
state | 367 | kernel/sched.c | if (*p && (*p)->state == TASK_RUNNING) |
state | 519 | kernel/sched.c | p->state, p->p_pptr->pid, p->p_cptr ? p->p_cptr->pid : -1); |
state | 59 | kernel/signal.c | current->state = TASK_INTERRUPTIBLE; |
state | 245 | kernel/signal.c | current->state = TASK_STOPPED; |
state | 29 | net/kern_sock.h | socket_state state; |
state | 129 | net/socket.c | if (sock->state != SS_FREE && SOCK_INODE(sock) == inode) |
state | 154 | net/socket.c | if (sock->state == SS_FREE) { |
state | 155 | net/socket.c | sock->state = SS_UNCONNECTED; |
state | 173 | net/socket.c | sock->state = SS_FREE; |
state | 201 | net/socket.c | peer->state = SS_DISCONNECTING; |
state | 213 | net/socket.c | if ((oldstate = sock->state) != SS_UNCONNECTED) |
state | 214 | net/socket.c | sock->state = SS_DISCONNECTING; |
state | 231 | net/socket.c | sock->state = SS_FREE; /* this really releases us */ |
state | 356 | net/socket.c | mysock->state = SS_CONNECTING; |
state | 365 | net/socket.c | if (mysock->state != SS_CONNECTED) { |
state | 367 | net/socket.c | if (mysock->state != SS_CONNECTED && |
state | 368 | net/socket.c | mysock->state != SS_DISCONNECTING) |
state | 504 | net/socket.c | sock1->state = SS_CONNECTED; |
state | 505 | net/socket.c | sock2->state = SS_CONNECTED; |
state | 547 | net/socket.c | if (sock->state != SS_UNCONNECTED) { |
state | 575 | net/socket.c | if (sock->state != SS_UNCONNECTED) { |
state | 631 | net/socket.c | switch (sock->state) { |
state | 963 | net/socket.c | sock->state = SS_FREE; |
state | 198 | net/tcp/packet.c | sk->state = TCP_CLOSE; |
state | 256 | net/tcp/raw.c | if (sk->state != TCP_ESTABLISHED) |
state | 331 | net/tcp/raw.c | sk->state = TCP_CLOSE; |
state | 204 | net/tcp/sock.c | printk (" state = %d\n",sk->state); |
state | 871 | net/tcp/sock.c | sk->state = TCP_LISTEN; |
state | 1032 | net/tcp/sock.c | sk->state = TCP_CLOSE; |
state | 1135 | net/tcp/sock.c | while (sk->state != TCP_CLOSE) |
state | 1176 | net/tcp/sock.c | if (sk->state != TCP_CLOSE) return (-EIO); |
state | 1246 | net/tcp/sock.c | if (sk->state == TCP_ESTABLISHED) |
state | 1248 | net/tcp/sock.c | sock->state = SS_CONNECTED; |
state | 1252 | net/tcp/sock.c | if (sock->state == SS_CONNECTING) |
state | 1254 | net/tcp/sock.c | if (sk->state == TCP_SYN_SENT || sk->state == TCP_SYN_RECV) |
state | 1259 | net/tcp/sock.c | sock->state = SS_CONNECTED; |
state | 1278 | net/tcp/sock.c | sock->state = SS_CONNECTING; |
state | 1279 | net/tcp/sock.c | if (sk->state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) |
state | 1284 | net/tcp/sock.c | while (sk->state == TCP_SYN_SENT || sk->state == TCP_SYN_RECV) |
state | 1294 | net/tcp/sock.c | sock->state = SS_CONNECTED; |
state | 1296 | net/tcp/sock.c | if (sk->state != TCP_ESTABLISHED && sk->err) |
state | 1298 | net/tcp/sock.c | sock->state = SS_UNCONNECTED; |
state | 1356 | net/tcp/sock.c | while (sk2->state == TCP_SYN_RECV) |
state | 1370 | net/tcp/sock.c | if (sk2->state != TCP_ESTABLISHED && sk2->err > 0) |
state | 1378 | net/tcp/sock.c | newsock->state = SS_CONNECTED; |
state | 1401 | net/tcp/sock.c | if (!tcp_connected(sk->state)) |
state | 1603 | net/tcp/sock.c | if (sock->state == SS_CONNECTING && sk->state == TCP_ESTABLISHED) |
state | 1604 | net/tcp/sock.c | sock->state = SS_CONNECTED; |
state | 1606 | net/tcp/sock.c | if (!tcp_connected(sk->state)) return (-ENOTCONN); |
state | 1878 | net/tcp/sock.c | if (sk->dead && sk->state == TCP_CLOSE) |
state | 100 | net/tcp/sock.h | volatile unsigned char state; |
state | 176 | net/tcp/tcp.c | sk->state = TCP_TIME_WAIT; |
state | 242 | net/tcp/tcp.c | if (sk->state == TCP_SYN_SENT) |
state | 244 | net/tcp/tcp.c | sk->state = TCP_CLOSE; |
state | 312 | net/tcp/tcp.c | if (sk->state == TCP_LISTEN || tcp_readable(sk)) |
state | 347 | net/tcp/tcp.c | if (sk->state == TCP_SYN_RECV || sk->state == TCP_SYN_SENT) |
state | 393 | net/tcp/tcp.c | if (sk->state == TCP_LISTEN) |
state | 430 | net/tcp/tcp.c | if (sk->state == TCP_LISTEN) |
state | 583 | net/tcp/tcp.c | if (sk->timeout != TIME_WRITE && tcp_connected (sk->state)) |
state | 708 | net/tcp/tcp.c | while (sk->state != TCP_ESTABLISHED && sk->state != TCP_CLOSE_WAIT) |
state | 719 | net/tcp/tcp.c | if (sk->state != TCP_SYN_SENT && |
state | 720 | net/tcp/tcp.c | sk->state != TCP_SYN_RECV) |
state | 756 | net/tcp/tcp.c | if (sk->state != TCP_ESTABLISHED && sk->state != TCP_CLOSE_WAIT && |
state | 855 | net/tcp/tcp.c | && (sk->state == TCP_ESTABLISHED || sk->state == TCP_CLOSE_WAIT ) |
state | 1132 | net/tcp/tcp.c | if (sk->state == TCP_CLOSE || sk->done) |
state | 1225 | net/tcp/tcp.c | if (sk->state == TCP_LISTEN) return (-ENOTCONN); |
state | 1266 | net/tcp/tcp.c | if (sk->state == TCP_CLOSE) |
state | 1308 | net/tcp/tcp.c | PRINTK (("tcp_read about to sleep. state = %d\n",sk->state)); |
state | 1439 | net/tcp/tcp.c | if (sk->state == TCP_FIN_WAIT1 || |
state | 1440 | net/tcp/tcp.c | sk->state == TCP_FIN_WAIT2) |
state | 1515 | net/tcp/tcp.c | if (sk->state == TCP_ESTABLISHED) |
state | 1517 | net/tcp/tcp.c | sk->state = TCP_FIN_WAIT1; |
state | 1521 | net/tcp/tcp.c | sk->state = TCP_FIN_WAIT2; |
state | 1685 | net/tcp/tcp.c | newsk->state = TCP_SYN_RECV; |
state | 1864 | net/tcp/tcp.c | switch (sk->state) |
state | 1881 | net/tcp/tcp.c | sk->state = TCP_CLOSE; |
state | 1886 | net/tcp/tcp.c | sk->state = TCP_CLOSE; |
state | 1908 | net/tcp/tcp.c | if (sk->state != TCP_CLOSE_WAIT) |
state | 1909 | net/tcp/tcp.c | sk->state = TCP_ESTABLISHED; |
state | 1975 | net/tcp/tcp.c | if (sk->state == TCP_CLOSE_WAIT) |
state | 1977 | net/tcp/tcp.c | sk->state = TCP_FIN_WAIT2; |
state | 1981 | net/tcp/tcp.c | sk->state = TCP_FIN_WAIT1; |
state | 2032 | net/tcp/tcp.c | if (after (ack, sk->send_seq) || (sk->state != TCP_ESTABLISHED && |
state | 2033 | net/tcp/tcp.c | sk->state != TCP_CLOSE_WAIT)) |
state | 2231 | net/tcp/tcp.c | sk->state != TCP_TIME_WAIT && !sk->keepopen) |
state | 2242 | net/tcp/tcp.c | if (sk->state != sk->keepopen) |
state | 2248 | net/tcp/tcp.c | if (sk->state == TCP_TIME_WAIT) |
state | 2265 | net/tcp/tcp.c | if ( sk->state == TCP_TIME_WAIT) |
state | 2271 | net/tcp/tcp.c | sk->state = TCP_CLOSE; |
state | 2276 | net/tcp/tcp.c | if (sk->state == TCP_LAST_ACK || sk->state == TCP_FIN_WAIT2) |
state | 2290 | net/tcp/tcp.c | sk->state = TCP_CLOSE; |
state | 2333 | net/tcp/tcp.c | sk->state = TCP_CLOSE; |
state | 2479 | net/tcp/tcp.c | if (sk->state == TCP_FIN_WAIT2 && sk->acked_seq == sk->fin_seq |
state | 2486 | net/tcp/tcp.c | sk->state = TCP_LAST_ACK; |
state | 2542 | net/tcp/tcp.c | switch (sk->state) |
state | 2548 | net/tcp/tcp.c | sk->state = TCP_CLOSE_WAIT; |
state | 2558 | net/tcp/tcp.c | sk->state = TCP_FIN_WAIT2; |
state | 2563 | net/tcp/tcp.c | sk->state = TCP_LAST_ACK; |
state | 2660 | net/tcp/tcp.c | if (sk->state != TCP_LISTEN) |
state | 2713 | net/tcp/tcp.c | if (sk->state != TCP_CLOSE) return (-EISCONN); |
state | 2778 | net/tcp/tcp.c | sk->state = TCP_SYN_SENT; |
state | 2984 | net/tcp/tcp.c | switch (sk->state) |
state | 2992 | net/tcp/tcp.c | sk->state = TCP_CLOSE; |
state | 3021 | net/tcp/tcp.c | if (sk->state == TCP_CLOSE_WAIT) |
state | 3030 | net/tcp/tcp.c | sk->state = TCP_CLOSE; |
state | 3045 | net/tcp/tcp.c | sk->state = TCP_CLOSE; |
state | 3164 | net/tcp/tcp.c | sk->state = TCP_CLOSE; |
state | 3178 | net/tcp/tcp.c | sk->state = TCP_CLOSE; |
state | 3194 | net/tcp/tcp.c | sk->state = TCP_SYN_RECV; |
state | 3202 | net/tcp/tcp.c | switch (sk->state) |
state | 3238 | net/tcp/tcp.c | sk->state = TCP_ESTABLISHED; |
state | 3309 | net/tcp/tcp.c | if (sk -> state != TCP_ESTABLISHED && sk->state != TCP_CLOSE_WAIT) return; |
state | 169 | net/tcp/tcp.h | tcp_connected (const int state) |
state | 171 | net/tcp/tcp.h | return (state == TCP_ESTABLISHED || state == TCP_CLOSE_WAIT || |
state | 172 | net/tcp/tcp.h | state == TCP_FIN_WAIT1 || state == TCP_FIN_WAIT2); |
state | 213 | net/tcp/timer.c | if (!sk->dead || sk->state != TCP_CLOSE) |
state | 234 | net/tcp/timer.c | sk->state = TCP_CLOSE; |
state | 271 | net/tcp/timer.c | if (sk->state == TCP_FIN_WAIT1 || |
state | 272 | net/tcp/timer.c | sk->state == TCP_FIN_WAIT2 || |
state | 273 | net/tcp/timer.c | sk->state == TCP_LAST_ACK) |
state | 275 | net/tcp/timer.c | sk->state = TCP_TIME_WAIT; |
state | 303 | net/tcp/timer.c | sk->state = TCP_CLOSE; |
state | 319 | net/tcp/timer.c | if (sk->state == TCP_FIN_WAIT1 || |
state | 320 | net/tcp/timer.c | sk->state == TCP_FIN_WAIT2) |
state | 322 | net/tcp/timer.c | sk->state = TCP_TIME_WAIT; |
state | 165 | net/tcp/udp.c | if (icmp_err_convert[err & 0xff].fatal && sk->state == TCP_ESTABLISHED) |
state | 349 | net/tcp/udp.c | if (sk->state != TCP_ESTABLISHED) |
state | 483 | net/tcp/udp.c | if (sk->state == TCP_LISTEN) |
state | 497 | net/tcp/udp.c | if (sk->state == TCP_LISTEN) |
state | 626 | net/tcp/udp.c | sk->state = TCP_ESTABLISHED; |
state | 634 | net/tcp/udp.c | sk->state = TCP_CLOSE; |
state | 203 | net/unix.c | upd->socket->state == SS_UNCONNECTED && |
state | 398 | net/unix.c | if (sock->state == SS_CONNECTING) |
state | 401 | net/unix.c | if (sock->state == SS_CONNECTED) |
state | 492 | net/unix.c | clientsock->state = SS_CONNECTED; |
state | 493 | net/unix.c | newsock->state = SS_CONNECTED; |
state | 517 | net/unix.c | if (sock->state != SS_CONNECTED) { |
state | 551 | net/unix.c | if (sock->state != SS_CONNECTED) { |
state | 553 | net/unix.c | return (sock->state == SS_DISCONNECTING) ? 0 : -EINVAL; |
state | 589 | net/unix.c | if (sock->state == SS_CONNECTED) |
state | 609 | net/unix.c | if (sock->state != SS_CONNECTED) { |
state | 611 | net/unix.c | if (sock->state == SS_DISCONNECTING) { |
state | 628 | net/unix.c | if (sock->state == SS_DISCONNECTING) { |
state | 652 | net/unix.c | if (sock->state == SS_DISCONNECTING) { |
state | 667 | net/unix.c | if (sock->state == SS_CONNECTED) |
state | 702 | net/unix.c | else if (sock->state != SS_CONNECTED) { |
state | 710 | net/unix.c | if (sock->state != SS_CONNECTED) { |
state | 733 | net/unix.c | peerupd = (sock->state == SS_CONNECTED) ? UN_DATA(sock->conn) : NULL; |