Home
last modified time | relevance | path

Searched defs:field (Results 1 – 25 of 39) sorted by relevance

12

/xnu-10063.101.15/bsd/sys/
H A Dqueue.h269 #define SLIST_FOREACH(var, head, field) \ argument
274 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ argument
279 #define SLIST_FOREACH_PREVPTR(var, varp, head, field) \ argument
288 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ argument
293 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument
298 #define SLIST_NEXT(elm, field) ((elm)->field.sle_next) argument
300 #define SLIST_REMOVE(head, elm, type, field) \ argument
318 #define SLIST_REMOVE_AFTER(elm, field) do { \ argument
323 #define SLIST_REMOVE_HEAD(head, field) do { \ argument
367 #define STAILQ_FOREACH(var, head, field) \ argument
[all …]
H A D_types.h87 #define __offsetof(type, field) __builtin_offsetof(type, field) argument
89 #define __offsetof(type, field) ((size_t)(&((type *)0)->field)) argument
H A Dvnode_internal.h426 #define VOPARG_OFFSET(p_type, field) \ argument
428 #define VOPARG_OFFSETOF(s_type, field) \ argument
H A Dcdefs.h1197 #define __container_of(ptr, type_t, field) __extension__({ \ argument
1204 #define __container_of_safe(ptr, type_t, field) __extension__({ \ argument
/xnu-10063.101.15/libkern/libkern/
H A Dtree.h106 #define SPLAY_LEFT(elm, field) (elm)->field.spe_left argument
107 #define SPLAY_RIGHT(elm, field) (elm)->field.spe_right argument
112 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ argument
118 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ argument
124 #define SPLAY_LINKLEFT(head, tmp, field) do { \ argument
130 #define SPLAY_LINKRIGHT(head, tmp, field) do { \ argument
136 #define SPLAY_ASSEMBLE(head, node, left, right, field) do { \ argument
145 #define SPLAY_PROTOTYPE(name, type, field, cmp) \ argument
187 #define SPLAY_GENERATE(name, type, field, cmp) \ argument
364 #define RB_LEFT(elm, field) (elm)->field.rbe_left argument
[all …]
H A DBlock_private.h45 #define _Block_set_function_pointer(field, value) \ argument
54 #define _Block_get_function_pointer(field) \ argument
65 #define _Block_set_function_pointer(field, value) \ argument
68 #define _Block_get_function_pointer(field) \ argument
234 #define _Block_get_relative_function_pointer(aBlock, field, type) \ argument
256 #define _Block_get_relative_function_pointer(aBlock, field, type) \ argument
/xnu-10063.101.15/iokit/DriverKit/
H A Dqueue_implementation.h433 #define qe_element(qe, type, field) __container_of(qe, type, field) argument
487 #define qe_foreach_element(elt, head, field) \ argument
510 #define qe_foreach_element_safe(elt, head, field) \ argument
520 #define qe_dequeue_head(head, type, field) ({ \ argument
529 #define qe_dequeue_tail(head, type, field) ({ \ argument
538 #define qe_queue_first(head, type, field) ({ \ argument
547 #define qe_queue_last(head, type, field) ({ \ argument
556 #define qe_queue_next(head, element, type, field) ({ \ argument
565 #define qe_queue_prev(head, element, type, field) ({ \ argument
752 #define queue_enter(head, elt, type, field) \ argument
[all …]
/xnu-10063.101.15/osfmk/kern/
H A Dqueue.h433 #define qe_element(qe, type, field) __container_of(qe, type, field) argument
487 #define qe_foreach_element(elt, head, field) \ argument
510 #define qe_foreach_element_safe(elt, head, field) \ argument
520 #define qe_dequeue_head(head, type, field) ({ \ argument
529 #define qe_dequeue_tail(head, type, field) ({ \ argument
538 #define qe_queue_first(head, type, field) ({ \ argument
547 #define qe_queue_last(head, type, field) ({ \ argument
556 #define qe_queue_next(head, element, type, field) ({ \ argument
565 #define qe_queue_prev(head, element, type, field) ({ \ argument
752 #define queue_enter(head, elt, type, field) \ argument
[all …]
H A Dcircle_queue.h230 #define cqe_element(qe, type, field) __container_of(qe, type, field) argument
283 #define cqe_foreach_element(elt, head, field) \ argument
306 #define cqe_foreach_element_safe(elt, head, field) \ argument
313 #define cqe_dequeue_head(head, type, field) ({ \ argument
322 #define cqe_dequeue_tail(head, type, field) ({ \ argument
331 #define cqe_queue_first(head, type, field) ({ \ argument
340 #define cqe_queue_next(elt, head, type, field) ({ \ argument
349 #define cqe_queue_last(head, type, field) ({ \ argument
H A Dpriority_queue.h231 #define priority_heap_make_comparator(name1, name2, type, field, ...) \ argument
320 #define pqe_element_fast(qe, type, field) __container_of(qe, type, field) argument
338 #define pqe_element(qe, type, field) ({ \ argument
400 #define priority_queue_destroy(pq, type, field, callback) \ argument
420 #define priority_queue_min(pq, type, field) ({ \ argument
438 #define priority_queue_max(pq, type, field) ({ \ argument
473 #define priority_queue_remove_min(pq, type, field) ({ \ argument
490 #define priority_queue_remove_max(pq, type, field) ({ \ argument
H A Dsmr.h324 #define smrq_entered_first(head, type_t, field) \ argument
334 #define smrq_entered_next(elem, field) \ argument
345 #define smrq_entered_foreach(it, head, field) \ argument
368 #define smrq_serialized_next(elem, field) \ argument
379 #define smrq_serialized_foreach(it, head, field) \ argument
394 #define smrq_serialized_foreach_safe(it, head, field) \ argument
517 #define smrq_serialized_iter(it, head, field) \ argument
530 #define smrq_serialized_iter_next(it, field) ({ \ argument
542 #define smrq_serialized_iter_erase(it, field) ({ \ argument
H A Dmpsc_queue.h184 #define mpsc_queue_element(ptr, type, field) __container_of(ptr, type, field) argument
H A Dzalloc.h847 #define zalloc_ro_update_field(zone_id, elem, field, value) ({ \ argument
951 #define zalloc_ro_update_field_atomic(zone_id, elem, field, op, value) ({ \ argument
985 #define zalloc_ro_clear_field(zone_id, elem, field) \ argument
H A Dsched_prim.h480 #define SCHED_STATS_INC(field) \ argument
/xnu-10063.101.15/bsd/skywalk/
H A Dos_sysctls_private.h149 #define X(type, field, ...) type field; argument
155 #define X(type, field, ...) type field; argument
180 #define SYSCTL_SKMEM_UPDATE_FIELD(field, value) do { \ argument
H A Dos_skywalk_private.h40 #define SK_ALIGN64_CASSERT(type, field) \ argument
/xnu-10063.101.15/bsd/sys/_types/
H A D_offsetof.h29 #define offsetof(type, field) __offsetof(type, field) argument
/xnu-10063.101.15/bsd/net/
H A Dskmem_sysctl.c38 #define X(type, field, default_value) \ in skmem_sysctl_init() argument
H A Dlacp.h259 lacp_uint16_set(uint8_t * field, uint16_t value) in lacp_uint16_set()
273 lacp_uint16_get(const uint8_t * field) in lacp_uint16_get()
287 lacp_uint32_set(uint8_t * field, uint32_t value) in lacp_uint32_set()
301 lacp_uint32_get(const uint8_t * field) in lacp_uint32_get()
H A Dnat464_utils.c249 #define PTR_IP(field) ((int32_t)offsetof(struct ip, field)) argument
250 #define PTR_IP6(field) ((int32_t)offsetof(struct ip6_hdr, field)) argument
/xnu-10063.101.15/osfmk/arm/
H A Dmachine_cpuid.h42 arm_feature_bits_t field; member
61 syscp_ID_instructions_feat_1_reg field; member
/xnu-10063.101.15/osfmk/vm/
H A Dvm_page.h612 #define vm_page_queue_enter(head, elt, field) \ argument
638 #define __DEBUG_CHECK_BUDDIES(__prev, __p, field) \ argument
662 #define __DEBUG_CHECK_BUDDIES(__prev, __p, field) argument
790 #define vm_page_queue_enter_first(head, elt, field) \ argument
821 #define vm_page_queue_remove(head, elt, field) \ argument
858 #define vm_page_queue_remove_first(head, entry, field) \ argument
1004 #define vm_page_queue_iterate(head, elt, field) \ argument
/xnu-10063.101.15/libkern/coreanalytics/
H A Dcoreanalytics_shim.cpp87 OSSharedPtr<OSObject> field = nullptr; in serialize_event_field() local
/xnu-10063.101.15/tests/
H A Dpriority_queue.cpp15 #define __container_of(ptr, type, field) __extension__({ \ argument
/xnu-10063.101.15/bsd/netinet/
H A Dtcp_timer.c456 #define VERIFY_NEXT_LINK(elm, field) do { \ argument
463 #define VERIFY_PREV_LINK(elm, field) do { \ argument

12