Home
last modified time | relevance | path

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

/linux-6.6.21/net/devlink/
Dsb.c9 struct devlink_sb { struct
19 static u16 devlink_sb_pool_count(struct devlink_sb *devlink_sb) in devlink_sb_pool_count() argument
21 return devlink_sb->ingress_pools_count + devlink_sb->egress_pools_count; in devlink_sb_pool_count()
24 static struct devlink_sb *devlink_sb_get_by_index(struct devlink *devlink, in devlink_sb_get_by_index()
27 struct devlink_sb *devlink_sb; in devlink_sb_get_by_index() local
29 list_for_each_entry(devlink_sb, &devlink->sb_list, list) { in devlink_sb_get_by_index()
30 if (devlink_sb->index == sb_index) in devlink_sb_get_by_index()
31 return devlink_sb; in devlink_sb_get_by_index()
42 static struct devlink_sb *devlink_sb_get_from_attrs(struct devlink *devlink, in devlink_sb_get_from_attrs()
47 struct devlink_sb *devlink_sb; in devlink_sb_get_from_attrs() local
[all …]