Searched refs:copy_pos (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_psp_ta.c | 149 uint32_t copy_pos = 0; in ta_if_load_debugfs_write() local 159 ret = copy_from_user((void *)&ta_type, &buf[copy_pos], sizeof(uint32_t)); in ta_if_load_debugfs_write() 163 copy_pos += sizeof(uint32_t); in ta_if_load_debugfs_write() 165 ret = copy_from_user((void *)&ta_bin_len, &buf[copy_pos], sizeof(uint32_t)); in ta_if_load_debugfs_write() 172 copy_pos += sizeof(uint32_t); in ta_if_load_debugfs_write() 177 if (copy_from_user((void *)ta_bin, &buf[copy_pos], ta_bin_len)) { in ta_if_load_debugfs_write() 251 uint32_t copy_pos = 0; in ta_if_unload_debugfs_write() local 261 ret = copy_from_user((void *)&ta_type, &buf[copy_pos], sizeof(uint32_t)); in ta_if_unload_debugfs_write() 265 copy_pos += sizeof(uint32_t); in ta_if_unload_debugfs_write() 267 ret = copy_from_user((void *)&ta_id, &buf[copy_pos], sizeof(uint32_t)); in ta_if_unload_debugfs_write() [all …]
|
/linux-6.12.1/fs/ |
D | dax.c | 1265 loff_t copy_pos = iter->pos; in dax_unshare_iter() local 1280 mod = offset_in_page(copy_pos); in dax_unshare_iter() 1283 copy_pos -= mod; in dax_unshare_iter() 1286 mod = offset_in_page(copy_pos + copy_len); in dax_unshare_iter() 1291 copy_pos >> PAGE_SHIFT, in dax_unshare_iter() 1292 (copy_pos + copy_len - 1) >> PAGE_SHIFT); in dax_unshare_iter() 1295 ret = dax_iomap_direct_access(iomap, copy_pos, copy_len, &daddr, NULL); in dax_unshare_iter() 1299 ret = dax_iomap_direct_access(srcmap, copy_pos, copy_len, &saddr, NULL); in dax_unshare_iter()
|