Lines Matching refs:i_size
74 while (!error && !stored && filp->f_pos < inode->i_size) { in ufs_readdir()
111 while (!error && filp->f_pos < inode->i_size in ufs_readdir()
209 if ((block << sb->s_blocksize_bits) >= dir->i_size) in ufs_find_entry()
217 for (block = 0, offset = 0; offset < dir->i_size; block++) { in ufs_find_entry()
244 while ((char *) de < dlimit && offset < dir->i_size) { in ufs_find_entry()
273 dir->i_size) in ufs_find_entry()
311 dir->i_ino, dir->i_size, error_msg, offset, in ufs_check_dir_entry()
404 if (dir->i_size <= offset) { in ufs_add_link()
405 if (dir->i_size == 0) { in ufs_add_link()
413 dir->i_size = offset + UFS_SECTOR_SIZE; in ufs_add_link()
569 if (inode->i_size < UFS_DIR_REC_LEN(1) + UFS_DIR_REC_LEN(2) || in ufs_empty_dir()
589 while (offset < inode->i_size ) { in ufs_empty_dir()