Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/core/
Ddevlink.c4374 p = xa_load(&devlink->snapshot_ids, id); in __devlink_snapshot_id_increment()
4384 return xa_err(xa_store(&devlink->snapshot_ids, id, xa_mk_value(count), in __devlink_snapshot_id_increment()
4410 p = xa_load(&devlink->snapshot_ids, id); in __devlink_snapshot_id_decrement()
4421 xa_store(&devlink->snapshot_ids, id, xa_mk_value(count), in __devlink_snapshot_id_decrement()
4425 xa_erase(&devlink->snapshot_ids, id); in __devlink_snapshot_id_decrement()
4449 if (xa_load(&devlink->snapshot_ids, id)) in __devlink_snapshot_id_insert()
4452 return xa_err(xa_store(&devlink->snapshot_ids, id, xa_mk_value(0), in __devlink_snapshot_id_insert()
4476 return xa_alloc(&devlink->snapshot_ids, id, xa_mk_value(1), in __devlink_region_snapshot_id_get()
7980 xa_init_flags(&devlink->snapshot_ids, XA_FLAGS_ALLOC); in devlink_alloc()
8087 xa_destroy(&devlink->snapshot_ids); in devlink_free()
/kernel/linux/linux-5.10/include/net/
Ddevlink.h48 struct xarray snapshot_ids; member