Searched refs:bytes_offset (Results 1 – 1 of 1) sorted by relevance
590 uint64_t bytes_offset = (*position) % fsbi->bytes_per_clus; in fat32_read() local627 if (bytes_remain > (fsbi->bytes_per_clus - bytes_offset)) in fat32_read()628 step_trans_len = (fsbi->bytes_per_clus - bytes_offset); in fat32_read()633 copy_to_user(buf, tmp_buffer + bytes_offset, step_trans_len); in fat32_read()635 memcpy(buf, tmp_buffer + bytes_offset, step_trans_len); in fat32_read()639 bytes_offset -= bytes_offset; in fat32_read()675 uint64_t bytes_offset = (*position) % fsbi->bytes_per_clus; in fat32_write() local722 if (bytes_remain > (fsbi->bytes_per_clus - bytes_offset)) in fat32_write()723 step_trans_len = (fsbi->bytes_per_clus - bytes_offset); in fat32_write()729 copy_from_user(tmp_buffer + bytes_offset, buf, step_trans_len); in fat32_write()[all …]