Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmacsec_fs.c705 struct mlx5_fs_id *fs_id_iter; in macsec_fs_id_add() local
711 fs_id_iter = rhashtable_lookup(hash_table, &fs_id, rhash_fs_id); in macsec_fs_id_add()
712 if (fs_id_iter) { in macsec_fs_id_add()
713 refcount_inc(&fs_id_iter->refcnt); in macsec_fs_id_add()
720 fs_id_iter = kzalloc(sizeof(*fs_id_iter), GFP_KERNEL); in macsec_fs_id_add()
721 if (!fs_id_iter) in macsec_fs_id_add()
745 fs_id_iter->id = fs_id; in macsec_fs_id_add()
746 refcount_set(&fs_id_iter->refcnt, 1); in macsec_fs_id_add()
747 fs_id_iter->sci = sci; in macsec_fs_id_add()
748 err = xa_err(xa_store(fs_id_xa, fs_id, fs_id_iter, GFP_KERNEL)); in macsec_fs_id_add()
[all …]