Home
last modified time | relevance | path

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

/xnu-11215.1.10/bsd/netinet6/
H A Dnd6_rtr.c2957 nddr_addref(struct nd_defrouter *nddr) in nddr_addref() argument
2959 NDDR_REF_LOCK_SPIN(nddr); in nddr_addref()
2960 if (++nddr->nddr_refcount == 0) { in nddr_addref()
2961 panic("%s: nddr %p wraparound refcnt", __func__, nddr); in nddr_addref()
2963 } else if (nddr->nddr_trace != NULL) { in nddr_addref()
2964 (*nddr->nddr_trace)(nddr, TRUE); in nddr_addref()
2966 NDDR_REF_UNLOCK(nddr); in nddr_addref()
2970 nddr_remref(struct nd_defrouter *nddr) in nddr_remref() argument
2972 NDDR_REF_LOCK_SPIN(nddr); in nddr_remref()
2973 if (nddr->nddr_refcount == 0) { in nddr_remref()
[all …]
/xnu-11215.1.10/tools/lldbmacros/
H A Dnet.py1165 nddr = kern.GetValueFromAddress(cmd_args[0], 'nd_defrouter_dbg *')
1167 out_string += nddr_summary_format_string.format("Total holds : ", nddr.nddr_refhold_cnt)
1168 out_string += nddr_summary_format_string.format("Total releases : ", nddr.nddr_refrele_cnt)
1173 kgm_pc = nddr.nddr_refhold[cnt].pc[ix]
1176 … out_string += "\nHold [" + str(int(cnt)) + "] (thread " + hex(nddr.nddr_refhold[cnt].th) + "):\n"
1186 kgm_pc = nddr.nddr_refrele[cnt].pc[ix]
1189 …out_string += "\nRelease [" + str(int(cnt)) + "] (thread " + hex(nddr.nddr_refrele[cnt].th) + "):\…