Searched refs:file_size (Results 1 – 7 of 7) sorted by relevance
167 inode->file_size = fdata->readlen; in procfs_open()244 pos = file_ptr->dEntry->dir_inode->file_size + offset; in procfs_lseek()252 if (pos < 0 || pos > file_ptr->dEntry->dir_inode->file_size) in procfs_lseek()356 inode->file_size = 0; in procfs_create()397 inode->file_size = 0; in procfs_mkdir()
331 p->file_size = sinfo.de->DIR_FileSize; in fat32_lookup()333 p->blocks = (p->file_size + fsbi->bytes_per_clus - 1) / fsbi->bytes_per_sec; in fat32_lookup()429 sb_ptr->root->dir_inode->file_size = 0; in fat32_read_superblock()432 (sb_ptr->root->dir_inode->file_size + fsbi->bytes_per_clus - 1) / fsbi->bytes_per_sec; in fat32_read_superblock()504 fdEntry->DIR_FileSize = inode->file_size; in fat32_write_inode()600 if (*position + count > file_ptr->dEntry->dir_inode->file_size) in fat32_read()601 count = file_ptr->dEntry->dir_inode->file_size - *position; in fat32_read()771 if (*position > (file_ptr->dEntry->dir_inode->file_size)) in fat32_write()773 file_ptr->dEntry->dir_inode->file_size = *position; in fat32_write()807 pos = file_ptr->dEntry->dir_inode->file_size + offset; in fat32_lseek()[all …]
367 target->DIR_FileSize = dEntry->dir_inode->file_size; in fat32_fill_shortname()
152 uint64_t file_size; // 文件大小164 **file_size**
313 int file_size = lseek(fd, 0, SEEK_END); in shell_cmd_cat() local319 while (file_size > 0) in shell_cmd_cat()324 file_size -= l; in shell_cmd_cat()
74 uint64_t file_size; // 文件大小 member
515 file_ptr->dEntry->dir_inode->file_size = 0; in do_open()518 file_ptr->position = file_ptr->dEntry->dir_inode->file_size; in do_open()