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

1234567891011>>

/macosx-10.10.1/xnu-2782.1.97/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_space_basic_info( ipc_space_t task, ipc_info_space_basic_t *space_basic_info) argument
411 mach_port_dnrequest_info( ipc_space_t task, mach_port_name_t name, unsigned *dnr_total, unsigned *dnr_used) argument
426 mach_port_kernel_object( ipc_space_t task, mach_port_name_t name, unsigned *object_type, unsigned *object_addr) argument
441 mach_port_insert_member( ipc_space_t task, mach_port_name_t name, mach_port_name_t pset) argument
457 mach_port_extract_member( ipc_space_t task, mach_port_name_t name, mach_port_name_t pset) argument
473 mach_port_get_context( ipc_space_t task, mach_port_name_t name, mach_port_context_t *context) argument
491 mach_port_set_context( ipc_space_t task, mach_port_name_t name, mach_port_context_t context) argument
504 mach_port_kobject( ipc_space_t task, mach_port_name_t name, natural_t *object_type, mach_vm_address_t *object_addr) argument
518 mach_port_construct( ipc_space_t task, mach_port_options_t *options, mach_port_context_t context, mach_port_name_t *name) argument
535 mach_port_destruct( ipc_space_t task, mach_port_name_t name, mach_port_delta_t srdelta, mach_port_context_t guard) argument
553 mach_port_guard( ipc_space_t task, mach_port_name_t name, mach_port_context_t guard, boolean_t strict) argument
571 mach_port_unguard( ipc_space_t task, mach_port_name_t name, mach_port_context_t guard) argument
[all...]
/macosx-10.10.1/xnu-2782.1.97/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. */
97 #define task_get_kernel_port(task, port) \
98 (task_get_special_port((task), TASK_KERNEL_PORT, (port)))
100 #define task_set_kernel_port(task, port) \
101 (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.10.1/ruby-106/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.10.1/xnu-2782.1.97/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.10.1/xnu-2782.1.97/osfmk/kern/
H A Dtask.c57 * File: kern/task.c
107 #include <kern/task.h>
209 * (ie when the task's wakeups rate exceeds 70% of the limit, start taking user
215 int task_wakeups_monitor_rate; /* In hz. Maximum allowable wakeups per task before EXC_RESOURCE is sent */
221 int max_task_footprint = 0; /* Per-task limit on physical memory consumption */
246 task_t task);
248 task_t task,
251 task_t task);
253 task_t task );
255 task_t task);
261 task_backing_store_privileged( task_t task) argument
272 task_set_64bit( task_t task, boolean_t is64bit) argument
312 task_set_dyld_info(task_t task, mach_vm_address_t addr, mach_vm_size_t size) argument
321 task_atm_reset(__unused task_t task) argument
354 task_reference_internal(task_t task) argument
367 task_deallocate_internal(task_t task) argument
995 task_deallocate( task_t task) argument
1169 task_terminate( task_t task) argument
1188 task_partial_reap(task_t task, __unused int pid) argument
1206 task_terminate_internal( task_t task) argument
1397 task_start_halt( task_t task) argument
1458 task_complete_halt(task_t task) argument
1516 task_hold_locked( register task_t task) argument
1548 task_hold( register task_t task) argument
1569 task_wait( task_t task, boolean_t until_not_runnable) argument
1599 task_wait_locked( register task_t task, boolean_t until_not_runnable) argument
1629 task_release_locked( register task_t task) argument
1656 task_release( task_t task) argument
1677 task_threads( task_t task, thread_act_array_t *threads_out, mach_msg_type_number_t *count) argument
1791 place_task_hold( register task_t task, int mode) argument
1832 release_task_hold( register task_t task, int mode) argument
1910 task_suspend( register task_t task) argument
1984 task_resume( register task_t task) argument
2030 task_suspend_internal(task_t task) argument
2048 task_suspend2( register task_t task, task_suspension_token_t *suspend_token) argument
2076 task_resume_internal( register task_suspension_token_t task) argument
2094 task_resume2( register task_suspension_token_t task) argument
2109 task_t task = convert_port_to_task_suspension_token(port); local
2160 task_pidsuspend_locked(task_t task) argument
2189 task_pidsuspend( register task_t task) argument
2217 task_pidresume( register task_t task) argument
2279 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
2342 task_thaw( register task_t task) argument
2395 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
2454 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
2490 task_info( task_t task, task_flavor_t flavor, task_info_t task_info_out, mach_msg_type_number_t *task_info_count) argument
3167 task_power_info_locked( task_t task, task_power_info_t info, gpu_energy_data_t ginfo) argument
3231 task_gpu_utilisation( task_t task) argument
3254 task_purgable_info( task_t task, task_purgable_info_t *stats) argument
3269 task_vtimer_set( task_t task, integer_t which) argument
3324 task_vtimer_clear( task_t task, integer_t which) argument
3338 task_vtimer_update( __unused task_t task, integer_t which, uint32_t *microsecs) argument
3395 task_assign( __unused task_t task, __unused processor_set_t new_pset, __unused boolean_t assign_threads) argument
3409 task_assign_default( task_t task, boolean_t assign_threads) argument
3422 task_get_assignment( task_t task, processor_set_t *pset) argument
3443 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
3463 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
3477 task_set_ras_pc( __unused task_t task, __unused vm_offset_t pc, __unused vm_offset_t endpc) argument
3486 task_synchronizer_destroy_all(task_t task) argument
3507 task_set_state( task_t task, int flavor, thread_state_t state, mach_msg_type_number_t state_count) argument
3538 task_get_state( task_t task, int flavor, thread_state_t state, mach_msg_type_number_t *state_count) argument
3569 task_t task = current_task(); local
3646 task_t task; local
3695 task_set_phys_footprint_limit( task_t task, int new_limit_mb, int *old_limit_mb) argument
3710 task_set_phys_footprint_limit_internal( task_t task, int new_limit_mb, int *old_limit_mb, boolean_t trigger_exception) argument
3755 task_get_phys_footprint_limit( task_t task, int *limit_mb) argument
3768 task_set_phys_footprint_limit( __unused task_t task, __unused int new_limit_mb, __unused int *old_limit_mb) argument
3777 task_get_phys_footprint_limit( __unused task_t task, __unused int *limit_mb) argument
3799 check_for_tasksuspend(task_t task) argument
3818 task_reference( task_t task) argument
3831 task_findtid(task_t task, uint64_t tid) argument
3846 task_cpu_usage_monitor_ctl(task_t task, uint32_t *flags) argument
3863 task_wakeups_monitor_ctl(task_t task, uint32_t *flags, int32_t *rate_hz) argument
3966 task_t task = current_task(); local
4024 task_purge_volatile_memory( task_t task) argument
4056 task_get_mach_voucher( task_t task, mach_voucher_selector_t __unused which, ipc_voucher_t *voucher) argument
4069 task_set_mach_voucher( task_t task, ipc_voucher_t __unused voucher) argument
4080 task_swap_mach_voucher( task_t task, ipc_voucher_t new_voucher, ipc_voucher_t *in_out_old_voucher) argument
4092 task_set_gpu_denied(task_t task, boolean_t denied) argument
4105 task_is_gpu_denied(task_t task) argument
[all...]
H A Dtask_policy.c33 #include <kern/task.h>
57 * This subsystem manages task and thread IO priority and backgrounding,
58 * as well as importance inheritance, process suppression, task QoS, and apptype.
64 * Requested represents the wishes of each interface that influences task policy.
68 * Each interface that has an input into the task policy state machine controls a field in requested.
72 * All kernel subsystems that behave differently based on task policy call into
73 * the get_effective_policy function, which returns the decision of the task policy state machine
77 * Here are the steps to change a policy on a task or thread:
78 * 1) Lock task
80 * 3) Run a task polic
285 task_policy_set( task_t task, task_policy_flavor_t flavor, task_policy_t policy_info, mach_msg_type_number_t count) argument
454 task_importance( task_t task, integer_t importance) argument
488 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
641 task_policy_create(task_t task, int parent_boosted) argument
672 task_t task = thread->task; local
688 task_policy_update_locked(task_t task, thread_t thread, task_pend_token_t pend_token) argument
716 task_policy_update_internal_locked(task_t task, thread_t thread, boolean_t in_create, task_pend_token_t pend_token) argument
1247 task_policy_update_task_locked(task_t task, boolean_t update_throttle, boolean_t update_threads, boolean_t update_sfi) argument
1341 task_policy_update_complete_unlocked(task_t task, thread_t thread, task_pend_token_t pend_token) argument
1372 proc_set_task_policy(task_t task, thread_t thread, int category, int flavor, int value) argument
1404 proc_set_task_policy_thread(task_t task, uint64_t tid, int category, int flavor, int value) argument
1448 proc_set_task_policy2(task_t task, thread_t thread, int category, int flavor, int value1, int value2) argument
1478 proc_set_task_policy_locked(task_t task, thread_t thread, int category, int flavor, int value) argument
1606 proc_set_task_policy2_locked(task_t task, thread_t thread, int category, int flavor, int value1, int value2) argument
1660 proc_get_task_policy(task_t task, thread_t thread, int category, int flavor) argument
1735 proc_get_task_policy2(task_t task, thread_t thread, int category __unused, int flavor, int *value1, int *value2) argument
1781 proc_get_effective_task_policy(task_t task, int flavor) argument
1801 proc_get_effective_policy(task_t task, thread_t thread, int flavor) argument
2104 proc_thread_qos_add_override(task_t task, thread_t thread, uint64_t tid, int override_qos, boolean_t first_override_for_resource) argument
2175 proc_thread_qos_remove_override(task_t task, thread_t thread, uint64_t tid) argument
2244 proc_set_task_spawnpolicy(task_t task, int apptype, int qos_clamp, ipc_port_t * portwatch_ports, int portwatch_count) argument
2356 task_set_main_thread_qos(task_t task, thread_t main_thread) argument
2413 proc_task_is_tal(task_t task) argument
2420 task_grab_latency_qos(task_t task) argument
2427 proc_get_darwinbgstate(task_t task, uint32_t * flagsp) argument
2459 task_t task = thread->task; local
2510 trequested_0(task_t task, thread_t thread) argument
2521 trequested_1(task_t task, thread_t thread) argument
2536 teffective_0(task_t task, thread_t thread) argument
2547 teffective_1(task_t task, thread_t thread) argument
2565 task_requested_bitfield(task_t task, thread_t thread) argument
2613 task_effective_bitfield(task_t task, thread_t thread) argument
2652 proc_get_task_ruse_cpu(task_t task, uint32_t *policyp, uint8_t *percentagep, uint64_t *intervalp, uint64_t *deadlinep) argument
2738 proc_set_task_ruse_cpu(task_t task, uint32_t policy, uint8_t percentage, uint64_t interval, uint64_t deadline, int cpumon_entitled) argument
2786 proc_clear_task_ruse_cpu(task_t task, int cpumon_entitled) argument
2824 task_apply_resource_actions(task_t task, int type) argument
2871 task_get_cpuusage(task_t task, uint8_t *percentagep, uint64_t *intervalp, uint64_t *deadlinep, int *scope) argument
2900 task_disable_cpumon(task_t task) argument
2931 task_set_cpuusage(task_t task, uint8_t percentage, uint64_t interval, uint64_t deadline, int scope, int cpumon_entitled) argument
3077 task_clear_cpuusage(task_t task, int cpumon_entitled) argument
3089 task_clear_cpuusage_locked(task_t task, int cpumon_entitled) argument
3128 task_t task = (task_t)param0; local
3159 task_importance_mark_donor(task_t task, boolean_t donating) argument
3173 task_importance_mark_live_donor(task_t task, boolean_t live_donating) argument
3187 task_importance_mark_receiver(task_t task, boolean_t receiving) argument
3201 task_importance_mark_denap_receiver(task_t task, boolean_t denap) argument
3215 task_importance_reset(__imp_only task_t task) argument
3235 task_set_boost_locked(task_t task, boolean_t boost_active) argument
3262 task_update_boost_locked(task_t task, boolean_t boost_active, task_pend_token_t pend_token) argument
3276 task_is_importance_donor(task_t task) argument
3287 task_is_marked_importance_donor(task_t task) argument
3298 task_is_marked_live_importance_donor(task_t task) argument
3311 task_is_importance_receiver(task_t task) argument
3322 task_is_marked_importance_receiver(task_t task) argument
3334 task_is_importance_denap_receiver(task_t task) argument
3345 task_is_marked_importance_denap_receiver(task_t task) argument
3357 task_is_importance_receiver_type(task_t task) argument
3480 task_add_importance_watchport(task_t task, mach_port_t port, int *boostp) argument
3565 task_has_been_notified(task_t task, int pressurelevel) argument
3586 task_used_for_purging(task_t task, int pressurelevel) argument
3607 task_mark_has_been_notified(task_t task, int pressurelevel) argument
3626 task_mark_used_for_purging(task_t task, int pressurelevel) argument
3645 task_clear_has_been_notified(task_t task, int pressurelevel) argument
3664 task_clear_used_for_purging(task_t task) argument
3688 task_importance_estimate(task_t task) argument
[all...]
H A Dtask.h59 * File: task.h
108 #include <machine/task.h>
122 /* defns for task->rsu_controldata */
169 struct task { struct
185 /* Threads in this task */
228 struct ipc_port *itk_resume; /* a receive right to resume this task */
256 zinfo_usage_t tkm_zinfo; /* per-task, per-zone usage statistics */
262 volatile uint32_t t_flags; /* general-purpose task flags protected by task_lock (TL) */
263 #define TF_64B_ADDR 0x00000001 /* task has 64-bit addressing */
264 #define TF_64B_DATA 0x00000002 /* task ha
[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_debug_control = IP_NULL;
148 task
117 ipc_task_init( task_t task, task_t parent) argument
218 ipc_task_enable( task_t task) argument
243 ipc_task_disable( task_t task) argument
287 ipc_task_terminate( task_t task) argument
369 ipc_task_reset( task_t task) argument
627 retrieve_task_self_fast( register task_t task) argument
708 task_t task = current_task(); local
733 task_t task = thread->task; local
887 task_get_special_port( task_t task, int which, ipc_port_t *portp) argument
959 task_set_special_port( task_t task, int which, ipc_port_t port) argument
1044 mach_ports_register( task_t task, mach_port_array_t memory, mach_msg_type_number_t portsCnt) argument
1118 mach_ports_lookup( task_t task, mach_port_array_t *portsp, mach_msg_type_number_t *portsCnt) argument
1177 task_t task; local
1216 task_t task = TASK_NULL; local
1248 task_name_t task = TASK_NULL; local
1281 task_suspension_token_t task = TASK_NULL; local
1314 task_t task; local
1346 task_t task; local
1435 task_t task = TASK_NULL; local
1463 convert_task_to_port( task_t task) argument
1489 convert_task_suspension_token_to_port( task_suspension_token_t task) argument
1689 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
1889 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
2072 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 Dbsd_kern.c30 #include <mach/task.h>
36 #include <kern/task.h>
62 int fill_task_rusage(task_t task, rusage_info_current *ri);
63 int fill_task_io_rusage(task_t task, rusage_info_current *ri);
64 int fill_task_qos_rusage(task_t task, rusage_info_current *ri);
65 void fill_task_billed_usage(task_t task, rusage_info_current *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
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
343 get_task_compressed(task_t task) argument
351 get_task_resident_max(task_t task) argument
359 get_task_purgeable_size(task_t task) argument
374 get_task_phys_footprint(task_t task) argument
390 get_task_phys_footprint_max(task_t task) argument
403 get_task_cpu_time(task_t task) argument
525 get_task_userstop( task_t task) argument
545 get_task_pidsuspended( task_t task) argument
555 get_task_frozen( task_t task) argument
604 task_act_iterate_wth_args( task_t task, void (*func_callback)(thread_t, void *), void *func_arg) argument
637 fill_taskprocinfo(task_t task, struct proc_taskinfo_internal * ptinfo) argument
718 fill_taskthreadinfo(task_t task, uint64_t thaddr, int thuniqueid, struct proc_threadinfo_internal * ptinfo, void * vpp, int *vidp) argument
768 fill_taskthreadlist(task_t task, void * buffer, int thcount) argument
796 get_numthreads(task_t task) argument
806 fill_task_rusage(task_t task, rusage_info_current *ri) argument
845 fill_task_io_rusage(task_t task, rusage_info_current *ri) argument
863 fill_task_qos_rusage(task_t task, rusage_info_current *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.10.1/ntp-92/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.10.1/Security-57031.1.35/Security/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.10.1/Security-57031.1.35/Security/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.10.1/ruby-106/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.10.1/ntp-92/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.10.1/bind9-45.101/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.10.1/Security-57031.1.35/sectask/
H A DSecTask.c56 static bool check_task(SecTaskRef task) { argument
57 return SecTaskGetTypeID() == CFGetTypeID(task);
62 SecTaskRef task = (SecTaskRef) cfTask; local
64 if (task->entitlements != NULL) {
65 CFRelease(task->entitlements);
66 task->entitlements = NULL;
76 SecTaskRef task = (SecTaskRef) cfTask; local
78 if (task->pid_self==-1) {
79 audit_token_to_au32(task->token, NULL, NULL, NULL, NULL, NULL, &pid, NULL, NULL);
81 pid = task
112 SecTaskRef task = init_task_ref(allocator); local
126 SecTaskRef task = init_task_ref(allocator); local
144 csops_task(SecTaskRef task, int ops, void *blob, size_t size) argument
157 SecTaskCopySigningIdentifier(SecTaskRef task, CFErrorRef *error) argument
199 SecTaskLoadEntitlements(SecTaskRef task, CFErrorRef *error) argument
252 SecTaskCopyValueForEntitlement(SecTaskRef task, CFStringRef entitlement, CFErrorRef *error) argument
274 SecTaskCopyValuesForEntitlements(SecTaskRef task, CFArrayRef entitlements, CFErrorRef *error) argument
[all...]
/macosx-10.10.1/xnu-2782.1.97/osfmk/i386/
H A Dmachine_task.c57 #include <kern/task.h>
69 task_t task,
78 if ((task_has_64BitAddr(task)) ||
84 if (task->task_debug == NULL) {
85 task->task_debug = zalloc(ids_zone);
88 copy_debug_state32(tstate, (x86_debug_state32_t*) task->task_debug, FALSE);
97 if ((!task_has_64BitAddr(task)) ||
103 if (task->task_debug == NULL) {
104 task->task_debug = zalloc(ids_zone);
107 copy_debug_state64(tstate, (x86_debug_state64_t*) task
68 machine_task_set_state( task_t task, int flavor, thread_state_t state, mach_msg_type_number_t state_count) argument
158 machine_task_get_state(task_t task, int flavor, thread_state_t state, mach_msg_type_number_t *state_count) argument
241 machine_task_terminate(task_t task) argument
[all...]
/macosx-10.10.1/bind9-45.101/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...]
/macosx-10.10.1/configd-699.1.5/configd.tproj/
H A D_notifyviasignal.c88 task_t task,
100 if (task != TASK_NULL) {
101 (void) mach_port_deallocate(mach_task_self(), task); local
107 if (task != TASK_NULL) {
108 status = pid_for_task(task, &pid);
110 /* could not determine pid for task */
112 (void) mach_port_deallocate(mach_task_self(), task); local
116 /* sorry, you must specify a valid task */
123 __MACH_PORT_DEBUG(TRUE, "*** _notifyviasignal __SCDynamicStoreNotifySignal failed: releasing task)", task);
87 _notifyviasignal(mach_port_t server, task_t task, int sig, int *sc_status) argument
124 (void) mach_port_deallocate(mach_task_self(), task); local
[all...]

Completed in 212 milliseconds

1234567891011>>