Lines Matching defs:task

67  * When the task terminates, we release a reference on its shared region.
121 /* should local (non-chroot) shared regions persist when no task uses them ? */
184 * Retrieve a task's shared region and grab an extra reference to
191 task_t task)
197 task));
199 task_lock(task);
201 shared_region = task->shared_region;
207 task_unlock(task);
211 task, shared_region));
291 task_t task,
298 task, new_shared_region));
300 task_lock(task);
303 old_shared_region = task->shared_region;
308 task->shared_region = new_shared_region;
311 task_unlock(task);
320 task, old_shared_region, new_shared_region));
1200 * Enter the appropriate shared region into "map" for "task".
1203 * task's VM "map", with the appropriate level of pmap-nesting.
1208 struct task *task,
1221 is_64bit = task_has_64BitAddr(task);
1225 "enter(map=%p,task=%p,root=%p,cpu=%d,64bit=%d)\n",
1226 map, task, fsroot, cpu, is_64bit));
1234 "enter(map=%p,task=%p,root=%p,cpu=%d,64bit=%d): "
1236 map, task, fsroot, cpu, is_64bit));
1241 /* let the task use that shared region */
1242 vm_shared_region_set(task, shared_region);
1253 * Start mapping the shared region's VM sub map into the task's VM map.
1277 map, task, fsroot, cpu, is_64bit,
1285 map, task, fsroot, cpu, is_64bit,
1322 map, task, fsroot, cpu, is_64bit,
1330 map, task, fsroot, cpu, is_64bit,
1354 map, task, fsroot, cpu, is_64bit,
1362 map, task, fsroot, cpu, is_64bit,
1373 map, task, fsroot, cpu, is_64bit, kr));
1779 * Enter the appropriate comm page into the task's address space.
1785 task_t task)
1795 map, task));
1801 /* select the appropriate comm page for this task */
1802 assert(! (task_has_64BitAddr(task) ^ vm_map_is_64bit(map)));
1803 if (task_has_64BitAddr(task)) {
1827 /* map the comm page in the task's address space */
1849 /* map the comm text page in the task's address space */
1899 map, task, kr));