Searched refs:cmd_xfer_size (Results 1 – 2 of 2) sorted by relevance
1714 uint8_t *p, uint32_t cdb_xfer_size, uint32_t cmd_xfer_size) in sbd_handle_short_read_transfers() argument1719 cmd_xfer_size = min(cmd_xfer_size, cdb_xfer_size); in sbd_handle_short_read_transfers()1721 task->task_cmd_xfer_length = cmd_xfer_size; in sbd_handle_short_read_transfers()1723 task->task_expected_xfer_length = cmd_xfer_size; in sbd_handle_short_read_transfers()1725 cmd_xfer_size = min(cmd_xfer_size, in sbd_handle_short_read_transfers()1729 if (cmd_xfer_size == 0) { in sbd_handle_short_read_transfers()1735 uint32_t minsize = cmd_xfer_size; in sbd_handle_short_read_transfers()1737 dbuf = stmf_alloc_dbuf(task, cmd_xfer_size, &minsize, 0); in sbd_handle_short_read_transfers()1744 for (bufsize = 0, ndx = 0; bufsize < cmd_xfer_size; ndx++) { in sbd_handle_short_read_transfers()1749 s = min((cmd_xfer_size - bufsize), in sbd_handle_short_read_transfers()[all …]
95 uint32_t cmd_xfer_size);