Home
last modified time | relevance | path

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

/xnu-12377.41.6/bsd/netinet6/
H A Dnd6_rtr.c2994 nddr_addref(struct nd_defrouter *nddr) in nddr_addref() argument
2996 NDDR_REF_LOCK_SPIN(nddr); in nddr_addref()
2997 if (++nddr->nddr_refcount == 0) { in nddr_addref()
2998 panic("%s: nddr %p wraparound refcnt", __func__, nddr); in nddr_addref()
3000 } else if (nddr->nddr_trace != NULL) { in nddr_addref()
3001 (*nddr->nddr_trace)(nddr, TRUE); in nddr_addref()
3003 NDDR_REF_UNLOCK(nddr); in nddr_addref()
3007 nddr_remref(struct nd_defrouter *nddr) in nddr_remref() argument
3009 NDDR_REF_LOCK_SPIN(nddr); in nddr_remref()
3010 if (nddr->nddr_refcount == 0) { in nddr_remref()
[all …]
/xnu-12377.41.6/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) + "):\…