Lines Matching refs:upsg
710 struct user_sgmap64* upsg = (struct user_sgmap64*)&user_srbcmd->sg; in aac_send_raw_srb() local
718 for (i = 0; i < upsg->count; i++) { in aac_send_raw_srb()
722 sg_count[i] = upsg->sg[i].count; in aac_send_raw_srb()
735 sg_count[i], i, upsg->count)); in aac_send_raw_srb()
739 addr = (u64)upsg->sg[i].addr[0]; in aac_send_raw_srb()
740 addr += ((u64)upsg->sg[i].addr[1]) << 32; in aac_send_raw_srb()
763 usg = kmemdup(upsg, in aac_send_raw_srb()
826 struct user_sgmap* upsg = &user_srbcmd->sg; in aac_send_raw_srb() local
830 struct user_sgmap64* usg = (struct user_sgmap64 *)upsg; in aac_send_raw_srb()
831 for (i = 0; i < upsg->count; i++) { in aac_send_raw_srb()
874 for (i = 0; i < upsg->count; i++) { in aac_send_raw_srb()
878 sg_count[i] = upsg->sg[i].count; in aac_send_raw_srb()
890 sg_count[i], i, upsg->count)); in aac_send_raw_srb()
894 sg_user[i] = (void __user *)(uintptr_t)upsg->sg[i].addr; in aac_send_raw_srb()