Searched refs:task (Results 1 - 25 of 556) sorted by relevance

1234567891011>>

/macosx-10.9.5/xnu-2422.115.4/libsyscall/mach/
H A Dtask.defs28 #include <mach/task.defs>
H A Dmach_port.c36 ipc_space_t task,
44 rv = _kernelrpc_mach_port_names(task, names, namesCnt, types,
52 ipc_space_t task,
58 rv = _kernelrpc_mach_port_type(task, name, ptype);
65 ipc_space_t task,
71 rv = _kernelrpc_mach_port_rename(task, old_name, new_name);
78 ipc_space_t task,
84 rv = _kernelrpc_mach_port_allocate_name(task, right, name);
91 ipc_space_t task,
97 rv = _kernelrpc_mach_port_allocate_trap(task, righ
35 mach_port_names( ipc_space_t task, mach_port_name_array_t *names, mach_msg_type_number_t *namesCnt, mach_port_type_array_t *types, mach_msg_type_number_t *typesCnt) argument
51 mach_port_type( ipc_space_t task, mach_port_name_t name, mach_port_type_t *ptype) argument
64 mach_port_rename( ipc_space_t task, mach_port_name_t old_name, mach_port_name_t new_name) argument
77 mach_port_allocate_name( ipc_space_t task, mach_port_right_t right, mach_port_name_t name) argument
90 mach_port_allocate( ipc_space_t task, mach_port_right_t right, mach_port_name_t *name) argument
106 mach_port_destroy( ipc_space_t task, mach_port_name_t name) argument
121 mach_port_deallocate( ipc_space_t task, mach_port_name_t name) argument
136 mach_port_get_refs( ipc_space_t task, mach_port_name_t name, mach_port_right_t right, mach_port_urefs_t *refs) argument
150 mach_port_mod_refs( ipc_space_t task, mach_port_name_t name, mach_port_right_t right, mach_port_delta_t delta) argument
167 mach_port_peek( ipc_space_t task, mach_port_name_t name, mach_msg_trailer_type_t trailer_type, mach_port_seqno_t *seqnop, mach_msg_size_t *msg_sizep, mach_msg_id_t *msg_idp, mach_msg_trailer_info_t trailer_infop, mach_msg_type_number_t *trailer_sizep) argument
187 mach_port_set_mscount( ipc_space_t task, mach_port_name_t name, mach_port_mscount_t mscount) argument
200 mach_port_get_set_status( ipc_space_t task, mach_port_name_t name, mach_port_name_array_t *members, mach_msg_type_number_t *membersCnt) argument
215 mach_port_move_member( ipc_space_t task, mach_port_name_t member, mach_port_name_t after) argument
231 mach_port_request_notification( ipc_space_t task, mach_port_name_t name, mach_msg_id_t msgid, mach_port_mscount_t sync, mach_port_t notify, mach_msg_type_name_t notifyPoly, mach_port_t *previous) argument
249 mach_port_insert_right( ipc_space_t task, mach_port_name_t name, mach_port_t poly, mach_msg_type_name_t polyPoly) argument
267 mach_port_extract_right( ipc_space_t task, mach_port_name_t name, mach_msg_type_name_t msgt_name, mach_port_t *poly, mach_msg_type_name_t *polyPoly) argument
283 mach_port_set_seqno( ipc_space_t task, mach_port_name_t name, mach_port_seqno_t seqno) argument
296 mach_port_get_attributes( ipc_space_t task, mach_port_name_t name, mach_port_flavor_t flavor, mach_port_info_t port_info_out, mach_msg_type_number_t *port_info_outCnt) argument
312 mach_port_set_attributes( ipc_space_t task, mach_port_name_t name, mach_port_flavor_t flavor, mach_port_info_t port_info, mach_msg_type_number_t port_infoCnt) argument
328 mach_port_allocate_qos( ipc_space_t task, mach_port_right_t right, mach_port_qos_t *qos, mach_port_name_t *name) argument
342 mach_port_allocate_full( ipc_space_t task, mach_port_right_t right, mach_port_t proto, mach_port_qos_t *qos, mach_port_name_t *name) argument
357 task_set_port_space( ipc_space_t task, int table_entries) argument
369 mach_port_get_srights( ipc_space_t task, mach_port_name_t name, mach_port_rights_t *srights) argument
382 mach_port_space_info( ipc_space_t task, ipc_info_space_t *space_info, ipc_info_name_array_t *table_info, mach_msg_type_number_t *table_infoCnt, ipc_info_tree_name_array_t *tree_info, mach_msg_type_number_t *tree_infoCnt) argument
399 mach_port_dnrequest_info( ipc_space_t task, mach_port_name_t name, unsigned *dnr_total, unsigned *dnr_used) argument
414 mach_port_kernel_object( ipc_space_t task, mach_port_name_t name, unsigned *object_type, unsigned *object_addr) argument
429 mach_port_insert_member( ipc_space_t task, mach_port_name_t name, mach_port_name_t pset) argument
445 mach_port_extract_member( ipc_space_t task, mach_port_name_t name, mach_port_name_t pset) argument
461 mach_port_get_context( ipc_space_t task, mach_port_name_t name, mach_port_context_t *context) argument
479 mach_port_set_context( ipc_space_t task, mach_port_name_t name, mach_port_context_t context) argument
492 mach_port_kobject( ipc_space_t task, mach_port_name_t name, natural_t *object_type, mach_vm_address_t *object_addr) argument
506 mach_port_construct( ipc_space_t task, mach_port_options_t *options, mach_port_context_t context, mach_port_name_t *name) argument
523 mach_port_destruct( ipc_space_t task, mach_port_name_t name, mach_port_delta_t srdelta, mach_port_context_t guard) argument
541 mach_port_guard( ipc_space_t task, mach_port_name_t name, mach_port_context_t guard, boolean_t strict) argument
559 mach_port_unguard( ipc_space_t task, mach_port_name_t name, mach_port_context_t guard) argument
[all...]
/macosx-10.9.5/ruby-104/ruby/lib/rake/
H A Dphony.rb1 # Defines a :phony task that you can use as a dependency. This allows
9 task :phony
11 Rake::Task[:phony].tap do |task|
12 def task.timestamp # :nodoc:
/macosx-10.9.5/xnu-2422.115.4/osfmk/mach/
H A Dtask_special_ports.h61 * Defines codes for special_purpose task ports. These are NOT
72 #define TASK_KERNEL_PORT 1 /* Represents task to the outside
75 #define TASK_HOST_PORT 2 /* The host (priv) port for task. */
77 #define TASK_NAME_PORT 3 /* the name (unpriv) port for task */
79 #define TASK_BOOTSTRAP_PORT 4 /* Bootstrap environment for task. */
85 #define TASK_SEATBELT_PORT 7 /* Seatbelt compiler/DEM port for task. */
96 #define task_get_kernel_port(task, port) \
97 (task_get_special_port((task), TASK_KERNEL_PORT, (port)))
99 #define task_set_kernel_port(task, port) \
100 (task_set_special_port((task), TASK_KERNEL_POR
[all...]
H A Dmach_port.defs81 * to which the target task has access, along with
86 task : ipc_space_t;
92 * within the target task. Also indicates whether
97 task : ipc_space_t;
103 * the target task. The new name can't be in use. The
111 task : ipc_space_t;
128 task : ipc_space_t;
143 task : ipc_space_t;
155 task : ipc_space_t;
161 * correct type of right. This allows a user task
[all...]
/macosx-10.9.5/xnu-2422.115.4/osfmk/ipc/
H A Dmach_kernelrpc.c34 #include <kern/task.h>
42 task_t task = port_name_to_task(args->target); local
45 if (task != current_task())
51 rv = mach_vm_allocate(task->map, &addr, args->size, args->flags);
56 if (task)
57 task_deallocate(task);
64 task_t task = port_name_to_task(args->target); local
67 if (task != current_task())
70 rv = mach_vm_deallocate(task->map, args->address, args->size);
73 if (task)
81 task_t task = port_name_to_task(args->target); local
100 task_t task = port_name_to_task(args->target); local
124 task_t task = port_name_to_task(args->target); local
145 task_t task = port_name_to_task(args->target); local
162 task_t task = port_name_to_task(args->target); local
179 task_t task = port_name_to_task(args->target); local
197 task_t task = port_name_to_task(args->target); local
214 task_t task = port_name_to_task(args->target); local
239 task_t task = port_name_to_task(args->target); local
257 task_t task = port_name_to_task(args->target); local
274 task_t task = port_name_to_task(args->target); local
300 task_t task = port_name_to_task(args->target); local
317 task_t task = port_name_to_task(args->target); local
334 task_t task = port_name_to_task(args->target); local
[all...]
/macosx-10.9.5/xnu-2422.115.4/osfmk/i386/
H A Dmachine_task.c57 #include <kern/task.h>
65 task_t task,
74 if ((task_has_64BitAddr(task)) ||
80 if (task->task_debug == NULL) {
81 task->task_debug = zalloc(ids_zone);
84 copy_debug_state32(tstate, (x86_debug_state32_t*) task->task_debug, FALSE);
93 if ((!task_has_64BitAddr(task)) ||
99 if (task->task_debug == NULL) {
100 task->task_debug = zalloc(ids_zone);
103 copy_debug_state64(tstate, (x86_debug_state64_t*) task
64 machine_task_set_state( task_t task, int flavor, thread_state_t state, mach_msg_type_number_t state_count) argument
154 machine_task_get_state(task_t task, int flavor, thread_state_t state, mach_msg_type_number_t *state_count) argument
237 machine_task_terminate(task_t task) argument
[all...]
/macosx-10.9.5/ntp-88/lib/isc/
H A Dtask.c18 /* $Id: task.c,v 1.107 2008/03/27 23:46:57 tbox Exp $ */
25 * XXXRTH Need to document the states a task can be in, and the rules
38 #include <isc/task.h>
48 #define XTRACE(m) fprintf(stderr, "task %p thread %lu: %s\n", \
49 task, isc_thread_self(), (m))
50 #define XTTRACE(t, m) fprintf(stderr, "task %p thread %lu: %s\n", \
83 /* Locked by task lock. */
93 /* Locked by task manager lock. */
115 /* Locked by task manager lock. */
144 task_finished(isc_task_t *task) { argument
178 isc_task_t *task; local
249 task_shutdown(isc_task_t *task) argument
286 task_ready(isc_task_t *task) argument
305 task_detach(isc_task_t *task) argument
335 isc_task_t *task; local
359 task_send(isc_task_t *task, isc_event_t **eventp) argument
389 isc_task_send(isc_task_t *task, isc_event_t **eventp) argument
432 isc_task_t *task; local
466 dequeue_events(isc_task_t *task, void *sender, isc_eventtype_t first, isc_eventtype_t last, void *tag, isc_eventlist_t *events, isc_boolean_t purging) argument
506 isc_task_purgerange(isc_task_t *task, void *sender, isc_eventtype_t first, isc_eventtype_t last, void *tag) argument
537 isc_task_purge(isc_task_t *task, void *sender, isc_eventtype_t type, void *tag) argument
550 isc_task_purgeevent(isc_task_t *task, isc_event_t *event) argument
592 isc_task_unsendrange(isc_task_t *task, void *sender, isc_eventtype_t first, isc_eventtype_t last, void *tag, isc_eventlist_t *events) argument
607 isc_task_unsend(isc_task_t *task, void *sender, isc_eventtype_t type, void *tag, isc_eventlist_t *events) argument
621 isc_task_onshutdown(isc_task_t *task, isc_taskaction_t action, const void *arg) argument
659 isc_task_shutdown(isc_task_t *task) argument
690 isc_task_setname(isc_task_t *task, const char *name, void *tag) argument
706 isc_task_getname(isc_task_t *task) argument
711 isc_task_gettag(isc_task_t *task) argument
716 isc_task_getcurrenttime(isc_task_t *task, isc_stdtime_t *t) argument
732 isc_task_t *task; local
1147 isc_task_t *task; local
1260 isc_task_beginexclusive(isc_task_t *task) argument
1281 isc_task_endexclusive(isc_task_t *task) argument
1300 isc_task_t *task; local
[all...]
/macosx-10.9.5/xnu-2422.115.4/osfmk/kern/
H A Dtask.c57 * File: kern/task.c
109 #include <kern/task.h>
197 * (ie when the task's wakeups rate exceeds 70% of the limit, start taking user
203 int task_wakeups_monitor_rate; /* In hz. Maximum allowable wakeups per task before EXC_RESOURCE is sent */
209 int max_task_footprint = 0; /* Per-task limit on physical memory consumption */
227 task_t task);
229 task_t task,
232 task_t task);
234 task_t task );
236 task_t task);
242 task_backing_store_privileged( task_t task) argument
253 task_set_64bit( task_t task, boolean_t is64bit) argument
293 task_set_dyld_info(task_t task, mach_vm_address_t addr, mach_vm_size_t size) argument
323 task_reference_internal(task_t task) argument
336 task_deallocate_internal(task_t task) argument
811 task_deallocate( task_t task) argument
927 task_terminate( task_t task) argument
940 task_terminate_internal( task_t task) argument
1087 task_start_halt( task_t task) argument
1148 task_complete_halt(task_t task) argument
1206 task_hold_locked( register task_t task) argument
1238 task_hold( register task_t task) argument
1259 task_wait( task_t task, boolean_t until_not_runnable) argument
1289 task_wait_locked( register task_t task, boolean_t until_not_runnable) argument
1319 task_release_locked( register task_t task) argument
1346 task_release( task_t task) argument
1367 task_threads( task_t task, thread_act_array_t *threads_out, mach_msg_type_number_t *count) argument
1481 place_task_hold( register task_t task, int mode) argument
1522 release_task_hold( register task_t task, int mode) argument
1600 task_suspend( register task_t task) argument
1674 task_resume( register task_t task) argument
1720 task_suspend_internal(task_t task) argument
1738 task_suspend2( register task_t task, task_suspension_token_t *suspend_token) argument
1766 task_resume_internal( register task_suspension_token_t task) argument
1784 task_resume2( register task_suspension_token_t task) argument
1799 task_t task = convert_port_to_task_suspension_token(port); local
1850 task_pidsuspend_locked(task_t task) argument
1879 task_pidsuspend( register task_t task) argument
1907 task_pidresume( register task_t task) argument
1969 task_freeze( register task_t task, uint32_t *purgeable_count, uint32_t *wired_count, uint32_t *clean_count, uint32_t *dirty_count, uint32_t dirty_budget, boolean_t *shared, boolean_t walk_only) argument
2032 task_thaw( register task_t task) argument
2085 host_security_set_task_token( host_security_t host_security, task_t task, security_token_t sec_token, audit_token_t audit_token, host_priv_t host_priv) argument
2126 task_set_info( task_t task, task_flavor_t flavor, __unused task_info_t task_info_in, __unused mach_msg_type_number_t task_info_count) argument
2143 task_info( task_t task, task_flavor_t flavor, task_info_t task_info_out, mach_msg_type_number_t *task_info_count) argument
2766 task_power_info_locked( task_t task, task_power_info_t info) argument
2816 task_purgable_info( task_t task, task_purgable_info_t *stats) argument
2831 task_vtimer_set( task_t task, integer_t which) argument
2886 task_vtimer_clear( task_t task, integer_t which) argument
2900 task_vtimer_update( __unused task_t task, integer_t which, uint32_t *microsecs) argument
2957 task_assign( __unused task_t task, __unused processor_set_t new_pset, __unused boolean_t assign_threads) argument
2971 task_assign_default( task_t task, boolean_t assign_threads) argument
2984 task_get_assignment( task_t task, processor_set_t *pset) argument
3005 task_policy( __unused task_t task, __unused policy_t policy_id, __unused policy_base_t base, __unused mach_msg_type_number_t count, __unused boolean_t set_limit, __unused boolean_t change) argument
3025 task_set_policy( __unused task_t task, __unused processor_set_t pset, __unused policy_t policy_id, __unused policy_base_t base, __unused mach_msg_type_number_t base_count, __unused policy_limit_t limit, __unused mach_msg_type_number_t limit_count, __unused boolean_t change) argument
3040 task_set_ras_pc( task_t task, vm_offset_t pc, vm_offset_t endpc) argument
3059 task_set_ras_pc( __unused task_t task, __unused vm_offset_t pc, __unused vm_offset_t endpc) argument
3069 task_synchronizer_destroy_all(task_t task) argument
3090 task_set_state( task_t task, int flavor, thread_state_t state, mach_msg_type_number_t state_count) argument
3121 task_get_state( task_t task, int flavor, thread_state_t state, mach_msg_type_number_t *state_count) argument
3152 task_t task = current_task(); local
3238 task_set_phys_footprint_limit( task_t task, int new_limit_mb, int *old_limit_mb) argument
3253 task_set_phys_footprint_limit_internal( task_t task, int new_limit_mb, int *old_limit_mb, boolean_t trigger_exception) argument
3298 task_get_phys_footprint_limit( task_t task, int *limit_mb) argument
3311 task_set_phys_footprint_limit( __unused task_t task, __unused int new_limit_mb, __unused int *old_limit_mb) argument
3320 task_get_phys_footprint_limit( __unused task_t task, __unused int *limit_mb) argument
3342 check_for_tasksuspend(task_t task) argument
3361 task_reference( task_t task) argument
3374 task_findtid(task_t task, uint64_t tid) argument
3413 mac_task_label_update_internal( struct label *pl, struct task *task) argument
3428 mac_task_label_modify( struct task *task, void *arg, void (*f) (struct label *l, void *arg)) argument
3441 mac_task_get_label(struct task *task) argument
3451 task_cpu_usage_monitor_ctl(task_t task, uint32_t *flags) argument
3468 task_wakeups_monitor_ctl(task_t task, uint32_t *flags, int32_t *rate_hz) argument
3571 task_t task = current_task(); local
[all...]
H A Dipc_tt.c108 * Initialize a task's IPC state.
118 task_t task,
132 space->is_task = task;
142 itk_lock_init(task);
143 task->itk_self = kport;
144 task->itk_nself = nport;
145 task->itk_resume = IP_NULL; /* Lazily allocated on-demand */
146 task->itk_sself = ipc_port_make_send(kport);
147 task->itk_space = space;
151 mac_task_label_associate(parent, task,
117 ipc_task_init( task_t task, task_t parent) argument
225 ipc_task_enable( task_t task) argument
250 ipc_task_disable( task_t task) argument
294 ipc_task_terminate( task_t task) argument
373 ipc_task_reset( task_t task) argument
626 retrieve_task_self_fast( register task_t task) argument
707 task_t task = current_task(); local
732 task_t task = thread->task; local
886 task_get_special_port( task_t task, int which, ipc_port_t *portp) argument
954 task_set_special_port( task_t task, int which, ipc_port_t port) argument
1041 mach_ports_register( task_t task, mach_port_array_t memory, mach_msg_type_number_t portsCnt) argument
1115 mach_ports_lookup( task_t task, mach_port_array_t *portsp, mach_msg_type_number_t *portsCnt) argument
1174 task_t task; local
1213 task_t task = TASK_NULL; local
1245 task_name_t task = TASK_NULL; local
1278 task_suspension_token_t task = TASK_NULL; local
1311 task_t task; local
1343 task_t task; local
1432 task_t task = TASK_NULL; local
1460 convert_task_to_port( task_t task) argument
1486 convert_task_suspension_token_to_port( task_suspension_token_t task) argument
1686 task_set_exception_ports( task_t task, exception_mask_t exception_mask, ipc_port_t new_port, exception_behavior_t new_behavior, thread_state_flavor_t new_flavor) argument
1875 task_swap_exception_ports( task_t task, exception_mask_t exception_mask, ipc_port_t new_port, exception_behavior_t new_behavior, thread_state_flavor_t new_flavor, exception_mask_array_t masks, mach_msg_type_number_t *CountCnt, exception_port_array_t ports, exception_behavior_array_t behaviors, thread_state_flavor_array_t flavors) argument
2055 task_get_exception_ports( task_t task, exception_mask_t exception_mask, exception_mask_array_t masks, mach_msg_type_number_t *CountCnt, exception_port_array_t ports, exception_behavior_array_t behaviors, thread_state_flavor_array_t flavors) argument
[all...]
H A Dtask_policy.c33 #include <kern/task.h>
53 * This subsystem manages task and thread IO priority and backgrounding,
54 * as well as importance inheritance, process suppression, task QoS, and apptype.
60 * Requested represents the wishes of each interface that influences task policy.
64 * Each interface that has an input into the task policy state machine controls a field in requested.
68 * All kernel subsystems that behave differently based on task policy call into
69 * the get_effective_policy function, which returns the decision of the task policy state machine
73 * Here are the steps to change a policy on a task or thread:
74 * 1) Lock task
76 * 3) Run a task polic
257 task_policy_set( task_t task, task_policy_flavor_t flavor, task_policy_t policy_info, mach_msg_type_number_t count) argument
432 task_importance( task_t task, integer_t importance) argument
466 task_policy_get( task_t task, task_policy_flavor_t flavor, task_policy_t policy_info, mach_msg_type_number_t *count, boolean_t *get_default) argument
605 task_policy_create(task_t task, int parent_boosted) argument
631 task_policy_update_locked(task_t task, thread_t thread) argument
658 task_policy_update_internal_locked(task_t task, thread_t thread, boolean_t in_create) argument
977 task_policy_update_task_locked(task_t task, boolean_t update_throttle, boolean_t update_threads) argument
1069 task_policy_update_complete_unlocked(task_t task, thread_t thread) argument
1132 proc_set_task_policy(task_t task, thread_t thread, int category, int flavor, int value) argument
1162 proc_set_task_policy_thread(task_t task, uint64_t tid, int category, int flavor, int value) argument
1208 proc_set_task_policy_locked(task_t task, thread_t thread, int category, int flavor, int value) argument
1336 proc_get_task_policy(task_t task, thread_t thread, int category, int flavor) argument
1410 proc_get_effective_task_policy(task_t task, int flavor) argument
1430 proc_get_effective_policy(task_t task, thread_t thread, int flavor) argument
1700 proc_set_task_apptype(task_t task, int apptype) argument
1764 proc_task_is_tal(task_t task) argument
1771 task_grab_latency_qos(task_t task) argument
1778 proc_get_darwinbgstate(task_t task, uint32_t * flagsp) argument
1806 task_t task = thread->task; local
1817 trequested(task_t task, thread_t thread) argument
1824 teffective(task_t task, thread_t thread) argument
1831 tpending(task_t task, thread_t thread) argument
1837 task_requested_bitfield(task_t task, thread_t thread) argument
1879 task_effective_bitfield(task_t task, thread_t thread) argument
1908 task_pending_bitfield(task_t task, thread_t thread) argument
1929 proc_get_task_ruse_cpu(task_t task, uint32_t *policyp, uint8_t *percentagep, uint64_t *intervalp, uint64_t *deadlinep) argument
2010 proc_set_task_ruse_cpu(task_t task, uint32_t policy, uint8_t percentage, uint64_t interval, uint64_t deadline, int cpumon_entitled) argument
2058 proc_clear_task_ruse_cpu(task_t task, int cpumon_entitled) argument
2096 task_apply_resource_actions(task_t task, int type) argument
2143 task_get_cpuusage(task_t task, uint8_t *percentagep, uint64_t *intervalp, uint64_t *deadlinep, int *scope) argument
2172 task_disable_cpumon(task_t task) argument
2203 task_set_cpuusage(task_t task, uint8_t percentage, uint64_t interval, uint64_t deadline, int scope, int cpumon_entitled) argument
2349 task_clear_cpuusage(task_t task, int cpumon_entitled) argument
2361 task_clear_cpuusage_locked(task_t task, int cpumon_entitled) argument
2400 task_t task = (task_t)param0; local
2416 task_importance_mark_donor(task_t task, boolean_t donating) argument
2424 task_importance_mark_receiver(task_t task, boolean_t receiving) argument
2447 task_update_boost_locked(task_t task, boolean_t boost_active) argument
2479 task_is_importance_donor(task_t task) argument
2489 task_is_importance_receiver(task_t task) argument
2708 task_hold_multiple_assertion(__imp_only task_t task, __imp_only uint32_t count) argument
2718 task_add_importance_watchport(__imp_only task_t task, __imp_only __impdebug_only int pid, __imp_only mach_port_t port, int *boostp) argument
2799 task_has_been_notified(task_t task, int pressurelevel) argument
2820 task_used_for_purging(task_t task, int pressurelevel) argument
2841 task_mark_has_been_notified(task_t task, int pressurelevel) argument
2860 task_mark_used_for_purging(task_t task, int pressurelevel) argument
2879 task_clear_has_been_notified(task_t task, int pressurelevel) argument
2898 task_clear_used_for_purging(task_t task) argument
2922 task_importance_estimate(task_t task) argument
[all...]
H A Dtask.h59 * File: task.h
108 #include <machine/task.h>
120 /* defns for task->rsu_controldata */
149 struct task { struct
161 /* Threads in this task */
203 struct ipc_port *itk_resume; /* a receive right to resume this task */
231 zinfo_usage_t tkm_zinfo; /* per-task, per-zone usage statistics */
237 uint32_t t_flags; /* general-purpose task flags protected by task_lock (TL) */
238 #define TF_64B_ADDR 0x1 /* task has 64-bit addressing */
239 #define TF_64B_DATA 0x2 /* task ha
[all...]
H A Dbsd_kern.c30 #include <mach/task.h>
36 #include <kern/task.h>
64 int fill_task_rusage_v2(task_t task, struct rusage_info_v2 *ri);
80 return(th->task != TASK_NULL ? th->task->bsd_info : NULL);
110 * Until then, we cannot block here. We know the task
114 thread_t get_firstthread(task_t task) argument
116 thread_t thread = (thread_t)(void *)queue_first(&task->threads);
118 if (queue_end(&task->threads, (queue_entry_t)thread))
121 if (!task
128 get_signalact( task_t task, thread_t *result_out, int setast) argument
176 check_actforsig( task_t task, thread_t thread, int setast) argument
264 get_task_numactivethreads(task_t task) argument
300 swap_task_map(task_t task, thread_t thread, vm_map_t map, boolean_t doswitch) argument
335 get_task_resident_size(task_t task) argument
346 get_task_phys_footprint(task_t task) argument
362 get_task_phys_footprint_max(task_t task) argument
484 get_task_userstop( task_t task) argument
504 get_task_pidsuspended( task_t task) argument
514 get_task_frozen( task_t task) argument
563 task_act_iterate_wth_args( task_t task, void (*func_callback)(thread_t, void *), void *func_arg) argument
596 fill_taskprocinfo(task_t task, struct proc_taskinfo_internal * ptinfo) argument
677 fill_taskthreadinfo(task_t task, uint64_t thaddr, int thuniqueid, struct proc_threadinfo_internal * ptinfo, void * vpp, int *vidp) argument
727 fill_taskthreadlist(task_t task, void * buffer, int thcount) argument
755 get_numthreads(task_t task) argument
777 fill_task_rusage_v2(task_t task, struct rusage_info_v2 *ri) argument
[all...]
H A Dsyscall_emulation.c62 #include <mach/task.h>
66 #include <kern/task.h>
79 * Set the list of emulated system calls for this task.
84 __unused task_t task,
95 * Get the list of emulated system calls for this task.
100 __unused task_t task,
110 * set up for user space emulation of syscalls within this task.
114 __unused task_t task,
83 task_set_emulation_vector( __unused task_t task, __unused int vector_start, __unused emulation_vector_t emulation_vector, __unused mach_msg_type_number_t emulation_vector_count) argument
99 task_get_emulation_vector( __unused task_t task, __unused int *vector_start, __unused emulation_vector_t *emulation_vector, __unused mach_msg_type_number_t *emulation_vector_count) argument
113 task_set_emulation( __unused task_t task, __unused vm_offset_t routine_entry_pt, __unused int routine_number) argument
/macosx-10.9.5/xnu-2422.115.4/security/
H A Dmac_mach_internal.h62 void mac_task_label_update_internal(struct label *pl, struct task *t);
65 int mac_port_check_method(task_t task, struct label *sub, struct label *obj, int msgid);
84 void mac_task_label_associate(struct task *, struct task *, struct label *,
86 void mac_task_label_associate_kernel(struct task *, struct label *, struct label *);
87 void mac_task_label_modify( struct task *pt, void *arg,
89 struct label *mac_task_get_label(struct task *task);
99 int mac_port_check_label_update(struct label *task, struct label *oldl, struct label *newl);
101 int mac_port_check_send(struct label *task, struc
[all...]
H A Dmac_port.c65 #include <kern/task.h>
154 mac_port_check_label_update(struct label *task, struct label *old, argument
159 MAC_CHECK(port_check_label_update, task, old, newlabel);
165 mac_port_check_send(struct label *task, struct label *port) argument
169 MAC_CHECK(port_check_send, task, port);
175 mac_port_check_receive(struct label *task, struct label *sender) argument
179 MAC_CHECK(port_check_receive, task, sender);
185 mac_port_check_make_send(struct label *task, struct label *port) argument
189 MAC_CHECK(port_check_make_send, task, port);
195 mac_port_check_make_send_once(struct label *task, struc argument
205 mac_port_check_copy_send(struct label *task, struct label *port) argument
215 mac_port_check_move_send(struct label *task, struct label *port) argument
225 mac_port_check_move_send_once(struct label *task, struct label *port) argument
235 mac_port_check_move_receive(struct label *task, struct label *port) argument
245 mac_port_check_hold_send(struct label *task, struct label *port) argument
255 mac_port_check_hold_send_once(struct label *task, struct label *port) argument
265 mac_port_check_hold_receive(struct label *task, struct label *port) argument
275 mac_port_check_method(task_t task, struct label *sub, struct label *obj, int msgid) argument
[all...]
/macosx-10.9.5/Security-55471.14.18/include/security_codesigning/
H A DSecTask.c65 SecTaskRef task = (SecTaskRef) cfTask; local
67 if (task->entitlements != NULL) {
68 CFRelease(task->entitlements);
69 task->entitlements = NULL;
79 SecTaskRef task = (SecTaskRef) cfTask; local
81 int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, task->pid};
89 return CFStringCreateWithFormat(CFGetAllocator(task), NULL, CFSTR("%s[%" PRIdPID "]"), task_name, task->pid);
122 SecTaskRef task = (SecTaskRef) _CFRuntimeCreateInstance(allocator, SecTaskGetTypeID(), extra, NULL); local
123 if (task !
134 SecTaskRef task; local
156 SecTaskValidateForRequirement(SecTaskRef task, CFStringRef requirement) argument
194 csops_task(SecTaskRef task, int ops, void *blob, size_t size) argument
202 SecTaskLoadEntitlements(SecTaskRef task, CFErrorRef *error) argument
245 SecTaskCopyValueForEntitlement(SecTaskRef task, CFStringRef entitlement, CFErrorRef *error) argument
265 SecTaskCopyValuesForEntitlements(SecTaskRef task, CFArrayRef entitlements, CFErrorRef *error) argument
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_codesigning/lib/
H A DSecTask.c65 SecTaskRef task = (SecTaskRef) cfTask; local
67 if (task->entitlements != NULL) {
68 CFRelease(task->entitlements);
69 task->entitlements = NULL;
79 SecTaskRef task = (SecTaskRef) cfTask; local
81 int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, task->pid};
89 return CFStringCreateWithFormat(CFGetAllocator(task), NULL, CFSTR("%s[%" PRIdPID "]"), task_name, task->pid);
122 SecTaskRef task = (SecTaskRef) _CFRuntimeCreateInstance(allocator, SecTaskGetTypeID(), extra, NULL); local
123 if (task !
134 SecTaskRef task; local
156 SecTaskValidateForRequirement(SecTaskRef task, CFStringRef requirement) argument
194 csops_task(SecTaskRef task, int ops, void *blob, size_t size) argument
202 SecTaskLoadEntitlements(SecTaskRef task, CFErrorRef *error) argument
245 SecTaskCopyValueForEntitlement(SecTaskRef task, CFStringRef entitlement, CFErrorRef *error) argument
265 SecTaskCopyValuesForEntitlements(SecTaskRef task, CFArrayRef entitlements, CFErrorRef *error) argument
[all...]
/macosx-10.9.5/ruby-104/ruby/test/rake/
H A Dtest_rake_task_manager_argument_resolution.rb18 assert_equal [:t, [], []], task(:t)
19 assert_equal [:t, [], [:x]], task(:t => :x)
20 assert_equal [:t, [], [:x, :y]], task(:t => [:x, :y])
22 assert_equal [:t, [:a, :b], []], task(:t, :a, :b)
23 assert_equal [:t, [], [:x]], task(:t, :needs => :x)
24 assert_equal [:t, [:a, :b], [:x]], task(:t, :a, :b, :needs => :x)
25 assert_equal [:t, [:a, :b], [:x, :y]], task(:t, :a, :b, :needs => [:x, :y])
27 assert_equal [:t, [:a, :b], []], task(:t, [:a, :b])
28 assert_equal [:t, [:a, :b], [:x]], task(:t, [:a, :b] => :x)
29 assert_equal [:t, [:a, :b], [:x, :y]], task(
32 def task(*args) method in class:TestRakeTaskManagerArgumentResolution
[all...]
H A Dhelper.rb105 task "sys1" do
127 task :default => [:work, :obj, :const]
129 task :work do
139 task :obj
140 task :disabled_obj do
142 Object.new.instance_eval { task :xyzzy }
149 task :const do
162 task :default => "play.app"
181 task :t1 do
184 # no comment or task becaus
[all...]
H A Dtest_rake_task.rb22 t = task(:name) { |task| arg = task; 1234 }
35 # t = task(:foo, :needs => [:bar, :baz])
36 t = task(:foo => [:bar, :baz])
42 t1 = task(:t1 => [:t2, :t3]) { |t| runlist << t.name; 3321 }
43 task(:t2) { |t| runlist << t.name }
44 task(:t3) { |t| runlist << t.name }
52 t1 = task(:t1 => [:t2]) { |t| runlist << t.name; 3321 }
53 t2 = task(
[all...]
/macosx-10.9.5/ntp-88/lib/isc/include/isc/
H A Dtask.h18 /* $Id: task.h,v 1.61.332.2 2009/01/18 23:47:41 tbox Exp $ */
27 /*! \file isc/task.h
28 * \brief The task system provides a lightweight execution context, which is
31 * When a task's event queue is non-empty, the
32 * task is runnable. A small work crew of threads, typically one per CPU,
56 * Events which have been queued for a task but not delivered may be removed
57 * from the task's event queue by purging or unsending.
103 * Create a task.
108 * before the task must yield to other tasks waiting to execute. If
109 * quantum is zero, then the default quantum of the task manage
[all...]
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/
H A Dtask.c25 * XXXRTH Need to document the states a task can be in, and the rules
38 #include <isc/task.h>
51 * when built without threads we share a single global task manager and use
52 * an integrated event loop for socket, timer, and other generic task events.
54 * we don't use either of them: an application can have multiple task managers
72 #define XTRACE(m) fprintf(stderr, "task %p thread %lu: %s\n", \
73 task, isc_thread_self(), (m))
74 #define XTTRACE(t, m) fprintf(stderr, "task %p thread %lu: %s\n", \
110 /* Locked by task lock. */
120 /* Locked by task manage
272 task_finished(isc__task_t *task) argument
308 isc__task_t *task; local
382 task_shutdown(isc__task_t *task) argument
419 task_ready(isc__task_t *task) argument
438 task_detach(isc__task_t *task) argument
468 isc__task_t *task; local
492 task_send(isc__task_t *task, isc_event_t **eventp) argument
523 isc__task_t *task = (isc__task_t *)task0; local
566 isc__task_t *task; local
600 dequeue_events(isc__task_t *task, void *sender, isc_eventtype_t first, isc_eventtype_t last, void *tag, isc_eventlist_t *events, isc_boolean_t purging) argument
643 isc__task_t *task = (isc__task_t *)task0; local
672 isc__task_purge(isc_task_t *task, void *sender, isc_eventtype_t type, void *tag) argument
686 isc__task_t *task = (isc__task_t *)task0; local
728 isc__task_unsendrange(isc_task_t *task, void *sender, isc_eventtype_t first, isc_eventtype_t last, void *tag, isc_eventlist_t *events) argument
743 isc__task_unsend(isc_task_t *task, void *sender, isc_eventtype_t type, void *tag, isc_eventlist_t *events) argument
760 isc__task_t *task = (isc__task_t *)task0; local
798 isc__task_t *task = (isc__task_t *)task0; local
830 isc__task_t *task = (isc__task_t *)task0; local
847 isc__task_t *task = (isc__task_t *)task0; local
856 isc__task_t *task = (isc__task_t *)task0; local
865 isc__task_t *task = (isc__task_t *)task0; local
882 isc__task_t *task; local
1314 isc__task_t *task; local
1446 isc__task_t *task = (isc__task_t *)task0; local
1468 isc__task_t *task = (isc__task_t *)task0; local
1491 isc__task_t *task = (isc__task_t *)t; local
1502 isc__task_t *task; local
[all...]
H A Dtask_api.c27 #include <isc/task.h>
132 isc_task_send(isc_task_t *task, isc_event_t **eventp) { argument
133 REQUIRE(ISCAPI_TASK_VALID(task));
136 task->methods->send(task, eventp);
152 isc_task_unsend(isc_task_t *task, void *sender, isc_eventtype_t type, argument
155 REQUIRE(ISCAPI_TASK_VALID(task));
157 return (task->methods->unsend(task, sender, type, tag, events));
161 isc_task_onshutdown(isc_task_t *task, isc_taskaction_ argument
169 isc_task_shutdown(isc_task_t *task) argument
176 isc_task_setname(isc_task_t *task, const char *name, void *tag) argument
183 isc_task_purge(isc_task_t *task, void *sender, isc_eventtype_t type, void *tag) argument
191 isc_task_beginexclusive(isc_task_t *task) argument
198 isc_task_endexclusive(isc_task_t *task) argument
210 isc_task_purgerange(isc_task_t *task, void *sender, isc_eventtype_t first, isc_eventtype_t last, void *tag) argument
[all...]
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/include/isc/
H A Dtask.h27 /*! \file isc/task.h
28 * \brief The task system provides a lightweight execution context, which is
31 * When a task's event queue is non-empty, the
32 * task is runnable. A small work crew of threads, typically one per CPU,
56 * Events which have been queued for a task but not delivered may be removed
57 * from the task's event queue by purging or unsending.
103 /*% Task and task manager methods */
115 void (*send)(isc_task_t *task, isc_event_t **eventp);
117 unsigned int (*unsend)(isc_task_t *task, void *sender, isc_eventtype_t type,
119 isc_result_t (*onshutdown)(isc_task_t *task, isc_taskaction_
[all...]

Completed in 253 milliseconds

1234567891011>>