Home
last modified time | relevance | path

Searched refs:table (Results 1 – 25 of 84) sorted by relevance

1234

/xnu-11215/osfmk/kern/
H A Dcompact_id.c37 LCK_SLEEP_DEFAULT, (event_t)(table), (table)->cidt_allocator, \
105 table->cidt_waiters = true; in compact_id_table_grow()
130 compact_id_table_lock(table); in compact_id_table_grow()
132 table->cidt_allocator = NULL; in compact_id_table_grow()
133 if (table->cidt_waiters) { in compact_id_table_grow()
134 table->cidt_waiters = false; in compact_id_table_grow()
169 table->cidt_count++; in compact_id_get_locked()
189 compact_id_table_lock(table); in compact_id_get()
203 compact_id_table_lock(table); in compact_id_put()
210 table->cidt_count--; in compact_id_put()
[all …]
H A Dcompact_id.h105 compact_id_table_t table);
108 compact_id_table_t table,
112 compact_id_table_t table,
117 compact_id_table_t table,
122 compact_id_table_t table,
126 compact_id_table_t table,
131 compact_id_table_t table);
134 compact_id_table_t table);
H A Dipc_misc.c158 ipc_entry_table_t table; variable
169 table = is_active_table(space);
170 entry = ipc_entry_table_base(table);
174 entry = ipc_entry_table_next_elem(table, entry);
198 entry = ipc_entry_table_next_elem(table, entry);
215 table = is_active_table(space);
216 entry = ipc_entry_table_get_nocheck(table, index);
/xnu-11215/osfmk/ipc/
H A Dipc_hash.c230 if (hdist > table[hindex].ie_dist) { in ipc_hash_table_lookup()
286 assert(entry == &table[index]); in ipc_hash_table_insert()
315 table[hindex].ie_index = index; in ipc_hash_table_insert()
316 table[hindex].ie_dist = hdist; in ipc_hash_table_insert()
343 assert(entry == &table[index]); in ipc_hash_table_delete()
388 index = table[dindex].ie_index; in ipc_hash_table_delete()
389 dist = table[dindex].ie_dist; in ipc_hash_table_delete()
391 table[hindex].ie_index = 0; in ipc_hash_table_delete()
392 table[hindex].ie_dist = 0; in ipc_hash_table_delete()
416 table[hindex].ie_index = index; in ipc_hash_table_delete()
[all …]
H A Dipc_space.c127 ipc_entry_table_free_noclear(table); in ipc_space_free_table()
136 base = ipc_entry_table_base(table); in ipc_space_retire_table()
137 size = ipc_entry_table_size(table); in ipc_space_retire_table()
138 base->ie_self = table; in ipc_space_retire_table()
210 ipc_entry_t table, in ipc_space_rand_freelist() argument
236 ipc_entry_t entry = &table[curr]; in ipc_space_rand_freelist()
295 ipc_entry_table_t table; in ipc_space_create() local
421 ipc_entry_table_t table; in ipc_space_terminate() local
471 ipc_space_retire_table(table); in ipc_space_terminate()
558 ipc_entry_table_t table; in ipc_space_check_table_size_limit() local
[all …]
H A Dipc_entry.c112 ipc_entry_table_t table; in ipc_entry_lookup() local
115 table = is_active_table(space); in ipc_entry_lookup()
151 ipc_entry_table_t table; in ipc_entries_hold() local
159 table = is_active_table(space); in ipc_entries_hold()
205 ipc_entry_table_t table; in ipc_entry_claim() local
210 table = is_active_table(space); in ipc_entry_claim()
342 ipc_entry_table_t table; in ipc_entry_alloc_name() local
456 ipc_entry_table_t table; in ipc_entry_dealloc() local
473 table = is_active_table(space); in ipc_entry_dealloc()
504 ipc_entry_table_t table; in ipc_entry_modified() local
[all …]
H A Dipc_space.h170 ipc_entry_table_t table; in is_active_table() local
172 table = smr_serialized_load(&space->is_table); in is_active_table()
173 assert(table != NULL); in is_active_table()
174 return table; in is_active_table()
252 ipc_entry_table_t table);
280 ipc_entry_t table,
H A Dipc_hash.h107 ipc_entry_table_t table,
114 ipc_entry_table_t table,
121 ipc_entry_table_t table,
H A Dmach_debug.c157 ipc_entry_table_t table; in mach_port_space_info() local
187 table = is_active_table(space); in mach_port_space_info()
188 tsize = ipc_entry_table_count(table); in mach_port_space_info()
228 ipc_entry_t entry = ipc_entry_table_get_nocheck(table, index); in mach_port_space_info()
265 table = is_active_table(space); in mach_port_space_info()
266 if (tsize < ipc_entry_table_count(table)) { in mach_port_space_info()
269 tsize = ipc_entry_table_count(table); in mach_port_space_info()
/xnu-11215/bsd/netinet/
H A Dcbrtf.c408 const struct cbrt_table_entry *table; in cbrtf() local
429 table = cbrt_table + mantissa_key + result.x % 3; in cbrtf()
432 r = ((double)xabs.f - table->x) * (table->recip_x); in cbrtf()
440 table = cbrt_table + mantissa_key + result.x % 3; in cbrtf()
443 r = ((double)xabs.f - table->x) * (table->recip_x); in cbrtf()
452 poly *= table->cbrt_x; in cbrtf()
/xnu-11215/libkern/zlib/
H A Dinftrees.c61 code FAR * FAR *table, unsigned FAR *bits, in inflate_table() argument
145 *(*table)++ = this; /* make a table to force an error */ in inflate_table()
146 *(*table)++ = this; in inflate_table()
226 next = *table; /* current table to fill in */ in inflate_table()
307 (*table)[low].op = (unsigned char)curr; in inflate_table()
308 (*table)[low].bits = (unsigned char)root; in inflate_table()
309 (*table)[low].val = (unsigned short)(next - *table); in inflate_table()
328 next = *table; in inflate_table()
348 *table += used; in inflate_table()
H A Dzutil.c231 local ptr_table table[MAX_PTR]; variable
255 table[next_ptr].org_ptr = buf; in zcalloc()
260 table[next_ptr++].new_ptr = buf; in zcalloc()
274 if (ptr != table[n].new_ptr) continue; in zcfree()
276 farfree(table[n].org_ptr); in zcfree()
278 table[n-1] = table[n]; in zcfree()
/xnu-11215/tools/lldbmacros/
H A Dworkload.py34 table = kern.globals.workload_config_boot.wlcc_hashtbl
37 if table != 0:
39 for entry in IterateListEntry(table[i], 'wce_link'):
56 table = kern.globals.workload_config_boot.wlcc_hashtbl
59 if table != 0:
61 for entry in IterateListEntry(table[i], 'wce_link'):
H A Dexclaves.py41 with O.table(GetAllConclavesSummary.header):
133 table = kern.GetValueAsType(cmd_args[0], 'ht_t')
134 bucket = Cast(table.ht_bucket, 'ht_bucket_t *')
136 table = kern.GetValueFromAddress(cmd_args[0], "ht_t *")
137 bucket = Cast(table.ht_bucket, 'ht_bucket_t *')
139 with O.table(GetEsyncSummary.header, indent=True):
140 for idx in range(int(table.ht_size)):
H A Dkevent.py144 with O.table(GetKnoteSummary.header):
208 with O.table(GetKqfileSummary.header):
210 with O.table(GetKnoteSummary.header):
238 with O.table(GetKqueueSummary.header):
241 with O.table(GetWorkqueueThreadRequestSummary.header):
245 with O.table(GetKnoteSummary.header):
279 with O.table(GetKqworkloopSummary.header):
285 with O.table(GetKnoteSummary.header):
329 with O.table(GetKqueueSummary.header):
345 with O.table(GetKnoteSummary.header):
[all …]
H A Dturnstile.py103 with O.table(GetWaitqSummary.header):
126 with O.table(GetTurnstileSummary.header):
135 with O.table(GetTurnstileSummary.header):
148 with O.table(GetTurnstileSummary.header):
174 with O.table(GetTurnstileSummary.header):
191 with O.table(GetTurnstileSummary.header):
205 with O.table(GetTurnstileSummary.header):
H A Dworkqueue.py142 with O.table(GetWQThreadSummary.header):
161 with O.table(GetWorkqueueSummary.header):
164 with O.table(GetWorkqueueThreadRequestSummary.header, indent=True):
183 with O.table(GetWQThreadSummary.header, indent=True):
199 with O.table(GetWorkqueueSummary.header):
/xnu-11215/iokit/Tests/
H A DTests.cpp1659 table = result; in IOServiceMatchingSharedPtrTests()
1663 assert(result2 == table); in IOServiceMatchingSharedPtrTests()
1673 table = result; in IOServiceMatchingSharedPtrTests()
1677 assert(result2 == table); in IOServiceMatchingSharedPtrTests()
1687 table = result; in IOServiceMatchingSharedPtrTests()
1691 assert(result2 == table); in IOServiceMatchingSharedPtrTests()
1701 table = result; in IOServiceMatchingSharedPtrTests()
1715 table = result; in IOServiceMatchingSharedPtrTests()
1729 table = result; in IOServiceMatchingSharedPtrTests()
1743 table = result; in IOServiceMatchingSharedPtrTests()
[all …]
/xnu-11215/tests/
H A Dextract_right_soft_fail.c27 ipc_info_name_array_t table; in test_extract_immovable_task_port() local
49 kr = mach_port_space_info(tport, &space_info, &table, &tableCount, &tree, &treeCount); in test_extract_immovable_task_port()
53 T_LOG("Searching for task port..name: 0x%x", table[i].iin_name); in test_extract_immovable_task_port()
54 kr = mach_port_kernel_object(tport, table[i].iin_name, &kotype, &kobject); in test_extract_immovable_task_port()
56 tport_name = table[i].iin_name; in test_extract_immovable_task_port()
60 T_LOG("mach_port_kernel_object() failed on name 0x%x, kr: 0x%x", table[i].iin_name, kr); in test_extract_immovable_task_port()
73 kr = mach_port_mod_refs(tport, tport_name, MACH_PORT_RIGHT_SEND, -table[tport_idx].iin_urefs); in test_extract_immovable_task_port()
H A Dexception_ports_info.c40 ipc_info_name_array_t table; variable
130 T_QUIET; T_EXPECT_MACH_SUCCESS(mach_port_space_info(mach_task_self(), &info_space, &table,
134 if (table[i].iin_name == exc_port1) {
135 exc_port1_kaddr = table[i].iin_object;
137 if (table[i].iin_name == exc_port2) {
138 exc_port2_kaddr = table[i].iin_object;
140 if (table[i].iin_name == exc_port3) {
141 exc_port3_kaddr = table[i].iin_object;
H A Dkernel_inspection.c111 ipc_info_name_array_t table; in attempt_kernel_inspection() local
114 T_EXPECT_MACH_SUCCESS(mach_port_space_info(task, &info_space, &table, in attempt_kernel_inspection()
118 (mach_vm_address_t)(uintptr_t)table, in attempt_kernel_inspection()
119 tblcnt * sizeof(*table)); in attempt_kernel_inspection()
/xnu-11215/iokit/Kernel/
H A DIOService.cpp6052 OSDictionary * table = ctx->table; in instanceMatch() local
6767 if (table) { in serviceMatching()
6781 if (table) { in serviceMatching()
6800 table = serviceMatching( str, table ); in serviceMatching()
6811 if (table) { in serviceMatching()
6826 if (table) { in nameMatching()
6839 if (table) { in nameMatching()
6858 table = nameMatching( str, table ); in nameMatching()
6869 if (table) { in nameMatching()
6881 table = serviceMatching( gIOResourcesKey, table ); in resourceMatching()
[all …]
/xnu-11215/tests/vm/
H A Dfault_throughput.lua77 table.insert(test_threads, i)
82 table.insert(test_threads, i)
86 table.insert(test_threads, i + 1)
91 table.insert(test_threads, cpu_workers)
/xnu-11215/iokit/IOKit/
H A DIOService.h991 OSDictionary * table = NULL );
1002 OSSharedPtr<OSDictionary> table);
1013 OSDictionary * table = NULL );
1024 OSSharedPtr<OSDictionary> table);
1035 OSDictionary * table = NULL );
1046 OSSharedPtr<OSDictionary> table);
1057 OSDictionary * table = NULL );
1079 OSDictionary * table = NULL );
1101 OSDictionary * table = NULL );
1125 OSDictionary * table = NULL );
[all …]
/xnu-11215/bsd/libkern/
H A Dscanc.c66 scanc(size_t size, u_char *cp, const u_char table[], u_char mask0) in scanc() argument
72 for (end = &cp[size]; cp != end && (table[*cp] & mask) == 0; ++cp) { in scanc()

1234