Lines Matching refs:usg
744 struct user_sgmap* usg; in aac_send_raw_srb() local
745 usg = kmemdup(upsg, in aac_send_raw_srb()
748 if (!usg) { in aac_send_raw_srb()
755 for (i = 0; i < usg->count; i++) { in aac_send_raw_srb()
759 sg_count[i] = usg->sg[i].count; in aac_send_raw_srb()
765 kfree(usg); in aac_send_raw_srb()
773 sg_count[i], i, usg->count)); in aac_send_raw_srb()
774 kfree(usg); in aac_send_raw_srb()
778 sg_user[i] = (void __user *)(uintptr_t)usg->sg[i].addr; in aac_send_raw_srb()
785 kfree (usg); in aac_send_raw_srb()
799 kfree (usg); in aac_send_raw_srb()
812 struct user_sgmap64* usg = (struct user_sgmap64 *)upsg; in aac_send_raw_srb() local
817 sg_count[i] = usg->sg[i].count; in aac_send_raw_srb()
829 sg_count[i], i, usg->count)); in aac_send_raw_srb()
833 addr = (u64)usg->sg[i].addr[0]; in aac_send_raw_srb()
834 addr += ((u64)usg->sg[i].addr[1]) << 32; in aac_send_raw_srb()
848 usg->sg[i].count, in aac_send_raw_srb()
852 byte_count += usg->sg[i].count; in aac_send_raw_srb()