Lines Matching refs:upsg
699 struct user_sgmap64* upsg = (struct user_sgmap64*)&user_srbcmd->sg; in aac_send_raw_srb() local
707 for (i = 0; i < upsg->count; i++) { in aac_send_raw_srb()
711 sg_count[i] = upsg->sg[i].count; in aac_send_raw_srb()
724 sg_count[i], i, upsg->count)); in aac_send_raw_srb()
728 addr = (u64)upsg->sg[i].addr[0]; in aac_send_raw_srb()
729 addr += ((u64)upsg->sg[i].addr[1]) << 32; in aac_send_raw_srb()
752 usg = kmemdup(upsg, in aac_send_raw_srb()
815 struct user_sgmap* upsg = &user_srbcmd->sg; in aac_send_raw_srb() local
819 struct user_sgmap64* usg = (struct user_sgmap64 *)upsg; in aac_send_raw_srb()
820 for (i = 0; i < upsg->count; i++) { in aac_send_raw_srb()
861 for (i = 0; i < upsg->count; i++) { in aac_send_raw_srb()
865 sg_count[i] = upsg->sg[i].count; in aac_send_raw_srb()
877 sg_count[i], i, upsg->count)); in aac_send_raw_srb()
881 sg_user[i] = (void __user *)(uintptr_t)upsg->sg[i].addr; in aac_send_raw_srb()