Lines Matching refs:buffer_length

352 	size_t buffer_length, int data_direction)  in pqi_map_single()  argument
356 if (!buffer || buffer_length == 0 || data_direction == PCI_DMA_NONE) in pqi_map_single()
359 bus_address = pci_map_single(pci_dev, buffer, buffer_length, in pqi_map_single()
365 put_unaligned_le32(buffer_length, &sg_descriptor->length); in pqi_map_single()
389 u8 *scsi3addr, void *buffer, size_t buffer_length, in pqi_build_raid_path_request() argument
401 put_unaligned_le32(buffer_length, &request->buffer_length); in pqi_build_raid_path_request()
416 cdb[4] = (u8)buffer_length; in pqi_build_raid_path_request()
426 put_unaligned_be32(buffer_length, &cdb[6]); in pqi_build_raid_path_request()
432 put_unaligned_be32(buffer_length, &cdb[6]); in pqi_build_raid_path_request()
438 put_unaligned_be16(buffer_length, &cdb[7]); in pqi_build_raid_path_request()
445 put_unaligned_be16(buffer_length, &cdb[7]); in pqi_build_raid_path_request()
451 put_unaligned_be16(buffer_length, &cdb[7]); in pqi_build_raid_path_request()
477 buffer, buffer_length, pci_dir); in pqi_build_raid_path_request()
538 u8 *scsi3addr, u16 vpd_page, void *buffer, size_t buffer_length) in pqi_scsi_inquiry() argument
545 INQUIRY, scsi3addr, buffer, buffer_length, vpd_page, in pqi_scsi_inquiry()
562 size_t buffer_length) in pqi_identify_physical_device() argument
571 buffer_length, 0, &pci_direction); in pqi_identify_physical_device()
628 void *buffer, size_t buffer_length) in pqi_write_host_wellness() argument
636 buffer_length, 0, &pci_direction); in pqi_write_host_wellness()
666 size_t buffer_length; in pqi_write_driver_version_to_host_wellness() local
668 buffer_length = sizeof(*buffer); in pqi_write_driver_version_to_host_wellness()
670 buffer = kmalloc(buffer_length, GFP_KERNEL); in pqi_write_driver_version_to_host_wellness()
688 rc = pqi_write_host_wellness(ctrl_info, buffer, buffer_length); in pqi_write_driver_version_to_host_wellness()
713 size_t buffer_length; in pqi_write_current_time_to_host_wellness() local
718 buffer_length = sizeof(*buffer); in pqi_write_current_time_to_host_wellness()
720 buffer = kmalloc(buffer_length, GFP_KERNEL); in pqi_write_current_time_to_host_wellness()
751 rc = pqi_write_host_wellness(ctrl_info, buffer, buffer_length); in pqi_write_current_time_to_host_wellness()
793 void *buffer, size_t buffer_length) in pqi_report_luns() argument
800 cmd, RAID_CTLR_LUNID, buffer, buffer_length, 0, &pci_direction); in pqi_report_luns()
3820 &request.data.report_device_capability.buffer_length); in pqi_report_device_capability()
4156 &request.data.report_event_configuration.buffer_length); in pqi_configure_events()
4192 &request.data.report_event_configuration.buffer_length); in pqi_configure_events()
4587 put_unaligned_le32(scsi_bufflen(scmd), &request->buffer_length); in pqi_raid_submit_scsi_cmd_with_io_request()
4875 put_unaligned_le32(scsi_bufflen(scmd), &request->buffer_length); in pqi_aio_submit_io()
5533 put_unaligned_le32(iocommand.buf_size, &request.buffer_length); in pqi_passthru_ioctl()
7233 data.report_device_capability.buffer_length) != 44); in verify_structures()
7313 buffer_length) != 12); in verify_structures()
7340 buffer_length) != 16); in verify_structures()
7380 data.report_event_configuration.buffer_length) != 12); in verify_structures()
7386 data.set_event_configuration.buffer_length) != 12); in verify_structures()