/freebsd/sys/dev/isci/scil/ |
H A D | sati_write_buffer.c | 91 U32 allocation_length; in sati_write_buffer_translate_command() local 95 allocation_length = ((sati_get_cdb_byte(cdb, 6) << 16) | in sati_write_buffer_translate_command() 103 sequence->allocation_length = allocation_length; in sati_write_buffer_translate_command() 104 allocation_blocks = allocation_length / DOWNLOAD_MICROCODE_BLOCK_SIZE; in sati_write_buffer_translate_command() 109 if((allocation_length == DOWNLOAD_MICROCODE_BLOCK_SIZE) && in sati_write_buffer_translate_command() 140 allocation_length, in sati_write_buffer_translate_command() 150 if(((allocation_length & 0x000001FF) == 0) && //Bits 08:00 need to be zero per SAT2v7 in sati_write_buffer_translate_command() 154 (allocation_length == 0))) in sati_write_buffer_translate_command() 160 allocation_length, in sati_write_buffer_translate_command()
|
H A D | sati_read_buffer.c | 91 U32 allocation_length; in sati_read_buffer_translate_command() local 94 allocation_length = ((sati_get_cdb_byte(cdb, 6) << 16) | in sati_read_buffer_translate_command() 102 sequence->allocation_length = allocation_length; in sati_read_buffer_translate_command() 107 if((allocation_length == 512) && (buffer_offset == 0) && in sati_read_buffer_translate_command() 133 if(allocation_length < 4) in sati_read_buffer_translate_command()
|
H A D | sati_util.c | 1438 if (byte_offset < sequence->allocation_length) in sati_get_data_byte() 1466 if (byte_offset < sequence->allocation_length) in sati_set_data_byte() 1974 U32 allocation_length, in sati_ata_download_microcode_construct() argument 1979 U32 allocation_blocks = allocation_length >> 9; in sati_ata_download_microcode_construct() 1987 sati_set_ata_sector_count(register_fis, (U8) (allocation_length >> 9)); in sati_ata_download_microcode_construct() 1988 sati_set_ata_lba_low(register_fis, (U8) (allocation_length >> 17)); in sati_ata_download_microcode_construct() 1998 if((allocation_length == 0) && (buffer_offset == 0)) in sati_ata_download_microcode_construct() 2006 sequence->ata_transfer_length = allocation_length; in sati_ata_download_microcode_construct()
|
H A D | sati_read_capacity.c | 118 sequence->allocation_length = SCSI_READ_CAPACITY_10_DATA_LENGTH; in sati_read_capacity_10_translate_command() 179 sequence->allocation_length = (sati_get_cdb_byte(cdb, 10) << 24) | in sati_read_capacity_16_translate_command()
|
H A D | sati_report_luns.c | 90 sequence->allocation_length = (sati_get_cdb_byte(cdb, 6) << 24) | in sati_report_luns_translate_command()
|
H A D | sati_reassign_blocks.c | 304 sequence->allocation_length = 4; //Pre-set allocation_length so that the header can be retrieved in sati_reassign_blocks_initial_processing() 326 sequence->allocation_length = data_transfer_length; in sati_reassign_blocks_initial_processing()
|
H A D | sati_translator_sequence.h | 309 U32 allocation_length; member
|
H A D | sati_request_sense.c | 166 sequence->allocation_length = sati_get_cdb_byte(cdb, 4); in sati_request_sense_translate_command()
|
H A D | sati_mode_sense_6.c | 193 sequence->allocation_length = sati_get_cdb_byte(cdb, 4); in sati_mode_sense_6_translate_command()
|
H A D | sati_mode_sense_10.c | 274 sequence->allocation_length = (sati_get_cdb_byte(cdb, 7) << 8) | in sati_mode_sense_10_translate_command()
|
H A D | sati_unmap.c | 281 sequence->allocation_length = unmap_length; in sati_unmap_initial_processing()
|
H A D | sati_log_sense.c | 607 sequence->allocation_length = (sati_get_cdb_byte(cdb, 7) << 8) | in sati_log_sense_translate_command()
|
H A D | sati_inquiry.c | 683 sequence->allocation_length = (sati_get_cdb_byte(cdb, 3) << 8) | in sati_inquiry_translate_command()
|
H A D | sati_mode_select.c | 863 sequence->allocation_length = data_transfer_length; in sati_mode_select_translate_command()
|
H A D | sati.c | 771 else if(sequence->number_data_bytes_set < sequence->allocation_length) in sati_check_data_io()
|
/freebsd/lib/libcam/ |
H A D | scsi_wrap.c | 50 uint32_t allocation_length; in scsi_wrap_get_physical_element_status() local 69 allocation_length = MAX(sizeof(*hdr), 4096); in scsi_wrap_get_physical_element_status() 72 hdr = calloc(allocation_length, 1); in scsi_wrap_get_physical_element_status() 83 allocation_length, in scsi_wrap_get_physical_element_status() 112 allocation_length = dtors * sizeof(struct scsi_get_physical_element_descriptor) + in scsi_wrap_get_physical_element_status()
|
/freebsd/sys/cam/ata/ |
H A D | ata_all.h | 163 uint8_t *data_ptr, uint16_t allocation_length, uint32_t timeout); 173 uint8_t *data_ptr, uint16_t allocation_length, uint32_t timeout);
|
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_utils.c | 1692 textbuf->allocation_length = OCS_TEXTBUF_MAX_ALLOC_LEN; in ocs_textbuf_alloc() 1694 textbuf->allocation_length = length; in ocs_textbuf_alloc() 1715 … segment->buffer = ocs_malloc(textbuf->ocs, textbuf->allocation_length, OCS_M_ZERO | OCS_M_NOWAIT); in ocs_textbuf_segment_alloc() 1717 segment->buffer_length = textbuf->allocation_length; in ocs_textbuf_segment_alloc() 1720 textbuf->total_allocation_length += textbuf->allocation_length; in ocs_textbuf_segment_alloc()
|
H A D | ocs_utils.h | 95 uint32_t allocation_length; member
|
/freebsd/sys/cam/scsi/ |
H A D | scsi_all.c | 8774 uint8_t *data_ptr, uint16_t allocation_length, in scsi_receive_diagnostic_results() argument 8786 scsi_ulto2b(allocation_length, scsi_cmd->length); in scsi_receive_diagnostic_results() 8794 allocation_length, in scsi_receive_diagnostic_results() 8845 uint16_t allocation_length, uint8_t report_type, in scsi_get_physical_element_status() argument 8856 scsi_ulto4b(allocation_length, scsi_cmd->allocation_length); in scsi_get_physical_element_status() 8864 allocation_length, in scsi_get_physical_element_status() 8928 uint8_t *data_ptr, uint32_t allocation_length, in scsi_read_buffer() argument 8939 scsi_ulto3b(allocation_length, scsi_cmd->length); in scsi_read_buffer() 8947 allocation_length, in scsi_read_buffer()
|
H A D | scsi_all.h | 3087 uint8_t allocation_length[4]; member 4220 uint16_t allocation_length, 4234 uint16_t allocation_length, uint8_t report_type, 4253 uint8_t *data_ptr, uint32_t allocation_length,
|