Displaying 1 result from an estimated 1 matches for "desc_list".
Did you mean:
desc_ldt
2007 Jan 02
0
[PATCH 1/4] add scsi-target and IO_CMD_EPOLL_WAIT patches
...gt;data_in_desc_cnt, cmd->data_out_desc_cnt);
++ }
++
++ nmd = id->table_desc.len / sizeof(struct srp_direct_buf);
++
++ if ((dir == DMA_FROM_DEVICE && nmd == cmd->data_in_desc_cnt) ||
++ (dir == DMA_TO_DEVICE && nmd == cmd->data_out_desc_cnt)) {
++ md = &id->desc_list[0];
++ goto rdma;
++ }
++
++ if (ext_desc && dma_map) {
++ md = dma_alloc_coherent(iue->target->dev, id->table_desc.len,
++ &token, GFP_KERNEL);
++ if (!md) {
++ eprintk("Can''t get dma memory %u\n", id->table_desc.len);
++ return -ENOMEM;
++ }
+...