Home | History | Annotate | Download | only in linux

Lines Matching refs:flags

7  * cloning flags:
90 * List of flags we want to share for kernel threads,
135 * We have two separate sets of flags: task->state
256 unsigned long flags);
304 unsigned long pgoff, unsigned long flags);
403 unsigned int flags; /* see SIGNAL_* flags below */
478 * Bits in flags field of signal_struct.
564 unsigned int flags; /* Private per-task flags */
659 int flags; /* See SD_* */
771 unsigned long flags; /* per process flags, defined below */
1031 * Per process flags
1061 * Only the _current_ task can read/write to tsk->flags, but other
1062 * tasks can access tsk->flags in readonly mode for example
1066 * child->flags of its traced child (same goes for fork, the parent
1067 * can write to the child->flags), because we're guaranteed the
1068 * child is not running and in turn not changing child->flags
1071 #define clear_stopped_child_used_math(child) do { (child)->flags &= ~PF_USED_MATH; } while (0)
1072 #define set_stopped_child_used_math(child) do { (child)->flags |= PF_USED_MATH; } while (0)
1076 do { (child)->flags &= ~PF_USED_MATH, (child)->flags |= (condition) ? PF_USED_MATH : 0; } while (0)
1080 do { (child)->flags &= ~PF_USED_MATH, (child)->flags |= current->flags & PF_USED_MATH; } while (0)
1082 #define tsk_used_math(p) ((p)->flags & PF_USED_MATH)
1206 unsigned long flags;
1209 spin_lock_irqsave(&tsk->sighand->siglock, flags);
1211 spin_unlock_irqrestore(&tsk->sighand->siglock, flags);
1369 unsigned long *flags);
1372 unsigned long *flags)
1374 spin_unlock_irqrestore(&tsk->sighand->siglock, *flags);
1395 /* set thread flags in other task's structures
1396 * - see asm/thread_info.h for TIF_xxxx flags available
1539 return p->flags & PF_FROZEN;
1547 return p->flags & PF_FREEZE;
1552 * FIXME: SMP problem. We may not modify other process' flags!
1556 p->flags |= PF_FREEZE;
1564 p->flags &= ~PF_FREEZE;
1573 p->flags &= ~PF_FROZEN;
1585 p->flags = (p->flags & ~PF_FREEZE) | PF_FROZEN;