Home
last modified time | relevance | path

Searched refs:upsg (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/drivers/scsi/aacraid/
Dcommctrl.c585 struct user_sgmap64* upsg = (struct user_sgmap64*)&user_srbcmd->sg; in aac_send_raw_srb() local
593 for (i = 0; i < upsg->count; i++) { in aac_send_raw_srb()
596 if (upsg->sg[i].count > in aac_send_raw_srb()
605 p = kmalloc(upsg->sg[i].count,GFP_KERNEL|__GFP_DMA); in aac_send_raw_srb()
608 upsg->sg[i].count,i,upsg->count)); in aac_send_raw_srb()
612 addr = (u64)upsg->sg[i].addr[0]; in aac_send_raw_srb()
613 addr += ((u64)upsg->sg[i].addr[1]) << 32; in aac_send_raw_srb()
619 if(copy_from_user(p,sg_user[i],upsg->sg[i].count)){ in aac_send_raw_srb()
625 addr = pci_map_single(dev->pdev, p, upsg->sg[i].count, data_dir); in aac_send_raw_srb()
629 byte_count += upsg->sg[i].count; in aac_send_raw_srb()
[all …]