Home
last modified time | relevance | path

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

/xnu-12377.61.12/bsd/netinet6/
H A Dnd6_rtr.c3030 nddr_addref(struct nd_defrouter *nddr) in nddr_addref() argument
3032 NDDR_REF_LOCK_SPIN(nddr); in nddr_addref()
3033 if (++nddr->nddr_refcount == 0) { in nddr_addref()
3034 panic("%s: nddr %p wraparound refcnt", __func__, nddr); in nddr_addref()
3036 } else if (nddr->nddr_trace != NULL) { in nddr_addref()
3037 (*nddr->nddr_trace)(nddr, TRUE); in nddr_addref()
3039 NDDR_REF_UNLOCK(nddr); in nddr_addref()
3043 nddr_remref(struct nd_defrouter *nddr) in nddr_remref() argument
3045 NDDR_REF_LOCK_SPIN(nddr); in nddr_remref()
3046 if (nddr->nddr_refcount == 0) { in nddr_remref()
[all …]
/xnu-12377.61.12/tools/lldbmacros/
H A Dnet.py1159 nddr = kern.GetValueFromAddress(cmd_args[0], 'nd_defrouter_dbg *')
1161 out_string += nddr_summary_format_string.format("Total holds : ", nddr.nddr_refhold_cnt)
1162 out_string += nddr_summary_format_string.format("Total releases : ", nddr.nddr_refrele_cnt)
1167 kgm_pc = nddr.nddr_refhold[cnt].pc[ix]
1170 … out_string += "\nHold [" + str(int(cnt)) + "] (thread " + hex(nddr.nddr_refhold[cnt].th) + "):\n"
1180 kgm_pc = nddr.nddr_refrele[cnt].pc[ix]
1183 …out_string += "\nRelease [" + str(int(cnt)) + "] (thread " + hex(nddr.nddr_refrele[cnt].th) + "):\…