• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/

Lines Matching defs:trustee

78 	TRUSTEE_IN_CHARGE	= 1,		/* trustee in charge of gcwq */
81 TRUSTEE_DONE = 4, /* trustee is done */
93 TRUSTEE_COOLDOWN = HZ / 10, /* for trustee draining */
172 struct task_struct *trustee; /* L: for gcwq shutdown */
173 unsigned int trustee_state; /* L: trustee state */
174 wait_queue_head_t trustee_wait; /* trustee wait */
719 * NOT_RUNNING is clear. This means that trustee is not in
1631 * The trustee might be waiting to take over the manager
1634 if (unlikely(gcwq->trustee))
3028 * to govern a gcwq in such state and is called the trustee of the
3034 * new trustee is started with this state.
3036 * IN_CHARGE Once started, trustee will enter this state after
3038 * workers rogue. DOWN_PREPARE waits for trustee to
3039 * enter this state. After reaching IN_CHARGE, trustee
3045 * the cpu has went down. Once this state is set trustee
3052 * again. After recognizing this state, trustee stops
3060 * trustee CPU draining
3069 * trustee_wait_event_timeout - timed event wait for trustee
3073 * wait_event_timeout() for trustee to use. Handles locking and
3078 * multiple times. To be used by trustee.
3098 * trustee_wait_event - event wait for trustee
3101 * wait_event() for trustee to use. Automatically handles locking and
3106 * multiple times. To be used by trustee.
3265 gcwq->trustee = NULL;
3273 * wait_trustee_state - wait for trustee to enter the specified state
3274 * @gcwq: gcwq the trustee of interest belongs to
3277 * Wait for the trustee to reach @state. DONE is already matched.
3332 /* initialize trustee and tell it to acquire the gcwq */
3333 BUG_ON(gcwq->trustee || gcwq->trustee_state != TRUSTEE_DONE);
3334 gcwq->trustee = new_trustee;
3336 wake_up_process(gcwq->trustee);
3346 * Before this, the trustee and all workers except for
3367 wake_up_process(gcwq->trustee);