Lines Matching refs:upsg
714 struct user_sgmap64* upsg = (struct user_sgmap64*)&user_srbcmd->sg; in aac_send_raw_srb() local
722 for (i = 0; i < upsg->count; i++) { in aac_send_raw_srb()
726 sg_count[i] = upsg->sg[i].count; in aac_send_raw_srb()
739 sg_count[i], i, upsg->count)); in aac_send_raw_srb()
743 addr = (u64)upsg->sg[i].addr[0]; in aac_send_raw_srb()
744 addr += ((u64)upsg->sg[i].addr[1]) << 32; in aac_send_raw_srb()
767 usg = kmemdup(upsg, in aac_send_raw_srb()
830 struct user_sgmap* upsg = &user_srbcmd->sg; in aac_send_raw_srb() local
834 struct user_sgmap64* usg = (struct user_sgmap64 *)upsg; in aac_send_raw_srb()
835 for (i = 0; i < upsg->count; i++) { in aac_send_raw_srb()
876 for (i = 0; i < upsg->count; i++) { in aac_send_raw_srb()
880 sg_count[i] = upsg->sg[i].count; in aac_send_raw_srb()
892 sg_count[i], i, upsg->count)); in aac_send_raw_srb()
896 sg_user[i] = (void __user *)(uintptr_t)upsg->sg[i].addr; in aac_send_raw_srb()