Searched refs:data_ptr (Results 1 – 2 of 2) sorted by relevance
312 unsigned char __user *data_ptr; in snd_sb_csp_riff_load() local325 data_ptr = mcode->data; in snd_sb_csp_riff_load()327 if (copy_from_user(&file_h, data_ptr, sizeof(file_h))) in snd_sb_csp_riff_load()334 data_ptr += sizeof(file_h); in snd_sb_csp_riff_load()335 data_end = data_ptr + le32_to_cpu(file_h.len); in snd_sb_csp_riff_load()337 if (copy_from_user(&item_type, data_ptr, sizeof(item_type))) in snd_sb_csp_riff_load()343 data_ptr += sizeof (item_type); in snd_sb_csp_riff_load()345 for (; data_ptr < data_end; data_ptr += le32_to_cpu(item_h.len)) { in snd_sb_csp_riff_load()346 if (copy_from_user(&item_h, data_ptr, sizeof(item_h))) in snd_sb_csp_riff_load()348 data_ptr += sizeof(item_h); in snd_sb_csp_riff_load()[all …]
1106 data_ptr