Home
last modified time | relevance | path

Searched refs:nddr (Results 1 – 2 of 2) sorted by relevance

/xnu-8792.41.9/bsd/netinet6/
H A Dnd6_rtr.c2876 nddr_addref(struct nd_defrouter *nddr) in nddr_addref() argument
2878 NDDR_REF_LOCK_SPIN(nddr); in nddr_addref()
2879 if (++nddr->nddr_refcount == 0) { in nddr_addref()
2880 panic("%s: nddr %p wraparound refcnt", __func__, nddr); in nddr_addref()
2882 } else if (nddr->nddr_trace != NULL) { in nddr_addref()
2883 (*nddr->nddr_trace)(nddr, TRUE); in nddr_addref()
2885 NDDR_REF_UNLOCK(nddr); in nddr_addref()
2889 nddr_remref(struct nd_defrouter *nddr) in nddr_remref() argument
2891 NDDR_REF_LOCK_SPIN(nddr); in nddr_remref()
2892 if (nddr->nddr_refcount == 0) { in nddr_remref()
[all …]
/xnu-8792.41.9/tools/lldbmacros/
H A Dnet.py1305 nddr = kern.GetValueFromAddress(cmd_args[0], 'nd_defrouter_dbg *')
1307 out_string += nddr_summary_format_string.format("Total holds : ", nddr.nddr_refhold_cnt)
1308 out_string += nddr_summary_format_string.format("Total releases : ", nddr.nddr_refrele_cnt)
1313 kgm_pc = nddr.nddr_refhold[cnt].pc[ix]
1316 … out_string += "\nHold [" + str(int(cnt)) + "] (thread " + hex(nddr.nddr_refhold[cnt].th) + "):\n"
1326 kgm_pc = nddr.nddr_refrele[cnt].pc[ix]
1329 …out_string += "\nRelease [" + str(int(cnt)) + "] (thread " + hex(nddr.nddr_refrele[cnt].th) + "):\…