Home
last modified time | relevance | path

Searched refs:container_of (Results 1 – 7 of 7) sorted by relevance

/xnu-11215/bsd/skywalk/lib/
H A Dcuckoo_hashtable.h58 #ifndef container_of
59 #define container_of(ptr, type, member) \ macro
H A Dcuckoo_hashtable_test.c95 struct cht_obj *co = container_of(node, struct cht_obj, co_cnode); in cht_obj_cmp__()
116 struct cht_obj *co = container_of(node, struct cht_obj, co_cnode); in cht_obj_retain__()
129 struct cht_obj *co = container_of(node, struct cht_obj, co_cnode); in cht_obj_release__()
275 co = container_of(curr_node, struct cht_obj, co_cnode); in cht_basic_tests()
395 co = container_of(curr_node, struct cht_obj, co_cnode); in cht_concurrent_add_check()
/xnu-11215/libkern/libkern/c++/
H A DOSKext.h141 #ifndef container_of
142 #define container_of(ptr, type, member) ((type*)(((uintptr_t)ptr) - offsetof(type, member))) macro
/xnu-11215/bsd/skywalk/core/
H A Dskywalk_common.h77 #ifndef container_of
78 #define container_of(ptr, type, member) \ macro
/xnu-11215/bsd/skywalk/mem/
H A Dskmem_arena.c1945 container_of(ami, struct kern_channel, ch_mmap)); in skmem_arena_mib_get_stats()
/xnu-11215/bsd/net/
H A Dnecp_client.c11583 …info * __single nai = __unsafe_forge_single(struct necp_arena_info *, container_of(arena_info, str… in necp_client_get_proc_pid_from_arena_info()
11586 …ata * __single fd_data = __unsafe_forge_single(struct necp_fd_data *, container_of(arena_info, str… in necp_client_get_proc_pid_from_arena_info()
/xnu-11215/libkern/c++/
H A DOSKext.cpp8724 OSKextGrabPgoStruct *s = container_of(p, OSKextGrabPgoStruct, list_head);