Searched refs:c_ops (Results 1 – 14 of 14) sorted by relevance
74 if (cache->c_ops == NULL) in nl_cache_nitems_filter()77 ops = cache->c_ops->co_obj_ops; in nl_cache_nitems_filter()105 return cache->c_ops; in nl_cache_get_ops()182 cache->c_ops = ops; in nl_cache_alloc()244 cache = nl_cache_alloc(orig->c_ops); in nl_cache_subset()248 ops = orig->c_ops->co_obj_ops; in nl_cache_subset()328 if (cache->c_ops->co_obj_ops != obj->ce_ops) in nl_cache_add()355 if (cache->c_ops->co_obj_ops != obj->ce_ops) in nl_cache_move()444 if (cache->c_ops->co_request_update == NULL) in nl_cache_request_full_dump()447 return cache->c_ops->co_request_update(cache, sk); in nl_cache_request_full_dump()[all …]
194 ops = cache_ops_lookup_for_obj(cache->c_ops->co_obj_ops); in nl_cache_mngt_provide()213 ops = cache_ops_lookup_for_obj(cache->c_ops->co_obj_ops); in nl_cache_mngt_unprovide()
124 ops = mngr->cm_assocs[i].ca_cache->c_ops; in event_input()229 mngr->cm_assocs[i].ca_cache->c_ops == ops) in nl_cache_mngr_add()
93 if (!class->c_ops) in rtnl_class_lookup_ops()94 class->c_ops = __rtnl_class_lookup_ops(class->c_kind); in rtnl_class_lookup_ops()96 return class->c_ops; in rtnl_class_lookup_ops()
94 if (!cls->c_ops) in rtnl_cls_lookup_ops()95 cls->c_ops = __rtnl_cls_lookup_ops(cls->c_kind); in rtnl_cls_lookup_ops()97 return cls->c_ops; in rtnl_cls_lookup_ops()
180 return cls->c_ops; in rtnl_cls_get_ops()214 struct rtnl_cls_ops *ops = cls->c_ops; in rtnl_cls_data()224 cls->c_ops = ops; in rtnl_cls_data()
403 if (cache->c_ops != &rtnl_qdisc_ops) in rtnl_qdisc_get_by_parent()428 if (cache->c_ops != &rtnl_qdisc_ops) in rtnl_qdisc_get()
265 if (cache->c_ops != &rtnl_class_ops) in rtnl_class_get()
251 class->c_ops = __rtnl_class_lookup_ops(name); in rtnl_class_set_kind()
795 if (cache->c_ops != &rtnl_link_ops) in rtnl_link_get()823 if (cache->c_ops != &rtnl_link_ops) in rtnl_link_get_by_name()
410 if (cache->c_ops != &rtnl_neightbl_ops) in rtnl_neightbl_get()
166 return cache->c_ops ? cache->c_ops->co_name : "unknown"; in nl_cache_name()
79 struct nl_cache_ops * c_ops; member474 struct rtnl_class_ops *c_ops; member482 struct rtnl_cls_ops *c_ops; member
162 if (cache->c_ops != &genl_ctrl_ops) in genl_ctrl_search()197 if (cache->c_ops != &genl_ctrl_ops) in genl_ctrl_search_by_name()