Home
last modified time | relevance | path

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

/drivers/md/
Ddm-zone.c150 kvfree(md->zwp_offset); in dm_cleanup_zoned_dev()
151 md->zwp_offset = NULL; in dm_cleanup_zoned_dev()
201 if (!md->zwp_offset) { in dm_zone_revalidate_cb()
202 md->zwp_offset = in dm_zone_revalidate_cb()
205 if (!md->zwp_offset) in dm_zone_revalidate_cb()
208 md->zwp_offset[idx] = dm_get_zone_wp_offset(zone); in dm_zone_revalidate_cb()
371 unsigned int zwp_offset = READ_ONCE(md->zwp_offset[zno]); in dm_zone_map_bio_begin() local
379 if (zwp_offset == DM_ZONE_INVALID_WP_OFST) { in dm_zone_map_bio_begin()
380 if (dm_update_zone_wp_offset(md, zno, &zwp_offset)) in dm_zone_map_bio_begin()
382 WRITE_ONCE(md->zwp_offset[zno], zwp_offset); in dm_zone_map_bio_begin()
[all …]
Ddm-core.h143 unsigned int *zwp_offset; member