Lines Matching refs:usg
762 struct user_sgmap* usg; in aac_send_raw_srb() local
763 usg = kmemdup(upsg, in aac_send_raw_srb()
766 if (!usg) { in aac_send_raw_srb()
773 for (i = 0; i < usg->count; i++) { in aac_send_raw_srb()
777 sg_count[i] = usg->sg[i].count; in aac_send_raw_srb()
783 kfree(usg); in aac_send_raw_srb()
791 sg_count[i], i, usg->count)); in aac_send_raw_srb()
792 kfree(usg); in aac_send_raw_srb()
796 sg_user[i] = (void __user *)(uintptr_t)usg->sg[i].addr; in aac_send_raw_srb()
803 kfree (usg); in aac_send_raw_srb()
817 kfree (usg); in aac_send_raw_srb()
830 struct user_sgmap64* usg = (struct user_sgmap64 *)upsg; in aac_send_raw_srb() local
835 sg_count[i] = usg->sg[i].count; in aac_send_raw_srb()
847 sg_count[i], i, usg->count)); in aac_send_raw_srb()
851 addr = (u64)usg->sg[i].addr[0]; in aac_send_raw_srb()
852 addr += ((u64)usg->sg[i].addr[1]) << 32; in aac_send_raw_srb()
866 usg->sg[i].count, in aac_send_raw_srb()
870 byte_count += usg->sg[i].count; in aac_send_raw_srb()