Searched refs:ndpr (Results 1 – 3 of 3) sorted by relevance
3123 ndpr_addref(struct nd_prefix *ndpr) in ndpr_addref() argument3125 NDPR_REF_LOCK_SPIN(ndpr); in ndpr_addref()3126 if (++ndpr->ndpr_refcount == 0) { in ndpr_addref()3127 panic("%s: ndpr %p wraparound refcnt", __func__, ndpr); in ndpr_addref()3129 } else if (ndpr->ndpr_trace != NULL) { in ndpr_addref()3130 (*ndpr->ndpr_trace)(ndpr, TRUE); in ndpr_addref()3132 NDPR_REF_UNLOCK(ndpr); in ndpr_addref()3136 ndpr_remref(struct nd_prefix *ndpr) in ndpr_remref() argument3138 NDPR_REF_LOCK_SPIN(ndpr); in ndpr_remref()3139 if (ndpr->ndpr_refcount == 0) { in ndpr_remref()[all …]
979 extern int in6_init_prefix_ltimes(struct nd_prefix *ndpr);
1116 ndpr = kern.GetValueFromAddress(cmd_args[0], 'nd_prefix_dbg *')1118 out_string += ndpr_summary_format_string.format("Total holds : ", ndpr.ndpr_refhold_cnt)1119 out_string += ndpr_summary_format_string.format("Total releases : ", ndpr.ndpr_refrele_cnt)1124 kgm_pc = ndpr.ndpr_refhold[cnt].pc[ix]1127 … out_string += "\nHold [" + str(int(cnt)) + "] (thread " + hex(ndpr.ndpr_refhold[cnt].th) + "):\n"1137 kgm_pc = ndpr.ndpr_refrele[cnt].pc[ix]1140 …out_string += "\nRelease [" + str(int(cnt)) + "] (thread " + hex(ndpr.ndpr_refrele[cnt].th) + "):\…