Home
last modified time | relevance | path

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

/linux-6.12.1/block/
Dblk-zoned.c372 struct blk_zone_wplug *zwplug) in disk_zone_wplug_is_full() argument
374 return disk_zone_is_full(disk, zwplug->zone_no, zwplug->wp_offset); in disk_zone_wplug_is_full()
378 struct blk_zone_wplug *zwplug) in disk_insert_zone_wplug() argument
383 hash_32(zwplug->zone_no, disk->zone_wplugs_hash_bits); in disk_insert_zone_wplug()
392 if (zwplg->zone_no == zwplug->zone_no) { in disk_insert_zone_wplug()
397 hlist_add_head_rcu(&zwplug->node, &disk->zone_wplugs_hash[idx]); in disk_insert_zone_wplug()
408 struct blk_zone_wplug *zwplug; in disk_get_zone_wplug() local
412 hlist_for_each_entry_rcu(zwplug, &disk->zone_wplugs_hash[idx], node) { in disk_get_zone_wplug()
413 if (zwplug->zone_no == zno && in disk_get_zone_wplug()
414 atomic_inc_not_zero(&zwplug->ref)) { in disk_get_zone_wplug()
[all …]