Home
last modified time | relevance | path

Searched refs:space (Results 1 – 25 of 114) sorted by relevance

12345

/xnu-11215/osfmk/ipc/
H A Dipc_space.c104 ipc_space_t space; in ipc_space_alloc() local
109 return space; in ipc_space_alloc()
177 LCK_SLEEP_DEFAULT, (event_t)space, space->is_grower, in ipc_space_lock_sleep()
190 &space->bool_gen, in ipc_space_get_rollpoint()
294 ipc_space_t space; in ipc_space_create() local
313 *spacep = space; in ipc_space_create()
333 ipc_space_t space, in ipc_space_label() argument
342 if ((space->is_label & label) != space->is_label) { in ipc_space_label()
365 ipc_space_t space, in ipc_space_add_label() argument
397 ipc_space_t space; in ipc_space_create_special() local
[all …]
H A Dipc_entry.c221 space->is_table_free--; in ipc_entry_claim()
277 is_write_lock(space); in ipc_entry_alloc()
339 is_write_lock(space); in ipc_entry_alloc_name()
483 space->is_table_free++; in ipc_entry_dealloc()
523 space->is_task ? task_pid(space->is_task) : 0, in ipc_entry_modified()
553 is_write_unlock(space); in ipc_space_done_growing_and_unlock()
595 is_write_sleep(space); in ipc_entry_grow_table()
644 is_write_lock(space); in ipc_entry_grow_table()
722 is_write_lock(space); in ipc_entry_grow_table()
738 is_write_lock(space); in ipc_entry_grow_table()
[all …]
H A Dipc_right.c289 assert(space != IS_NULL); in ipc_right_lookup_write()
291 is_write_lock(space); in ipc_right_lookup_write()
293 if (!is_active(space)) { in ipc_right_lookup_write()
294 is_write_unlock(space); in ipc_right_lookup_write()
299 is_write_unlock(space); in ipc_right_lookup_write()
333 is_write_lock(space); in ipc_right_lookup_two_write()
335 if (!is_active(space)) { in ipc_right_lookup_two_write()
336 is_write_unlock(space); in ipc_right_lookup_two_write()
341 is_write_unlock(space); in ipc_right_lookup_two_write()
346 is_write_unlock(space); in ipc_right_lookup_two_write()
[all …]
H A Dmach_debug.c113 if (space == IS_NULL) { in mach_port_get_srights()
162 if (space == IS_NULL) { in mach_port_space_info()
172 is_read_lock(space); in mach_port_space_info()
177 is_read_unlock(space); in mach_port_space_info()
199 is_read_unlock(space); in mach_port_space_info()
220 is_read_lock(space); in mach_port_space_info()
261 is_read_lock(space); in mach_port_space_info()
277 is_read_unlock(space); in mach_port_space_info()
363 if (space == IS_NULL) { in mach_port_space_basic_info()
367 is_read_lock(space); in mach_port_space_basic_info()
[all …]
H A Dmach_port.c248 if (space == IS_NULL) { in mach_port_names()
258 is_read_lock(space); in mach_port_names()
260 is_read_unlock(space); in mach_port_names()
278 is_read_unlock(space); in mach_port_names()
323 is_read_unlock(space); in mach_port_names()
414 if (space == IS_NULL) { in mach_port_type()
600 if (space == IS_NULL) { in mach_port_allocate_full()
701 if (space == IS_NULL) { in mach_port_destroy()
747 if (space == IS_NULL) { in mach_port_deallocate_kernel()
809 if (space == IS_NULL) { in mach_port_get_refs()
[all …]
H A Dipc_object.c332 is_read_unlock(space); in ipc_object_translate_two()
345 is_read_unlock(space); in ipc_object_translate_two()
357 is_read_unlock(space); in ipc_object_translate_two()
367 is_read_unlock(space); in ipc_object_translate_two()
374 is_read_unlock(space); in ipc_object_translate_two()
408 is_write_unlock(space); in ipc_object_alloc_dead()
525 is_write_unlock(space);
654 is_write_unlock(space); in ipc_object_copyin()
961 is_write_unlock(space); in ipc_object_insert_send_right()
1005 is_write_lock(space); in ipc_object_copyout()
[all …]
H A Dipc_right.h80 ipc_space_t space,
87 ipc_space_t space,
93 ipc_space_t space,
101 ipc_space_t space,
108 ipc_space_t space,
128 ipc_space_t space,
134 ipc_space_t space,
142 ipc_space_t space,
148 ipc_space_t space,
156 ipc_space_t space,
[all …]
H A Dipc_space.h243 ipc_space_t space);
246 ipc_space_t space);
249 ipc_space_t space);
265 ipc_space_t space,
270 ipc_space_t space,
275 ipc_space_t space);
279 ipc_space_t space,
290 ipc_space_t space,
295 ipc_space_t space);
299 ipc_space_t space,
[all …]
H A Dipc_entry.h234 ipc_space_t space,
239 ipc_space_t space,
244 ipc_space_t space,
251 ipc_space_t space,
258 ipc_space_t space,
264 ipc_space_t space,
271 ipc_space_t space,
277 ipc_space_t space,
H A Dipc_hash.c87 ipc_space_t space,
103 ipc_space_t space, in ipc_hash_lookup() argument
108 return ipc_hash_table_lookup(is_active_table(space), obj, namep, entryp); in ipc_hash_lookup()
122 ipc_space_t space, in ipc_hash_insert() argument
130 space->is_table_hashed++; in ipc_hash_insert()
131 ipc_hash_table_insert(is_active_table(space), obj, index, entry); in ipc_hash_insert()
144 ipc_space_t space, in ipc_hash_delete() argument
152 space->is_table_hashed--; in ipc_hash_delete()
153 ipc_hash_table_delete(is_active_table(space), obj, index, entry); in ipc_hash_delete()
H A Dipc_object.h267 ipc_space_t space,
274 ipc_space_t space,
294 ipc_space_t space,
299 ipc_space_t space,
308 ipc_space_t space,
322 ipc_space_t space,
347 ipc_space_t space,
353 ipc_space_t space,
363 ipc_space_t space,
370 ipc_space_t space,
H A Dipc_kmsg.c1769 is_write_lock(space); in ipc_kmsg_copyin_header()
2112 is_write_unlock(space); in ipc_kmsg_copyin_header()
2228 is_write_unlock(space); in ipc_kmsg_copyin_header()
2243 is_write_unlock(space); in ipc_kmsg_copyin_header()
3371 is_write_lock(space); in ipc_kmsg_copyout_header()
3783 is_write_lock(space); in ipc_kmsg_copyout_reply_object()
4187 space); in ipc_kmsg_copyout_descriptors()
4196 map, space); in ipc_kmsg_copyout_descriptors()
4200 space, option); in ipc_kmsg_copyout_descriptors()
4473 ipc_space_t space) in ipc_kmsg_copyout_dest_to_user() argument
[all …]
H A Dipc_port.h509 return raw_ptr == space; in ip_in_space_noauth()
569 ipc_space_t space,
646 ipc_space_t space,
652 ipc_space_t space,
659 ipc_space_t space,
949 ipc_space_t space);
953 ipc_space_t space);
964 ipc_space_t space,
1035 ipc_space_t space,
1041 ipc_space_t space);
[all …]
H A Dipc_pset.h109 ipc_space_t space,
115 ipc_space_t space,
121 ipc_space_t space);
125 ipc_space_t space,
H A Dipc_hash.h81 ipc_space_t space,
88 ipc_space_t space,
95 ipc_space_t space,
H A Dipc_port.c249 if (!ip_in_space(port, space)) { in ipc_port_translate_receive()
788 ipc_space_t space, in ipc_port_init() argument
848 port->ip_receiver = space; in ipc_port_init()
872 ipc_space_t space, in ipc_port_alloc() argument
906 is_write_unlock(space); in ipc_port_alloc()
930 ipc_space_t space, in ipc_port_alloc_name() argument
2915 ipc_space_t space, in ipc_port_copyout_send_internal() argument
2942 ipc_space_t space) in ipc_port_copyout_send() argument
2951 ipc_space_t space) in ipc_port_copyout_send_pinned() argument
3155 ipc_space_t space, in ipc_port_alloc_special() argument
[all …]
/xnu-11215/osfmk/arm/
H A Ddata.s48 .space (PAGE_MAX_SIZE_NUM)
53 .space (INTSTACK_SIZE_NUM)
59 .space (PAGE_MAX_SIZE_NUM)
66 .space (EXCEPSTACK_SIZE_NUM)
72 .space (PAGE_MAX_SIZE_NUM)
81 .space 16*1024,0
87 .space RTCLOCKDataSize_NUM,0 // (filled with 0s)
103 .space 16*1024,0
115 .space 20*16*1024,0
117 .space 16*16*1024,0
[all …]
/xnu-11215/osfmk/kern/
H A Dipc_misc.c157 ipc_space_t space = task->itk_space; variable
163 is_read_lock(space);
164 if (!is_active(space)) {
165 is_read_unlock(space);
169 table = is_active_table(space);
208 is_read_unlock(space);
209 is_read_lock(space);
210 if (!is_active(space)) {
211 is_read_unlock(space);
215 table = is_active_table(space);
[all …]
H A Dipc_clock.c109 ipc_space_t space; in port_name_to_clock() local
115 space = current_space(); in port_name_to_clock()
116 if (ipc_port_translate_send(space, clock_name, &port) != KERN_SUCCESS) { in port_name_to_clock()
H A Depoch_sync.c53 #define ES_UNIQUE_ID(space, id) ({ \ argument
55 (id | ((uint64_t)space << 56)); \
112 space_to_ht(esync_space_t space) in space_to_ht() argument
114 switch (space) { in space_to_ht()
378 switch (space) { in esync_wait_set_block_hint()
419 esync_wait(esync_space_t space, const uint64_t id, const uint64_t epoch, in esync_wait() argument
424 const uint64_t unique_id = ES_UNIQUE_ID(space, id); in esync_wait()
426 ht_t *ht = space_to_ht(space); in esync_wait()
466 esync_wait_set_block_hint(space, policy); in esync_wait()
508 ht_t *ht = space_to_ht(space); in esync_wake()
[all …]
/xnu-11215/tools/lldbmacros/
H A Dipc.py30 def GetSpaceTable(space): argument
33 table = space.is_table.__smr_ptr
122 space = 0
439 if space:
593 def GetSpaceProcDesc(space): argument
600 task = space.is_task
797 num_entries, space.is_low_mod, space.is_high_mod))
1264 space = t.itk_space
1736 space = 0
1740 ShowPortOrPset(obj, space=space, O=O)
[all …]
/xnu-11215/bsd/sys/
H A Dmalloc.h151 #define MALLOC(space, cast, size, type, flags) \
152 (space) = (cast)_MALLOC(size, type, flags)
157 #define MALLOC_ZONE(space, cast, size, type, flags) \
158 (space) = (cast)_MALLOC_ZONE(size, type, flags)
/xnu-11215/bsd/net/
H A Dkctl_test.c73 size_t space; in kctl_test_connect() local
78 error = ctl_getenqueuespace(kctlref, sac->sc_unit, &space); in kctl_test_connect()
83 os_log(OS_LOG_DEFAULT, "kctl_test_connect: ctl_getenqueuespace %ld", space); in kctl_test_connect()
93 size_t space; in kctl_test_disconnect() local
97 error = ctl_getenqueuespace(kctlref, unit, &space); in kctl_test_disconnect()
102 os_log(OS_LOG_DEFAULT, "kctl_test_disconnect: ctl_getenqueuespace %ld", space); in kctl_test_disconnect()
/xnu-11215/osfmk/mach/
H A Dmach_vm.defs104 * Allocate zero-filled memory in the address space
135 * address space of the target virtual memory map.
194 * of the virtual address space of the target address space.
211 * virtual address space of the target task. [The
228 * ranges within target address space.
241 * virtual address space of the target task. [The
258 * range in that same address space. [Both of the
277 * virtual address space of the target task. [There
307 * of the virtual address space of the target task.
387 * Map portion of a task's address space.
[all …]
H A Dvm_map.defs120 * Allocate zero-filled memory in the address space
140 * address space of the target task.
156 * space of the target task. The current protection
177 * of the virtual address space of the target task.
190 * virtual address space of the target task. [The
203 * ranges within target address space.
212 * virtual address space of the target task. [The
225 * range in that same address space. [Both of the
262 * of the virtual address space of the target task.
330 * Map portion of a task's address space.
[all …]

12345