Home
last modified time | relevance | path

Searched refs:cbs (Results 1 – 2 of 2) sorted by relevance

/net/sched/
A Dsch_cbs.c253 struct tc_cbs_qopt_offload cbs = { }; in cbs_disable_offload() local
267 cbs.queue = q->queue; in cbs_disable_offload()
268 cbs.enable = 0; in cbs_disable_offload()
273 cbs.queue); in cbs_disable_offload()
281 struct tc_cbs_qopt_offload cbs = { }; in cbs_enable_offload() local
289 cbs.queue = q->queue; in cbs_enable_offload()
291 cbs.enable = 1; in cbs_enable_offload()
292 cbs.hicredit = opt->hicredit; in cbs_enable_offload()
293 cbs.locredit = opt->locredit; in cbs_enable_offload()
294 cbs.idleslope = opt->idleslope; in cbs_enable_offload()
[all …]
/net/xfrm/
A Dxfrm_state.c565 const struct xfrm_mode_cbs *cbs; in xfrm_get_mode_cbs() local
574 cbs = rcu_dereference(xfrm_mode_cbs_map[mode]); in xfrm_get_mode_cbs()
575 if (cbs && !try_module_get(cbs->owner)) in xfrm_get_mode_cbs()
576 cbs = NULL; in xfrm_get_mode_cbs()
580 if (mode == XFRM_MODE_IPTFS && !cbs && try_load) { in xfrm_get_mode_cbs()
586 return cbs; in xfrm_get_mode_cbs()

Completed in 10 milliseconds