Home
last modified time | relevance | path

Searched refs:allocation_length (Results 1 – 21 of 21) sorted by last modified time

/freebsd/lib/libcam/
H A Dscsi_wrap.c50 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/scsi/
H A Dscsi_all.c8774 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 Dscsi_all.h3087 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,
/freebsd/sys/dev/ocs_fc/
H A Docs_utils.c1692 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 Docs_utils.h95 uint32_t allocation_length; member
/freebsd/sys/dev/isci/scil/
H A Dsati_request_sense.c166 sequence->allocation_length = sati_get_cdb_byte(cdb, 4); in sati_request_sense_translate_command()
H A Dsati_write_buffer.c91 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 Dsati_translator_sequence.h309 U32 allocation_length; member
H A Dsati_unmap.c281 sequence->allocation_length = unmap_length; in sati_unmap_initial_processing()
H A Dsati_util.c1438 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 Dsati_read_buffer.c91 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 Dsati_read_capacity.c118 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 Dsati_report_luns.c90 sequence->allocation_length = (sati_get_cdb_byte(cdb, 6) << 24) | in sati_report_luns_translate_command()
H A Dsati.c771 else if(sequence->number_data_bytes_set < sequence->allocation_length) in sati_check_data_io()
H A Dsati_log_sense.c607 sequence->allocation_length = (sati_get_cdb_byte(cdb, 7) << 8) | in sati_log_sense_translate_command()
H A Dsati_mode_sense_6.c193 sequence->allocation_length = sati_get_cdb_byte(cdb, 4); in sati_mode_sense_6_translate_command()
H A Dsati_reassign_blocks.c304 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 Dsati_mode_select.c863 sequence->allocation_length = data_transfer_length; in sati_mode_select_translate_command()
H A Dsati_mode_sense_10.c274 sequence->allocation_length = (sati_get_cdb_byte(cdb, 7) << 8) | in sati_mode_sense_10_translate_command()
H A Dsati_inquiry.c683 sequence->allocation_length = (sati_get_cdb_byte(cdb, 3) << 8) | in sati_inquiry_translate_command()
/freebsd/sys/cam/ata/
H A Data_all.h163 uint8_t *data_ptr, uint16_t allocation_length, uint32_t timeout);
173 uint8_t *data_ptr, uint16_t allocation_length, uint32_t timeout);