Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/platforms/pseries/
Dvas-sysfs.c124 struct vas_caps_entry *centry; in vas_type_show() local
128 centry = to_caps_entry(kobj); in vas_type_show()
129 caps = centry->caps; in vas_type_show()
141 struct vas_caps_entry *centry; in vas_type_store() local
145 centry = to_caps_entry(kobj); in vas_type_store()
146 caps = centry->caps; in vas_type_store()
156 struct vas_caps_entry *centry = to_caps_entry(kobj); in vas_type_release() local
157 kfree(centry); in vas_type_release()
177 static char *vas_caps_kobj_name(struct vas_caps_entry *centry, in vas_caps_kobj_name() argument
180 struct vas_cop_feat_caps *caps = centry->caps; in vas_caps_kobj_name()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_ctcam.c42 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp_acl_ctcam_region_entry_insert() argument
62 centry->parman_item.index, priority); in mlxsw_sp_acl_ctcam_region_entry_insert()
67 err = cregion->ops->entry_insert(cregion, centry, mask); in mlxsw_sp_acl_ctcam_region_entry_insert()
82 cregion->ops->entry_remove(cregion, centry); in mlxsw_sp_acl_ctcam_region_entry_insert()
89 struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp_acl_ctcam_region_entry_remove() argument
95 centry->parman_item.index, 0); in mlxsw_sp_acl_ctcam_region_entry_remove()
97 cregion->ops->entry_remove(cregion, centry); in mlxsw_sp_acl_ctcam_region_entry_remove()
103 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp_acl_ctcam_region_entry_action_replace() argument
112 centry->parman_item.index, priority); in mlxsw_sp_acl_ctcam_region_entry_action_replace()
191 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp_acl_ctcam_entry_add() argument
[all …]
Dspectrum1_acl_tcam.c17 struct mlxsw_sp_acl_ctcam_entry centry; member
27 struct mlxsw_sp_acl_ctcam_entry centry; member
32 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp1_acl_ctcam_region_entry_insert() argument
40 struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp1_acl_ctcam_region_entry_remove() argument
83 &region->catchall.centry, in mlxsw_sp1_acl_ctcam_region_catchall_add()
107 &region->catchall.centry); in mlxsw_sp1_acl_ctcam_region_catchall_del()
180 &chunk->cchunk, &entry->centry, in mlxsw_sp1_acl_tcam_entry_add()
193 &chunk->cchunk, &entry->centry); in mlxsw_sp1_acl_tcam_entry_del()
231 offset = mlxsw_sp_acl_ctcam_entry_offset(&entry->centry); in mlxsw_sp1_acl_tcam_entry_activity_get()
Dspectrum_acl_tcam.h110 struct mlxsw_sp_acl_ctcam_entry *centry,
113 struct mlxsw_sp_acl_ctcam_entry *centry);
129 struct mlxsw_sp_acl_ctcam_entry *centry,
135 struct mlxsw_sp_acl_ctcam_entry *centry);
138 struct mlxsw_sp_acl_ctcam_entry *centry,
141 mlxsw_sp_acl_ctcam_entry_offset(struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp_acl_ctcam_entry_offset() argument
143 return centry->parman_item.index; in mlxsw_sp_acl_ctcam_entry_offset()
196 struct mlxsw_sp_acl_ctcam_entry centry; member
208 mlxsw_sp_acl_tcam_centry_aentry(struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp_acl_tcam_centry_aentry() argument
210 return container_of(centry, struct mlxsw_sp_acl_atcam_entry, centry); in mlxsw_sp_acl_tcam_centry_aentry()
Dspectrum2_acl_tcam.c32 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp2_acl_ctcam_region_entry_insert() argument
40 aentry = mlxsw_sp_acl_tcam_centry_aentry(centry); in mlxsw_sp2_acl_ctcam_region_entry_insert()
52 struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp2_acl_ctcam_region_entry_remove() argument
58 aentry = mlxsw_sp_acl_tcam_centry_aentry(centry); in mlxsw_sp2_acl_ctcam_region_entry_remove()
Dspectrum_acl_atcam.c584 &achunk->cchunk, &aentry->centry, in mlxsw_sp_acl_atcam_entry_add()
599 &achunk->cchunk, &aentry->centry); in mlxsw_sp_acl_atcam_entry_del()
615 &aentry->centry, in mlxsw_sp_acl_atcam_entry_action_replace()