Lines Matching defs:pos
157 int pos;
224 GRUB_XFS_ROUND_TO_DIRENT (int pos)
226 return ((((pos) + 8 - 1) / 8) * 8);
230 GRUB_XFS_NEXT_DIRENT (int pos, int len)
232 return (pos) + GRUB_XFS_ROUND_TO_DIRENT (8 + 1 + len + 2);
388 grub_off_t pos, grub_size_t len, char *buf)
391 pos, len, buf, grub_xfs_read_block,
572 int pos = 16;
590 while (pos < (dirblk_size
597 direntry = (struct grub_xfs_dir2_entry *) &dirblock[pos];
605 pos += grub_be_to_cpu16 (grub_get_unaligned16 (skip));
610 filename = &dirblock[pos + sizeof (*direntry)];
628 pos = GRUB_XFS_NEXT_DIRENT (pos, direntry->len);
629 pos = GRUB_XFS_ROUND_TO_DIRENT (pos);
680 data->pos = 0;