Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/isci/scil/
H A Dsati_write_buffer.c93 U32 allocation_length; in sati_write_buffer_translate_command() local
97 allocation_length = ((sati_get_cdb_byte(cdb, 6) << 16) | in sati_write_buffer_translate_command()
105 sequence->allocation_length = allocation_length; in sati_write_buffer_translate_command()
106 allocation_blocks = allocation_length / DOWNLOAD_MICROCODE_BLOCK_SIZE; in sati_write_buffer_translate_command()
111 if((allocation_length == DOWNLOAD_MICROCODE_BLOCK_SIZE) && in sati_write_buffer_translate_command()
142 allocation_length, in sati_write_buffer_translate_command()
152 if(((allocation_length & 0x000001FF) == 0) && //Bits 08:00 need to be zero per SAT2v7 in sati_write_buffer_translate_command()
156 (allocation_length == 0))) in sati_write_buffer_translate_command()
162 allocation_length, in sati_write_buffer_translate_command()
H A Dsati_read_buffer.c93 U32 allocation_length; in sati_read_buffer_translate_command() local
96 allocation_length = ((sati_get_cdb_byte(cdb, 6) << 16) | in sati_read_buffer_translate_command()
104 sequence->allocation_length = allocation_length; in sati_read_buffer_translate_command()
109 if((allocation_length == 512) && (buffer_offset == 0) && in sati_read_buffer_translate_command()
135 if(allocation_length < 4) in sati_read_buffer_translate_command()
H A Dsati_util.c1440 if (byte_offset < sequence->allocation_length) in sati_get_data_byte()
1468 if (byte_offset < sequence->allocation_length) in sati_set_data_byte()
1976 U32 allocation_length, in sati_ata_download_microcode_construct() argument
1981 U32 allocation_blocks = allocation_length >> 9; in sati_ata_download_microcode_construct()
1989 sati_set_ata_sector_count(register_fis, (U8) (allocation_length >> 9)); in sati_ata_download_microcode_construct()
1990 sati_set_ata_lba_low(register_fis, (U8) (allocation_length >> 17)); in sati_ata_download_microcode_construct()
2000 if((allocation_length == 0) && (buffer_offset == 0)) in sati_ata_download_microcode_construct()
2008 sequence->ata_transfer_length = allocation_length; in sati_ata_download_microcode_construct()
H A Dsati_read_capacity.c120 sequence->allocation_length = SCSI_READ_CAPACITY_10_DATA_LENGTH; in sati_read_capacity_10_translate_command()
181 sequence->allocation_length = (sati_get_cdb_byte(cdb, 10) << 24) | in sati_read_capacity_16_translate_command()
H A Dsati_report_luns.c92 sequence->allocation_length = (sati_get_cdb_byte(cdb, 6) << 24) | in sati_report_luns_translate_command()
H A Dsati_reassign_blocks.c306 sequence->allocation_length = 4; //Pre-set allocation_length so that the header can be retrieved in sati_reassign_blocks_initial_processing()
328 sequence->allocation_length = data_transfer_length; in sati_reassign_blocks_initial_processing()
H A Dsati_translator_sequence.h311 U32 allocation_length; member
H A Dsati_request_sense.c168 sequence->allocation_length = sati_get_cdb_byte(cdb, 4); in sati_request_sense_translate_command()
H A Dsati_mode_sense_6.c195 sequence->allocation_length = sati_get_cdb_byte(cdb, 4); in sati_mode_sense_6_translate_command()
H A Dsati_mode_sense_10.c276 sequence->allocation_length = (sati_get_cdb_byte(cdb, 7) << 8) | in sati_mode_sense_10_translate_command()
H A Dsati_unmap.c283 sequence->allocation_length = unmap_length; in sati_unmap_initial_processing()
H A Dsati_log_sense.c609 sequence->allocation_length = (sati_get_cdb_byte(cdb, 7) << 8) | in sati_log_sense_translate_command()
H A Dsati_inquiry.c685 sequence->allocation_length = (sati_get_cdb_byte(cdb, 3) << 8) | in sati_inquiry_translate_command()
H A Dsati_mode_select.c865 sequence->allocation_length = data_transfer_length; in sati_mode_select_translate_command()
H A Dsati.c773 else if(sequence->number_data_bytes_set < sequence->allocation_length) in sati_check_data_io()
/freebsd-13.1/sys/cam/ata/
H A Data_all.h165 uint8_t *data_ptr, uint16_t allocation_length, uint32_t timeout);
175 uint8_t *data_ptr, uint16_t allocation_length, uint32_t timeout);
/freebsd-13.1/sys/dev/ocs_fc/
H A Docs_utils.c1694 textbuf->allocation_length = OCS_TEXTBUF_MAX_ALLOC_LEN; in ocs_textbuf_alloc()
1696 textbuf->allocation_length = length; in ocs_textbuf_alloc()
1717 … segment->buffer = ocs_malloc(textbuf->ocs, textbuf->allocation_length, OCS_M_ZERO | OCS_M_NOWAIT); in ocs_textbuf_segment_alloc()
1719 segment->buffer_length = textbuf->allocation_length; in ocs_textbuf_segment_alloc()
1722 textbuf->total_allocation_length += textbuf->allocation_length; in ocs_textbuf_segment_alloc()
H A Docs_utils.h97 uint32_t allocation_length; member
/freebsd-13.1/sys/cam/scsi/
H A Dscsi_all.c8691 uint8_t *data_ptr, uint16_t allocation_length, in scsi_receive_diagnostic_results() argument
8703 scsi_ulto2b(allocation_length, scsi_cmd->length); in scsi_receive_diagnostic_results()
8711 allocation_length, in scsi_receive_diagnostic_results()
8763 uint8_t *data_ptr, uint32_t allocation_length, in scsi_read_buffer() argument
8774 scsi_ulto3b(allocation_length, scsi_cmd->length); in scsi_read_buffer()
8782 allocation_length, in scsi_read_buffer()
H A Dscsi_all.h4152 uint16_t allocation_length,
4167 uint8_t *data_ptr, uint32_t allocation_length,