Lines Matching refs:f_pos
38 if (f->f_pos & (BFS_DIRENT_SIZE-1)) {
39 printf("Bad f_pos=%08lx for %s:%08lx\n", (unsigned long)f->f_pos,
45 while (f->f_pos < dir->i_size) {
46 offset = f->f_pos & (BFS_BSIZE-1);
47 block = BFS_I(dir)->i_sblock + (f->f_pos >> BFS_BSIZE_BITS);
50 f->f_pos += BFS_BSIZE - offset;
57 if (filldir(dirent, de->name, size, f->f_pos, le16_to_cpu(de->ino), DT_UNKNOWN) < 0) {
64 f->f_pos += BFS_DIRENT_SIZE;
65 } while (offset < BFS_BSIZE && f->f_pos < dir->i_size);