Home
last modified time | relevance | path

Searched refs:filepos (Results 1 – 24 of 24) sorted by relevance

/titanic_44/usr/src/grub/grub-0.97/stage2/
H A Dfsys_xfs.c382 filepos &= ~(xfs.dirbsize - 1); in next_dentry()
383 filepos |= xfs.blkoff; in next_dentry()
390 filepos += toread; in next_dentry()
422 filepos = 0; in first_dentry()
426 filepos = xfs.dirbsize - sizeof(*tail); in first_dentry()
448 filepos = xfs.blkoff; in first_dentry()
495 grub_memmove (buf, inode->di_u.di_c + filepos, len); in xfs_read()
496 filepos += len; in xfs_read()
500 startpos = filepos; in xfs_read()
501 endpos = filepos + len; in xfs_read()
[all …]
H A Dfsys_vstafs.c42 extern int filepos;
200 if (filepos > 0) in vstafs_read()
202 if (filepos < a[0].a_len * 512 - VSTAFS_START_DATA) in vstafs_read()
204 offset = filepos + VSTAFS_START_DATA; in vstafs_read()
206 curr_len = a[0].a_len * 512 - offset - filepos; in vstafs_read()
211 offset = filepos - ext_size; in vstafs_read()
H A Dfsys_jfs.c235 startpos = filepos; in jfs_read()
236 endpos = filepos + len; in jfs_read()
242 if (isinxt (filepos >> jfs.l2bsize, offset, xadlen)) { in jfs_read()
245 ? len : (endofcur - filepos); in jfs_read()
249 filepos - (offset << jfs.l2bsize), toread, buf); in jfs_read()
254 filepos += toread; in jfs_read()
259 filepos += toread; in jfs_read()
269 return filepos - startpos; in jfs_read()
300 filepos = 0; in jfs_dir()
320 filepos = 0; in jfs_dir()
H A Dfsys_fat.c209 size = FAT_SUPER->root_max - filepos; in fat_read()
212 if (!devread(FAT_SUPER->root_offset, filepos, size, buf)) in fat_read()
214 filepos += size; in fat_read()
218 logical_clust = filepos >> FAT_SUPER->clustsize_bits; in fat_read()
219 offset = (filepos & ((1 << FAT_SUPER->clustsize_bits) - 1)); in fat_read()
285 filepos += size; in fat_read()
311 filepos = 0; in fat_dir()
481 filepos = 0; in fat_dir()
H A Dgunzip.c188 itmp = filepos; in gunzip_swap_values()
189 filepos = gzip_filepos; in gunzip_swap_values()
289 filepos = 0; in gunzip_test_header()
312 gzip_data_offset = filepos; in gunzip_test_header()
330 filepos = 0; in gunzip_test_header()
497 if (filepos == gzip_data_offset || bufloc == INBUFSIZ) in get_byte()
500 int old_filepos = filepos; in get_byte()
508 if (filepos >= filemax - 8) { in get_byte()
510 for (pos = filemax - 8; pos < filepos; pos++) in get_byte()
512 if (filemax > filepos) in get_byte()
[all …]
H A Ddisk_io.c144 int filepos; variable
1709 filepos = 0; in grub_open()
1814 if ((filepos < 0) || (filepos > filemax)) in grub_read()
1815 filepos = filemax; in grub_read()
1818 if ((len < 0) || (len > (filemax - filepos))) in grub_read()
1819 len = filemax - filepos; in grub_read()
1824 if (filepos + len > fsmax) in grub_read()
1843 if (filepos < BLK_CUR_FILEPOS) in grub_read()
1851 while (filepos > BLK_CUR_FILEPOS) in grub_read()
1853 if ((filepos - (BLK_CUR_FILEPOS & ~(SECTOR_SIZE - 1))) in grub_read()
[all …]
H A Dfsys_ufs.c97 filepos = 0; in ufs_dir()
112 off = blkoff(SUPERBLOCK, filepos); in ufs_read()
113 lblk = lblkno(SUPERBLOCK, filepos); in ufs_read()
131 filepos += size; in ufs_read()
H A Dfsys_ffs.c151 off = blkoff (SUPERBLOCK, filepos); in ffs_read()
152 logno = lblkno (SUPERBLOCK, filepos); in ffs_read()
171 filepos += size; in ffs_read()
H A Dfsys_minix.c257 logical_block = filepos >> BLOCK_SIZE_BITS; in minix_read()
258 offset = filepos & (BLOCK_SIZE - 1); in minix_read()
280 filepos += size; in minix_read()
388 filepos = 0; in minix_dir()
H A Dfsys_ufs2.c176 off = blkoff (SUPERBLOCK, filepos); in ufs2_read()
177 logno = lblkno (SUPERBLOCK, filepos); in ufs2_read()
196 filepos += size; in ufs2_read()
H A Dfsys_iso9660.c379 filepos = 0; in iso9660_dir()
423 blkoffset = filepos & (ISO_SECTOR_SIZE - 1); in iso9660_read()
424 sector = filepos >> ISO_SECTOR_BITS; in iso9660_read()
441 filepos += size; in iso9660_read()
H A Dfsys_reiserfs.c896 filepos, len, (__u64) IH_KEY_OFFSET (INFO->current_ih) - 1); in reiserfs_read()
900 || IH_KEY_OFFSET (INFO->current_ih) > filepos + 1) in reiserfs_read()
911 offset = filepos - IH_KEY_OFFSET (INFO->current_ih) + 1; in reiserfs_read()
916 filepos, len, offset, blocksize); in reiserfs_read()
974 filepos += to_read; in reiserfs_read()
1058 filepos = 0; in reiserfs_dir()
1100 filepos = 0; in reiserfs_dir()
H A Dfsys_zfs.c1803 filepos = 0; in zfs_open()
1832 if (filepos >= file_start && filepos+len <= file_end) { in zfs_read()
1833 grub_memmove(buf, file_buf + filepos - file_start, len); in zfs_read()
1834 filepos += len; in zfs_read()
1862 uint64_t blkid = filepos / blksz; in zfs_read()
1870 movesize = MIN(length, file_end - filepos); in zfs_read()
1872 grub_memmove(buf, file_buf + filepos - file_start, in zfs_read()
1876 filepos += movesize; in zfs_read()
H A Dfsys_ext2fs.c469 logical_block = filepos >> EXT2_BLOCK_SIZE_BITS (SUPERBLOCK); in ext2fs_read()
470 offset = filepos & (EXT2_BLOCK_SIZE (SUPERBLOCK) - 1); in ext2fs_read()
496 filepos += size; in ext2fs_read()
685 filepos = 0; in ext2fs_dir()
H A Dshared.h722 extern int filepos;
H A Dboot.c535 && pu.aout->a_syms < (filemax - filepos)) in load_image()
H A Dbuiltins.c5125 grub_printf ("Max is 0x10ac0: i=0x%x, filepos=0x%x\n", i, filepos); in testload_func()
/titanic_44/usr/src/grub/grub-0.97/netboot/
H A Dfsys_tftp.c512 if (filepos < saved_filepos) in tftp_read()
543 int amt = buf_read + saved_filepos - filepos; in tftp_read()
553 grub_memmove (addr, buf + filepos - saved_filepos, amt); in tftp_read()
556 filepos += amt; in tftp_read()
561 if (filepos - saved_filepos > FSYS_BUFLEN / 2) in tftp_read()
765 if (filepos < saved_filepos) { in tftp_read_undi()
771 int amt = buf_read + saved_filepos - filepos; in tftp_read_undi()
780 grub_memmove (addr, buf + filepos - saved_filepos, amt); in tftp_read_undi()
783 filepos += amt; in tftp_read_undi()
789 if (filepos - saved_filepos > FSYS_BUFLEN / 2) { in tftp_read_undi()
/titanic_44/usr/src/cmd/bart/
H A Dcompare.c538 int end_pos, len, iscomment = 0, filepos; in read_manifest_line() local
546 filepos = ftell(fd); in read_manifest_line()
551 if (filepos == 0) { in read_manifest_line()
/titanic_44/usr/src/grub/grub-0.97/docs/
H A Dinternals.texi220 @item filepos
223 @strong{Caution:} the value of @var{filepos} can be changed out from
H A Dgrub.info-4195 * filepos: Filesystem interface.
H A Dgrub.info-3358 filepos=Y' reading has X and Y equal, then it is definitely
1296 `filepos'
H A Dgrub.info3067 filepos=Y' reading has X and Y equal, then it is definitely
4005 `filepos'
4239 * filepos: Filesystem interface. (line 52)
H A Dgrub.texi3220 filepos=@var{Y}} reading has @var{X} and @var{Y} equal, then it is