Lines Matching refs:cm_assocs
123 if (mngr->cm_assocs[i].ca_cache) { in event_input()
124 ops = mngr->cm_assocs[i].ca_cache->c_ops; in event_input()
135 msg, mngr->cm_assocs[i].ca_cache); in event_input()
136 p.pp_arg = &mngr->cm_assocs[i]; in event_input()
166 mngr->cm_assocs = calloc(mngr->cm_nassocs, in nl_cache_mngr_alloc()
168 if (!mngr->cm_assocs) in nl_cache_mngr_alloc()
228 if (mngr->cm_assocs[i].ca_cache && in nl_cache_mngr_add()
229 mngr->cm_assocs[i].ca_cache->c_ops == ops) in nl_cache_mngr_add()
234 if (!mngr->cm_assocs[i].ca_cache) in nl_cache_mngr_add()
239 mngr->cm_assocs = realloc(mngr->cm_assocs, in nl_cache_mngr_add()
242 if (mngr->cm_assocs == NULL) in nl_cache_mngr_add()
265 mngr->cm_assocs[i].ca_cache = cache; in nl_cache_mngr_add()
266 mngr->cm_assocs[i].ca_change = cb; in nl_cache_mngr_add()
267 mngr->cm_assocs[i].ca_change_data = data; in nl_cache_mngr_add()
374 if (mngr->cm_assocs[i].ca_cache) in nl_cache_mngr_free()
375 nl_cache_free(mngr->cm_assocs[i].ca_cache); in nl_cache_mngr_free()
377 free(mngr->cm_assocs); in nl_cache_mngr_free()