aboutsummaryrefslogtreecommitdiff
path: root/include/linux/console_struct.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-02-09 16:08:48 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2020-02-09 16:08:48 -0800
commitbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9 (patch)
tree7062bb751c04f07d83da42df7c461c4b74f9e37e /include/linux/console_struct.h
parent89a47dd1af8fdda667938ec190d9595d55d7ec6f (diff)
Linux 5.6-rc1v5.6-rc1
Diffstat (limited to 'include/linux/console_struct.h')
0 files changed, 0 insertions, 0 deletions
W_SP_ACL_ATCAM_LKEY_ID_BLOCK_START, MLXSW_SP_ACL_ATCAM_LKEY_ID_BLOCK_END); ht_key.erp_id = erp_id; lkey_id = rhashtable_lookup_fast(®ion_12kb->lkey_ht, &ht_key, mlxsw_sp_acl_atcam_lkey_id_ht_params); if (lkey_id) { refcount_inc(&lkey_id->refcnt); return lkey_id; } return mlxsw_sp_acl_atcam_lkey_id_create(aregion, &ht_key); } static void mlxsw_sp_acl_atcam_12kb_lkey_id_put(struct mlxsw_sp_acl_atcam_region *aregion, struct mlxsw_sp_acl_atcam_lkey_id *lkey_id) { if (refcount_dec_and_test(&lkey_id->refcnt)) mlxsw_sp_acl_atcam_lkey_id_destroy(aregion, lkey_id); } static const struct mlxsw_sp_acl_atcam_region_ops mlxsw_sp_acl_atcam_region_12kb_ops = { .init = mlxsw_sp_acl_atcam_region_12kb_init, .fini = mlxsw_sp_acl_atcam_region_12kb_fini, .lkey_id_get = mlxsw_sp_acl_atcam_12kb_lkey_id_get, .lkey_id_put = mlxsw_sp_acl_atcam_12kb_lkey_id_put, }; static const struct mlxsw_sp_ac