Lines Matching refs:ops
106 struct nl_cache_ops *ops; in event_input() local
124 ops = mngr->cm_assocs[i].ca_cache->c_ops; in event_input()
125 for (n = 0; ops->co_msgtypes[n].mt_id >= 0; n++) in event_input()
126 if (ops->co_msgtypes[n].mt_id == type) in event_input()
138 return nl_cache_parse(ops, NULL, nlmsg_hdr(msg), &p); in event_input()
212 struct nl_cache_ops *ops; in nl_cache_mngr_add() local
217 ops = nl_cache_ops_lookup(name); in nl_cache_mngr_add()
218 if (!ops) in nl_cache_mngr_add()
221 if (ops->co_protocol != mngr->cm_protocol) in nl_cache_mngr_add()
224 if (ops->co_groups == NULL) in nl_cache_mngr_add()
229 mngr->cm_assocs[i].ca_cache->c_ops == ops) in nl_cache_mngr_add()
251 cache = nl_cache_alloc(ops); in nl_cache_mngr_add()
255 for (grp = ops->co_groups; grp->ag_group; grp++) { in nl_cache_mngr_add()
279 for (grp = ops->co_groups; grp->ag_group; grp++) in nl_cache_mngr_add()