taglinefilesource code
state66fs/buffer.ccurrent->state = TASK_UNINTERRUPTIBLE;
state72fs/buffer.ccurrent->state = TASK_RUNNING;
state369fs/inode.ccurrent->state = TASK_UNINTERRUPTIBLE;
state375fs/inode.ccurrent->state = TASK_RUNNING;
state78fs/nfs/sock.ccurrent->state = TASK_INTERRUPTIBLE;
state86fs/nfs/sock.ccurrent->state = TASK_RUNNING;
state121fs/nfs/sock.ccurrent->state = TASK_RUNNING;
state164fs/proc/array.cif (!p || p == current || p->state == TASK_RUNNING)
state185fs/proc/array.cchar state;
state189fs/proc/array.cif ((*p)->state < 0 || (*p)->state > 5)
state190fs/proc/array.cstate = '.';
state192fs/proc/array.cstate = "RSDZTD"[(*p)->state];
state211fs/proc/array.cstate,
state258fs/proc/array.cif ((*p)->state != TASK_ZOMBIE) {
state118fs/select.ccurrent->state = TASK_INTERRUPTIBLE;
state143fs/select.ccurrent->state = TASK_RUNNING;
state58fs/super.ccurrent->state = TASK_UNINTERRUPTIBLE;
state64fs/super.ccurrent->state = TASK_RUNNING;
state146include/linux/sched.hlong state;    /* -1 unrunnable, 0 runnable, >0 stopped */
state245kernel/blk_drv/blk.hp->state = TASK_RUNNING;
state257kernel/blk_drv/ll_rw_blk.ccurrent->state = TASK_SWAPPING;
state371kernel/blk_drv/ll_rw_blk.ccurrent->state = TASK_UNINTERRUPTIBLE;
state485kernel/blk_drv/scsi/scsi.hp->state = TASK_RUNNING;
state518kernel/blk_drv/scsi/scsi.hcurrent->state = TASK_UNINTERRUPTIBLE;    \
state524kernel/blk_drv/scsi/scsi.hcurrent->state = TASK_RUNNING;      \
state83kernel/blk_drv/scsi/scsi_ioctl.cp->state = TASK_RUNNING;
state103kernel/blk_drv/scsi/scsi_ioctl.ccurrent->state = TASK_UNINTERRUPTIBLE;
state188kernel/blk_drv/scsi/scsi_ioctl.ccurrent->state = TASK_UNINTERRUPTIBLE;
state664kernel/blk_drv/scsi/sd.cp->state = TASK_RUNNING;
state703kernel/blk_drv/scsi/sd.ccurrent->state = TASK_UNINTERRUPTIBLE;
state622kernel/blk_drv/scsi/sr.cp->state = TASK_RUNNING;
state667kernel/blk_drv/scsi/sr.ccurrent->state = TASK_UNINTERRUPTIBLE;
state30kernel/blk_drv/scsi/sr_ioctl.cp->state = TASK_RUNNING;
state53kernel/blk_drv/scsi/sr_ioctl.ccurrent->state = TASK_UNINTERRUPTIBLE;
state853kernel/chr_drv/console.cstate    = ESnormal;
state905kernel/chr_drv/console.cif (state == ESnormal && translate[c]) {
state960kernel/chr_drv/console.cstate = ESnormal;
state963kernel/chr_drv/console.cstate = ESesc;
state969kernel/chr_drv/console.cstate = ESsquare;
state972kernel/chr_drv/console.cswitch(state) {
state974kernel/chr_drv/console.cstate = ESnormal;
state977kernel/chr_drv/console.cstate = ESsquare;
state1002kernel/chr_drv/console.cstate = ESsetG0;
state1005kernel/chr_drv/console.cstate = ESsetG1;
state1008kernel/chr_drv/console.cstate = EShash;
state1025kernel/chr_drv/console.cstate = ESgetpars;
state1027kernel/chr_drv/console.cstate=ESfunckey;
state1041kernel/chr_drv/console.c} else state=ESgotpars;
state1043kernel/chr_drv/console.cstate = ESnormal;
state1162kernel/chr_drv/console.cstate = ESnormal;
state1165kernel/chr_drv/console.cstate = ESnormal;
state1184kernel/chr_drv/console.cstate = ESnormal;
state1195kernel/chr_drv/console.cstate = ESnormal;
state1198kernel/chr_drv/console.cstate = ESnormal;
state221kernel/chr_drv/lp.ccurrent->state = TASK_INTERRUPTIBLE;
state229kernel/chr_drv/lp.ccurrent->state = TASK_INTERRUPTIBLE;
state238kernel/chr_drv/lp.ccurrent->state = TASK_INTERRUPTIBLE;
state255kernel/chr_drv/lp.ccurrent->state = TASK_INTERRUPTIBLE;
state233kernel/chr_drv/psaux.ccurrent->state = TASK_INTERRUPTIBLE;
state238kernel/chr_drv/psaux.ccurrent->state = TASK_RUNNING;
state306kernel/chr_drv/psaux.ccurrent->state = TASK_INTERRUPTIBLE;
state965kernel/chr_drv/serial.ccurrent->state = TASK_INTERRUPTIBLE;
state1093kernel/chr_drv/serial.ccurrent->state = TASK_INTERRUPTIBLE;
state1169kernel/chr_drv/serial.ccurrent->state = TASK_INTERRUPTIBLE;
state1191kernel/chr_drv/serial.ccurrent->state = TASK_RUNNING;
state797kernel/chr_drv/tty_io.ccurrent->state = TASK_INTERRUPTIBLE;
state800kernel/chr_drv/tty_io.ccurrent->state = TASK_RUNNING;
state831kernel/chr_drv/tty_io.ccurrent->state = TASK_INTERRUPTIBLE;
state840kernel/chr_drv/tty_io.ccurrent->state = TASK_RUNNING;
state878kernel/chr_drv/tty_io.ccurrent->state = TASK_INTERRUPTIBLE;
state883kernel/chr_drv/tty_io.ccurrent->state = TASK_RUNNING;
state886kernel/chr_drv/tty_io.ccurrent->state = TASK_RUNNING;
state83kernel/chr_drv/tty_ioctl.ccurrent->state = TASK_INTERRUPTIBLE;
state91kernel/chr_drv/tty_ioctl.ccurrent->state = TASK_RUNNING;
state302kernel/chr_drv/vt.cunsigned short state, mask;
state308kernel/chr_drv/vt.cstate = 1;  /* /dev/tty0 is always open */
state311kernel/chr_drv/vt.cstate |= mask;
state312kernel/chr_drv/vt.cput_fs_word(state, &vtstat->v_state);
state33kernel/exit.cif (p->state == TASK_STOPPED)
state34kernel/exit.cp->state = TASK_RUNNING;
state49kernel/exit.cif (p->p_pptr != NULL && p->p_pptr->state == TASK_INTERRUPTIBLE)
state50kernel/exit.cp->p_pptr->state = TASK_RUNNING;
state53kernel/exit.cif (p->state == TASK_INTERRUPTIBLE || p->state == TASK_RUNNING)
state54kernel/exit.cp->state = TASK_STOPPED;
state293kernel/exit.c((*p)->state == TASK_ZOMBIE) ||
state310kernel/exit.cif ((*p)->state == TASK_STOPPED)
state349kernel/exit.ccurrent->state = TASK_ZOMBIE;
state390kernel/exit.cif (p->state == TASK_ZOMBIE)
state475kernel/exit.cswitch (p->state) {
state517kernel/exit.ccurrent->state=TASK_INTERRUPTIBLE;
state88kernel/fork.cp->state = TASK_UNINTERRUPTIBLE;
state155kernel/fork.cp->state = TASK_RUNNING;  /* do this last, just in case */
state255kernel/ptrace.cif (child->state == TASK_INTERRUPTIBLE ||
state256kernel/ptrace.cchild->state == TASK_STOPPED)
state257kernel/ptrace.cchild->state = TASK_RUNNING;
state263kernel/ptrace.cif (child->state != TASK_STOPPED && request != PTRACE_DETACH)
state327kernel/ptrace.cchild->state = TASK_RUNNING;
state342kernel/ptrace.cchild->state = TASK_RUNNING;
state356kernel/ptrace.cchild->state = TASK_RUNNING;
state369kernel/ptrace.cchild->state = 0;
state111kernel/sched.cif (!*p || ((*p)->state != TASK_INTERRUPTIBLE))
state115kernel/sched.c(*p)->state = TASK_RUNNING;
state117kernel/sched.c(*p)->state = TASK_RUNNING;
state130kernel/sched.cif ((*p)->state == TASK_RUNNING && (*p)->counter > c)
state146kernel/sched.ccurrent->state = TASK_INTERRUPTIBLE;
state168kernel/sched.cif ((p->state == TASK_UNINTERRUPTIBLE) ||
state169kernel/sched.c(p->state == TASK_INTERRUPTIBLE)) {
state170kernel/sched.cp->state = TASK_RUNNING;
state195kernel/sched.cif (p->state == TASK_INTERRUPTIBLE) {
state196kernel/sched.cp->state = TASK_RUNNING;
state212kernel/sched.cstatic inline void __sleep_on(struct wait_queue **p, int state)
state221kernel/sched.ccurrent->state = state;
state367kernel/sched.cif (*p && (*p)->state == TASK_RUNNING)
state519kernel/sched.cp->state, p->p_pptr->pid, p->p_cptr ? p->p_cptr->pid : -1);
state59kernel/signal.ccurrent->state = TASK_INTERRUPTIBLE;
state245kernel/signal.ccurrent->state = TASK_STOPPED;
state29net/kern_sock.hsocket_state state;
state129net/socket.cif (sock->state != SS_FREE && SOCK_INODE(sock) == inode)
state154net/socket.cif (sock->state == SS_FREE) {
state155net/socket.csock->state = SS_UNCONNECTED;
state173net/socket.csock->state = SS_FREE;
state201net/socket.cpeer->state = SS_DISCONNECTING;
state213net/socket.cif ((oldstate = sock->state) != SS_UNCONNECTED)
state214net/socket.csock->state = SS_DISCONNECTING;
state231net/socket.csock->state = SS_FREE;    /* this really releases us */
state356net/socket.cmysock->state = SS_CONNECTING;
state365net/socket.cif (mysock->state != SS_CONNECTED) {
state367net/socket.cif (mysock->state != SS_CONNECTED &&
state368net/socket.cmysock->state != SS_DISCONNECTING) 
state504net/socket.csock1->state = SS_CONNECTED;
state505net/socket.csock2->state = SS_CONNECTED;
state547net/socket.cif (sock->state != SS_UNCONNECTED) {
state575net/socket.cif (sock->state != SS_UNCONNECTED) {
state631net/socket.cswitch (sock->state) {
state963net/socket.csock->state = SS_FREE;
state198net/tcp/packet.csk->state = TCP_CLOSE;
state256net/tcp/raw.cif (sk->state != TCP_ESTABLISHED)
state331net/tcp/raw.csk->state = TCP_CLOSE;
state204net/tcp/sock.cprintk ("  state = %d\n",sk->state);
state871net/tcp/sock.csk->state = TCP_LISTEN;
state1032net/tcp/sock.csk->state = TCP_CLOSE;
state1135net/tcp/sock.cwhile (sk->state != TCP_CLOSE)
state1176net/tcp/sock.cif (sk->state != TCP_CLOSE) return (-EIO);
state1246net/tcp/sock.cif (sk->state == TCP_ESTABLISHED)
state1248net/tcp/sock.csock->state = SS_CONNECTED;
state1252net/tcp/sock.cif (sock->state == SS_CONNECTING)
state1254net/tcp/sock.cif (sk->state == TCP_SYN_SENT || sk->state == TCP_SYN_RECV)
state1259net/tcp/sock.csock->state = SS_CONNECTED;
state1278net/tcp/sock.csock->state = SS_CONNECTING;
state1279net/tcp/sock.cif (sk->state != TCP_ESTABLISHED && (flags & O_NONBLOCK))
state1284net/tcp/sock.cwhile (sk->state == TCP_SYN_SENT || sk->state == TCP_SYN_RECV)
state1294net/tcp/sock.csock->state = SS_CONNECTED;
state1296net/tcp/sock.cif (sk->state != TCP_ESTABLISHED && sk->err)
state1298net/tcp/sock.csock->state = SS_UNCONNECTED;
state1356net/tcp/sock.cwhile (sk2->state == TCP_SYN_RECV)
state1370net/tcp/sock.cif (sk2->state != TCP_ESTABLISHED && sk2->err > 0)
state1378net/tcp/sock.cnewsock->state = SS_CONNECTED;
state1401net/tcp/sock.cif (!tcp_connected(sk->state))
state1603net/tcp/sock.cif (sock->state == SS_CONNECTING && sk->state == TCP_ESTABLISHED)
state1604net/tcp/sock.csock->state = SS_CONNECTED;
state1606net/tcp/sock.cif (!tcp_connected(sk->state)) return (-ENOTCONN);
state1878net/tcp/sock.cif (sk->dead && sk->state == TCP_CLOSE)
state100net/tcp/sock.hvolatile unsigned char state;
state176net/tcp/tcp.csk->state = TCP_TIME_WAIT;
state242net/tcp/tcp.cif (sk->state == TCP_SYN_SENT)
state244net/tcp/tcp.csk->state = TCP_CLOSE;
state312net/tcp/tcp.cif (sk->state == TCP_LISTEN || tcp_readable(sk))
state347net/tcp/tcp.cif (sk->state == TCP_SYN_RECV || sk->state == TCP_SYN_SENT)
state393net/tcp/tcp.cif (sk->state == TCP_LISTEN)
state430net/tcp/tcp.cif (sk->state == TCP_LISTEN)
state583net/tcp/tcp.cif (sk->timeout != TIME_WRITE && tcp_connected (sk->state))
state708net/tcp/tcp.cwhile (sk->state != TCP_ESTABLISHED && sk->state != TCP_CLOSE_WAIT)
state719net/tcp/tcp.cif (sk->state != TCP_SYN_SENT &&
state720net/tcp/tcp.csk->state != TCP_SYN_RECV)
state756net/tcp/tcp.cif (sk->state != TCP_ESTABLISHED && sk->state != TCP_CLOSE_WAIT &&
state855net/tcp/tcp.c&& (sk->state == TCP_ESTABLISHED || sk->state == TCP_CLOSE_WAIT )
state1132net/tcp/tcp.cif (sk->state == TCP_CLOSE || sk->done) 
state1225net/tcp/tcp.cif (sk->state == TCP_LISTEN) return (-ENOTCONN);
state1266net/tcp/tcp.cif (sk->state == TCP_CLOSE)
state1308net/tcp/tcp.cPRINTK (("tcp_read about to sleep. state = %d\n",sk->state));
state1439net/tcp/tcp.cif (sk->state == TCP_FIN_WAIT1 ||
state1440net/tcp/tcp.csk->state == TCP_FIN_WAIT2)
state1515net/tcp/tcp.cif (sk->state == TCP_ESTABLISHED)
state1517net/tcp/tcp.csk->state = TCP_FIN_WAIT1;
state1521net/tcp/tcp.csk->state = TCP_FIN_WAIT2;
state1685net/tcp/tcp.cnewsk->state = TCP_SYN_RECV;
state1864net/tcp/tcp.cswitch (sk->state)
state1881net/tcp/tcp.csk->state = TCP_CLOSE;
state1886net/tcp/tcp.csk->state = TCP_CLOSE;
state1908net/tcp/tcp.cif (sk->state != TCP_CLOSE_WAIT)
state1909net/tcp/tcp.csk->state = TCP_ESTABLISHED;
state1975net/tcp/tcp.cif (sk->state == TCP_CLOSE_WAIT)
state1977net/tcp/tcp.csk->state = TCP_FIN_WAIT2;
state1981net/tcp/tcp.csk->state = TCP_FIN_WAIT1;
state2032net/tcp/tcp.cif (after (ack, sk->send_seq) || (sk->state != TCP_ESTABLISHED &&
state2033net/tcp/tcp.csk->state != TCP_CLOSE_WAIT)) 
state2231net/tcp/tcp.csk->state != TCP_TIME_WAIT && !sk->keepopen)
state2242net/tcp/tcp.cif (sk->state != sk->keepopen)
state2248net/tcp/tcp.cif (sk->state == TCP_TIME_WAIT)
state2265net/tcp/tcp.cif ( sk->state == TCP_TIME_WAIT)
state2271net/tcp/tcp.csk->state = TCP_CLOSE;
state2276net/tcp/tcp.cif (sk->state == TCP_LAST_ACK || sk->state == TCP_FIN_WAIT2)
state2290net/tcp/tcp.csk->state = TCP_CLOSE;
state2333net/tcp/tcp.csk->state = TCP_CLOSE;
state2479net/tcp/tcp.cif (sk->state == TCP_FIN_WAIT2 && sk->acked_seq == sk->fin_seq 
state2486net/tcp/tcp.csk->state = TCP_LAST_ACK;
state2542net/tcp/tcp.cswitch (sk->state)
state2548net/tcp/tcp.csk->state = TCP_CLOSE_WAIT;
state2558net/tcp/tcp.csk->state = TCP_FIN_WAIT2;
state2563net/tcp/tcp.csk->state = TCP_LAST_ACK;
state2660net/tcp/tcp.cif (sk->state != TCP_LISTEN)
state2713net/tcp/tcp.cif (sk->state != TCP_CLOSE) return (-EISCONN);
state2778net/tcp/tcp.csk->state = TCP_SYN_SENT;
state2984net/tcp/tcp.cswitch (sk->state)
state2992net/tcp/tcp.csk->state = TCP_CLOSE;
state3021net/tcp/tcp.cif (sk->state == TCP_CLOSE_WAIT)
state3030net/tcp/tcp.csk->state = TCP_CLOSE;
state3045net/tcp/tcp.csk->state = TCP_CLOSE;
state3164net/tcp/tcp.csk->state = TCP_CLOSE;
state3178net/tcp/tcp.csk->state = TCP_CLOSE;
state3194net/tcp/tcp.csk->state = TCP_SYN_RECV;
state3202net/tcp/tcp.cswitch (sk->state)
state3238net/tcp/tcp.csk->state = TCP_ESTABLISHED;
state3309net/tcp/tcp.cif (sk -> state != TCP_ESTABLISHED && sk->state != TCP_CLOSE_WAIT) return;
state169net/tcp/tcp.htcp_connected (const int state)
state171net/tcp/tcp.hreturn (state == TCP_ESTABLISHED || state == TCP_CLOSE_WAIT ||
state172net/tcp/tcp.hstate == TCP_FIN_WAIT1   || state == TCP_FIN_WAIT2);
state213net/tcp/timer.cif (!sk->dead || sk->state != TCP_CLOSE)
state234net/tcp/timer.csk->state = TCP_CLOSE;
state271net/tcp/timer.cif (sk->state == TCP_FIN_WAIT1 ||
state272net/tcp/timer.csk->state == TCP_FIN_WAIT2 ||
state273net/tcp/timer.csk->state == TCP_LAST_ACK)
state275net/tcp/timer.csk->state = TCP_TIME_WAIT;
state303net/tcp/timer.csk->state = TCP_CLOSE;
state319net/tcp/timer.cif (sk->state == TCP_FIN_WAIT1 ||
state320net/tcp/timer.csk->state == TCP_FIN_WAIT2)
state322net/tcp/timer.csk->state = TCP_TIME_WAIT;
state165net/tcp/udp.cif (icmp_err_convert[err & 0xff].fatal && sk->state == TCP_ESTABLISHED)
state349net/tcp/udp.cif (sk->state != TCP_ESTABLISHED)
state483net/tcp/udp.cif (sk->state == TCP_LISTEN)
state497net/tcp/udp.cif (sk->state == TCP_LISTEN)
state626net/tcp/udp.csk->state = TCP_ESTABLISHED;
state634net/tcp/udp.csk->state = TCP_CLOSE;
state203net/unix.cupd->socket->state == SS_UNCONNECTED &&
state398net/unix.cif (sock->state == SS_CONNECTING)
state401net/unix.cif (sock->state == SS_CONNECTED)
state492net/unix.cclientsock->state = SS_CONNECTED;
state493net/unix.cnewsock->state = SS_CONNECTED;
state517net/unix.cif (sock->state != SS_CONNECTED) {
state551net/unix.cif (sock->state != SS_CONNECTED) {
state553net/unix.creturn (sock->state == SS_DISCONNECTING) ? 0 : -EINVAL;
state589net/unix.cif (sock->state == SS_CONNECTED)
state609net/unix.cif (sock->state != SS_CONNECTED) {
state611net/unix.cif (sock->state == SS_DISCONNECTING) {
state628net/unix.cif (sock->state == SS_DISCONNECTING) {
state652net/unix.cif (sock->state == SS_DISCONNECTING) {
state667net/unix.cif (sock->state == SS_CONNECTED)
state702net/unix.celse if (sock->state != SS_CONNECTED) {
state710net/unix.cif (sock->state != SS_CONNECTED) {
state733net/unix.cpeerupd = (sock->state == SS_CONNECTED) ? UN_DATA(sock->conn) : NULL;