Searched refs:ndpr (Results 1 – 3 of 3) sorted by relevance
3086 ndpr_addref(struct nd_prefix *ndpr) in ndpr_addref() argument3088 NDPR_REF_LOCK_SPIN(ndpr); in ndpr_addref()3089 if (++ndpr->ndpr_refcount == 0) { in ndpr_addref()3090 panic("%s: ndpr %p wraparound refcnt", __func__, ndpr); in ndpr_addref()3092 } else if (ndpr->ndpr_trace != NULL) { in ndpr_addref()3093 (*ndpr->ndpr_trace)(ndpr, TRUE); in ndpr_addref()3095 NDPR_REF_UNLOCK(ndpr); in ndpr_addref()3099 ndpr_remref(struct nd_prefix *ndpr) in ndpr_remref() argument3101 NDPR_REF_LOCK_SPIN(ndpr); in ndpr_remref()3102 if (ndpr->ndpr_refcount == 0) { in ndpr_remref()[all …]
947 extern int in6_init_prefix_ltimes(struct nd_prefix *ndpr);
1122 ndpr = kern.GetValueFromAddress(cmd_args[0], 'nd_prefix_dbg *')1124 out_string += ndpr_summary_format_string.format("Total holds : ", ndpr.ndpr_refhold_cnt)1125 out_string += ndpr_summary_format_string.format("Total releases : ", ndpr.ndpr_refrele_cnt)1130 kgm_pc = ndpr.ndpr_refhold[cnt].pc[ix]1133 … out_string += "\nHold [" + str(int(cnt)) + "] (thread " + hex(ndpr.ndpr_refhold[cnt].th) + "):\n"1143 kgm_pc = ndpr.ndpr_refrele[cnt].pc[ix]1146 …out_string += "\nRelease [" + str(int(cnt)) + "] (thread " + hex(ndpr.ndpr_refrele[cnt].th) + "):\…