Home
last modified time | relevance | path

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

/linux/drivers/scsi/
H A Dsd_trace.h19 unsigned int wp_offset),
21 TP_ARGS(cmnd, lba, wp_offset),
29 __field( unsigned int, wp_offset )
38 __entry->wp_offset = wp_offset;
43 __entry->lun, __entry->lba, __entry->wp_offset)
49 unsigned int wp_offset, unsigned int good_bytes),
51 TP_ARGS(cmnd, rq_sector, wp_offset, good_bytes),
59 __field( unsigned int, wp_offset )
69 __entry->wp_offset = wp_offset;
76 __entry->lun, __entry->rq_sector, __entry->wp_offset,
/linux/block/
H A Dblk-zoned.c78 unsigned int wp_offset; member
499 return zwplug->wp_offset >= disk->zone_capacity; in disk_zone_wplug_is_full()
500 return zwplug->wp_offset >= disk->last_zone_capacity; in disk_zone_wplug_is_full()
639 if (!zwplug->wp_offset && bio_list_empty(&zwplug->bio_list)) { in disk_check_zone_wplug_dead()
692 zwplug->wp_offset = bdev_offset_from_zone_start(disk->part0, sector); in disk_get_or_alloc_zone_wplug()
768 else if (!zwplug->wp_offset) in disk_zone_wplug_update_cond()
782 unsigned int wp_offset) in disk_zone_wplug_set_wp_offset() argument
788 zwplug->wp_offset = wp_offset; in disk_zone_wplug_set_wp_offset()
792 if (!zwplug->wp_offset || disk_zone_wplug_is_full(disk, zwplug)) in disk_zone_wplug_set_wp_offset()
823 unsigned int wp_offset = blk_zone_wp_offset(zone); in disk_zone_wplug_sync_wp_offset() local
[all …]