Lines Matching defs:task
62 * Each task may have its own LDT.
100 task_t task = current_task();
112 task_lock(task);
114 old_ldt = task->i386_ldt;
156 task_unlock(task);
179 /* XXX allocation under task lock */
182 task_unlock(task);
215 /* XXX copyin under task lock */
220 task_unlock(task);
252 task_unlock(task);
259 task->i386_ldt = new_ldt; /* new LDT for task */
263 * another thread in this same task may be currently running,
265 * throughout the task before returning to the user.
267 mp_broadcast(user_ldt_set_action, task);
269 task_unlock(task);
273 * in this task was in the process of context switching.
291 task_t task = current_task();
302 task_lock(task);
304 user_ldt = task->i386_ldt;
328 task_unlock(task);
376 task_t task = thread->task;
379 user_ldt = task->i386_ldt;