Searched refs:cmd_xfer_size (Results 1 – 2 of 2) sorted by relevance
1587 uint8_t *p, uint32_t cdb_xfer_size, uint32_t cmd_xfer_size) in sbd_handle_short_read_transfers() argument1592 cmd_xfer_size = min(cmd_xfer_size, cdb_xfer_size); in sbd_handle_short_read_transfers()1594 task->task_cmd_xfer_length = cmd_xfer_size; in sbd_handle_short_read_transfers()1596 task->task_expected_xfer_length = cmd_xfer_size; in sbd_handle_short_read_transfers()1598 cmd_xfer_size = min(cmd_xfer_size, in sbd_handle_short_read_transfers()1602 if (cmd_xfer_size == 0) { in sbd_handle_short_read_transfers()1608 uint32_t minsize = cmd_xfer_size; in sbd_handle_short_read_transfers()1610 dbuf = stmf_alloc_dbuf(task, cmd_xfer_size, &minsize, 0); in sbd_handle_short_read_transfers()1617 for (bufsize = 0, ndx = 0; bufsize < cmd_xfer_size; ndx++) { in sbd_handle_short_read_transfers()1622 s = min((cmd_xfer_size - bufsize), in sbd_handle_short_read_transfers()[all …]
93 uint32_t cmd_xfer_size);