| /xnu-11215/osfmk/kern/ |
| H A D | ipc_misc.c | 154 bool (^cb)(size_t i, mach_port_name_t, struct fileglob *)) 187 if (cb && !cb(count, name, fg)) { 188 cb = NULL;
|
| H A D | exclaves_xnuproxy.h | 61 exclaves_xnuproxy_resource_info(void (^cb)(const char *name, const char *domain, 78 uint32_t npages, kern_return_t (^cb)(uint64_t base, uint32_t npages)); 90 uint32_t npages, kern_return_t (^cb)(uint64_t base, uint32_t npages));
|
| H A D | workload_config.h | 138 extern void workload_config_iterate(bool (^cb)(const char *id, 150 bool (^cb)(const char *phase, const bool is_default,
|
| H A D | smr.h | 741 extern void smr_call(smr_t smr, smr_node_t node, vm_size_t size, smr_cb_t cb); 1055 #define smr_ipc_call(n, sz, cb) smr_call(&smr_ipc, n, sz, cb) argument 1071 #define smr_proc_task_call(n, sz, cb) smr_call(&smr_proc_task, n, sz, cb) argument 1087 #define smr_iokit_call(n, sz, cb) smr_call(&smr_iokit, n, sz, cb) argument 1103 #define smr_oslog_call(n, sz, cb) smr_call(&smr_oslog, n, sz, cb) argument
|
| H A D | workload_config.c | 457 workload_config_iterate(bool (^cb)(const char *, const void *)) 471 if (cb(entry->wce_id, entry)) { in LIST_FOREACH() 484 bool (^cb)(const char *phase, const bool is_default, 492 if (cb(phase_entry->wpe_phase, is_default,
|
| H A D | ipc_misc.h | 39 bool (^cb)(size_t i, mach_port_name_t, struct fileglob *));
|
| H A D | compact_id.c | 220 bool (^cb)(void *v)) 238 if (!cb(arr[cid])) {
|
| H A D | exclaves_shared_memory.h | 188 void (^cb)(uint64_t physical_address));
|
| H A D | exclaves_shared_memory.c | 274 void (^cb)(uint64_t)) 307 cb(item);
|
| H A D | compact_id.h | 128 bool (^cb)(void *v));
|
| H A D | exclaves_resource.c | 214 table_get(table_t *table, const void *key, size_t key_len, bool (^cb)(void *)) 224 if (cb(elem->i_value)) { in qe_foreach_element() 267 bool (^cb)(const void *key, size_t key_len, void *value)) 274 if (cb(elem->i_key, elem->i_key_len, elem->i_value)) { in qe_foreach_element() 321 iterate_domains(bool (^cb)(exclaves_resource_domain_t *)) 326 return cb(domain); 332 bool (^cb)(exclaves_resource_t *)) 337 return cb(resource);
|
| H A D | task_ref.c | 150 walk_kext_callstack(int (^cb)(uintptr_t)) 192 if (cb(retaddr) != 0) {
|
| H A D | startup.h | 672 #define SYSCTL_TEST_REGISTER(name, cb) \ argument 676 .st_func = &cb, \
|
| H A D | exclaves_xnuproxy.c | 417 exclaves_xnuproxy_resource_info(void (^cb)(const char *name, const char *domain, 431 cb(name_copy, domain_copy,
|
| H A D | priority_queue.h | 672 _priority_queue_destroy(pqueue_t pq, uintptr_t offset, void (^cb)(void *)); \
|
| /xnu-11215/bsd/skywalk/packet/ |
| H A D | pbufpool_kern.c | 326 uint32_t *size, alloc_cb_func_t cb, const void *ctx, uint32_t skmflag) in kern_pbufpool_alloc_batch_common() argument 329 bufcnt > pp->pp_max_frags || (cb == NULL && ctx != NULL))) { in kern_pbufpool_alloc_batch_common() 339 cb, ctx, skmflag); in kern_pbufpool_alloc_batch_common() 353 uint32_t *size, alloc_cb_func_t cb, const void *ctx) in kern_pbufpool_alloc_batch_callback() argument 356 size, cb, ctx, SKMEM_SLEEP); in kern_pbufpool_alloc_batch_callback() 371 uint32_t *size, alloc_cb_func_t cb, const void *ctx) in kern_pbufpool_alloc_batch_nosleep_callback() argument 374 size, cb, ctx, SKMEM_NOSLEEP); in kern_pbufpool_alloc_batch_nosleep_callback()
|
| H A D | pbufpool.c | 2060 alloc_cb_func_t cb, const void *ctx, uint32_t skmflag) in pp_alloc_packet_common() argument 2116 if (cb != NULL) { in pp_alloc_packet_common() 2117 (cb)(*array_cp, (num - need), ctx); in pp_alloc_packet_common() 2146 alloc_cb_func_t cb, const void *ctx, uint32_t skmflag) in pp_alloc_packet_batch() argument 2161 cb, ctx, skmflag); in pp_alloc_packet_batch() 2183 struct pktq *pktq, uint32_t num, alloc_cb_func_t cb, const void *ctx, in pp_alloc_pktq() argument 2236 if (cb != NULL) { in pp_alloc_pktq() 2237 (cb)((uint64_t)kpkt, (num - need), ctx); in pp_alloc_pktq()
|
| H A D | os_packet.h | 871 alloc_cb_func_t cb, const void *ctx); 879 alloc_cb_func_t cb, const void *ctx);
|
| /xnu-11215/osfmk/device/ |
| H A D | subrs.c | 372 int ca, cb; in strbufcmp_impl() local 378 cb = b[i]; in strbufcmp_impl() 379 if (ca != cb) { in strbufcmp_impl() 380 return ca - cb; /* includes case when in strbufcmp_impl() 473 int ca, cb; in strbufcasecmp_impl() local 479 cb = tolower(b[i]); in strbufcasecmp_impl() 480 if (ca != cb) { in strbufcasecmp_impl() 481 return ca - cb; /* includes case when in strbufcasecmp_impl()
|
| /xnu-11215/san/memory/ |
| H A D | kasan.c | 393 kasan_traverse_mappings(pmap_traverse_callback cb, void *ctx) in kasan_traverse_mappings() argument 409 cb(start, end, ctx); in kasan_traverse_mappings() 415 cb(start, end, ctx); in kasan_traverse_mappings()
|
| /xnu-11215/osfmk/kdp/ |
| H A D | sk_core.c | 413 papt_walk(papt_walk_callback cb, void *context) in papt_walk() argument 444 kr = cb(seg_start, seg_end, context); in papt_walk() 458 kr = cb(seg_start, seg_end, context); in papt_walk()
|
| /xnu-11215/bsd/net/ |
| H A D | dlil.h | 368 extern int ifnet_set_flowswitch_rx_callback(ifnet_t ifp, ifnet_fsw_rx_cb_t cb, void *arg); 375 ifnet_detach_notify_cb_t cb, void *arg); 379 ifnet_detach_notify_cb_t cb, void *arg);
|
| /xnu-11215/libkern/c++/ |
| H A D | priority_queue.cpp | 420 _priority_queue_destroy(queue_t que, uintptr_t offset, void (^cb)(void *e)) \ 422 pqueue_t::destroy(que, offset, cb); \
|
| /xnu-11215/osfmk/arm64/ |
| H A D | monotonic_arm64.c | 550 void (^cb)(unsigned int) = blk; in _broadcast_block_trampoline() local 555 cb(topo->cpus[cpu].cluster_id); in _broadcast_block_trampoline() 561 _broadcast_each_cluster(void (^cb)(unsigned int cluster_id)) 563 cpu_broadcast_xcall_simple(TRUE, _broadcast_block_trampoline, cb);
|
| /xnu-11215/tests/ |
| H A D | stackshot_accuracy.m | 40 child_recurse(int r, int spin, void (^cb)(void)) 43 child_recurse(r - 1, spin, cb); 46 cb();
|