Searched refs:DFS_FILE_POS (Results 1 – 3 of 3) sorted by relevance
433 DFS_FILE_POS(fd) = 0; in char_dev_fopen()445 if (DFS_FILE_POS(fd) + count > part->fal_part->len) in char_dev_fread()446 count = part->fal_part->len - DFS_FILE_POS(fd); in char_dev_fread()448 ret = fal_partition_read(part->fal_part, DFS_FILE_POS(fd), buf, count); in char_dev_fread()453 DFS_FILE_POS(fd) += ret; in char_dev_fread()465 if (DFS_FILE_POS(fd) + count > part->fal_part->len) in char_dev_fwrite()466 count = part->fal_part->len - DFS_FILE_POS(fd); in char_dev_fwrite()468 ret = fal_partition_write(part->fal_part, DFS_FILE_POS(fd), buf, count); in char_dev_fwrite()473 DFS_FILE_POS(fd) += ret; in char_dev_fwrite()
66 #define DFS_FILE_POS(dfs_file) ((dfs_file)->pos) macro
104 #define DFS_FILE_POS(dfs_file) ((dfs_file)->fpos) macro
Completed in 8 milliseconds