Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/s390/scsi/
Dzfcp_sysfs.c424 struct zfcp_latencies *lat = &zfcp_sdev->latencies; \
428 spin_lock_bh(&lat->lock); \
429 fsum = lat->_name.fabric.sum * adapter->timer_ticks; \
430 fmin = lat->_name.fabric.min * adapter->timer_ticks; \
431 fmax = lat->_name.fabric.max * adapter->timer_ticks; \
432 csum = lat->_name.channel.sum * adapter->timer_ticks; \
433 cmin = lat->_name.channel.min * adapter->timer_ticks; \
434 cmax = lat->_name.channel.max * adapter->timer_ticks; \
435 cc = lat->_name.counter; \
436 spin_unlock_bh(&lat->lock); \
[all …]
Dzfcp_fsf.c2005 static void zfcp_fsf_update_lat(struct fsf_latency_record *lat_rec, u32 lat) in zfcp_fsf_update_lat() argument
2007 lat_rec->sum += lat; in zfcp_fsf_update_lat()
2008 lat_rec->min = min(lat_rec->min, lat); in zfcp_fsf_update_lat()
2009 lat_rec->max = max(lat_rec->max, lat); in zfcp_fsf_update_lat()
2015 struct latency_cont *lat = NULL; in zfcp_fsf_req_trace() local
2040 lat = &zfcp_sdev->latencies.read; in zfcp_fsf_req_trace()
2045 lat = &zfcp_sdev->latencies.write; in zfcp_fsf_req_trace()
2048 lat = &zfcp_sdev->latencies.cmd; in zfcp_fsf_req_trace()
2052 if (lat) { in zfcp_fsf_req_trace()
2054 zfcp_fsf_update_lat(&lat->channel, lat_in->channel_lat); in zfcp_fsf_req_trace()
[all …]
/linux-4.19.296/include/trace/events/
Dwbt.h61 TP_PROTO(struct backing_dev_info *bdi, unsigned long lat),
63 TP_ARGS(bdi, lat),
67 __field(unsigned long, lat)
73 __entry->lat = div_u64(lat, 1000);
77 (unsigned long long) __entry->lat)
/linux-4.19.296/include/linux/usb/
Dpd_vdo.h181 #define VDO_CABLE(hw, fw, cbl, gdr, lat, term, tx1d, tx2d, rx1d, rx2d, cur,\ argument
184 | (gdr) << 17 | ((lat) & 0x7) << 13 | ((term) & 0x3) << 11 \
/linux-4.19.296/block/
Dblk-throttle.c2284 unsigned long lat; in blk_throtl_bio_endio() local
2300 lat = finish_time - start_time; in blk_throtl_bio_endio()
2304 bio_op(bio), lat); in blk_throtl_bio_endio()
2306 if (tg->latency_target && lat >= tg->td->filtered_latency) { in blk_throtl_bio_endio()
2313 if (lat > threshold) in blk_throtl_bio_endio()
/linux-4.19.296/drivers/pci/
Dpci.c4083 u8 lat; in pcibios_set_master() local
4089 pci_read_config_byte(dev, PCI_LATENCY_TIMER, &lat); in pcibios_set_master()
4090 if (lat < 16) in pcibios_set_master()
4091 lat = (64 <= pcibios_max_latency) ? 64 : pcibios_max_latency; in pcibios_set_master()
4092 else if (lat > pcibios_max_latency) in pcibios_set_master()
4093 lat = pcibios_max_latency; in pcibios_set_master()
4097 pci_write_config_byte(dev, PCI_LATENCY_TIMER, lat); in pcibios_set_master()