Home
last modified time | relevance | path

Searched refs:step_trans_len (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.2/kernel/src/filesystem/fat32/
Dfat32.c626 int64_t step_trans_len = 0; // 当前循环传输的字节数 in fat32_read() local
628 step_trans_len = (fsbi->bytes_per_clus - bytes_offset); in fat32_read()
630 step_trans_len = bytes_remain; 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()
637 bytes_remain -= step_trans_len; in fat32_read()
638 buf += step_trans_len; in fat32_read()
641 *position += step_trans_len; // 更新文件指针 in fat32_read()
721 int64_t step_trans_len = 0; // 当前循环传输的字节数 in fat32_write() local
723 step_trans_len = (fsbi->bytes_per_clus - bytes_offset); in fat32_write()
[all …]