Home
last modified time | relevance | path

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

/drivers/scsi/
Dsd.h34 #define SD_BUF_SIZE 512 macro
248 int sd_zbc_read_zones(struct scsi_disk *sdkp, u8 buf[SD_BUF_SIZE]);
264 static inline int sd_zbc_read_zones(struct scsi_disk *sdkp, u8 buf[SD_BUF_SIZE]) in sd_zbc_read_zones() argument
Dsd_zbc.c382 SD_BUF_SIZE, in sd_zbc_update_wp_offset_workfn()
717 ret = sd_zbc_do_report_zones(sdkp, buf, SD_BUF_SIZE, 0, false); in sd_zbc_check_capacity()
784 sdkp->zone_wp_update_buf = kzalloc(SD_BUF_SIZE, GFP_KERNEL); in sd_zbc_init_disk()
908 int sd_zbc_read_zones(struct scsi_disk *sdkp, u8 buf[SD_BUF_SIZE]) in sd_zbc_read_zones() argument
Dsd.c2261 #if RC16_LEN > SD_BUF_SIZE
2262 #error RC16_LEN must not be more than SD_BUF_SIZE
2708 else if (len > SD_BUF_SIZE) { in sd_read_cache_type()
2710 "data from %d to %d bytes\n", len, SD_BUF_SIZE); in sd_read_cache_type()
2711 len = SD_BUF_SIZE; in sd_read_cache_type()
3026 if (scsi_report_opcode(sdev, buffer, SD_BUF_SIZE, INQUIRY) < 0) { in sd_read_write_same()
3042 if (scsi_report_opcode(sdev, buffer, SD_BUF_SIZE, WRITE_SAME_16) == 1) in sd_read_write_same()
3045 if (scsi_report_opcode(sdev, buffer, SD_BUF_SIZE, WRITE_SAME) == 1) in sd_read_write_same()
3056 if (scsi_report_opcode(sdev, buffer, SD_BUF_SIZE, in sd_read_security()
3058 scsi_report_opcode(sdev, buffer, SD_BUF_SIZE, in sd_read_security()
[all …]