Lines Matching refs:upsg
692 struct user_sgmap64* upsg = (struct user_sgmap64*)&user_srbcmd->sg; in aac_send_raw_srb() local
700 for (i = 0; i < upsg->count; i++) { in aac_send_raw_srb()
704 sg_count[i] = upsg->sg[i].count; in aac_send_raw_srb()
717 sg_count[i], i, upsg->count)); in aac_send_raw_srb()
721 addr = (u64)upsg->sg[i].addr[0]; in aac_send_raw_srb()
722 addr += ((u64)upsg->sg[i].addr[1]) << 32; in aac_send_raw_srb()
745 usg = kmemdup(upsg, in aac_send_raw_srb()
808 struct user_sgmap* upsg = &user_srbcmd->sg; in aac_send_raw_srb() local
812 struct user_sgmap64* usg = (struct user_sgmap64 *)upsg; in aac_send_raw_srb()
813 for (i = 0; i < upsg->count; i++) { in aac_send_raw_srb()
856 for (i = 0; i < upsg->count; i++) { in aac_send_raw_srb()
860 sg_count[i] = upsg->sg[i].count; in aac_send_raw_srb()
872 sg_count[i], i, upsg->count)); in aac_send_raw_srb()
876 sg_user[i] = (void __user *)(uintptr_t)upsg->sg[i].addr; in aac_send_raw_srb()