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 ? */
188 * Retrieve a task's shared region and grab an extra reference to
195 task_t task)
201 task));
203 task_lock(task);
205 shared_region = task->shared_region;
211 task_unlock(task);
215 task, shared_region));
328 task_t task,
335 task, new_shared_region));
337 task_lock(task);
340 old_shared_region = task->shared_region;
345 task->shared_region = new_shared_region;
348 task_unlock(task);
357 task, old_shared_region, new_shared_region));
1279 * Enter the appropriate shared region into "map" for "task".
1282 * task's VM "map", with the appropriate level of pmap-nesting.
1287 struct task *task,
1300 is_64bit = task_has_64BitAddr(task);
1304 "enter(map=%p,task=%p,root=%p,cpu=%d,64bit=%d)\n",
1305 map, task, fsroot, cpu, is_64bit));
1313 "enter(map=%p,task=%p,root=%p,cpu=%d,64bit=%d): "
1315 map, task, fsroot, cpu, is_64bit));
1320 /* let the task use that shared region */
1321 vm_shared_region_set(task, shared_region);
1332 * Start mapping the shared region's VM sub map into the task's VM map.
1356 map, task, fsroot, cpu, is_64bit,
1364 map, task, fsroot, cpu, is_64bit,
1401 map, task, fsroot, cpu, is_64bit,
1409 map, task, fsroot, cpu, is_64bit,
1433 map, task, fsroot, cpu, is_64bit,
1441 map, task, fsroot, cpu, is_64bit,
1452 map, task, fsroot, cpu, is_64bit, kr));
1865 * Enter the appropriate comm page into the task's address space.
1871 task_t task)
1881 map, task));
1887 /* select the appropriate comm page for this task */
1888 assert(! (task_has_64BitAddr(task) ^ vm_map_is_64bit(map)));
1889 if (task_has_64BitAddr(task)) {
1913 /* map the comm page in the task's address space */
1935 /* map the comm text page in the task's address space */
1985 map, task, kr));