Searched refs:filemax (Results 1 - 18 of 18) sorted by relevance

/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dfsys_minix.c371 filemax = (INODE->i_size);
372 if (filemax + len > sizeof (linkbuf) - 2)
382 memmove (linkbuf + filemax, dirname, len);
384 linkbuf[filemax + len] = '\0';
387 len = grub_read (linkbuf, filemax);
422 filemax = (INODE->i_size);
H A Dfsys_ext2fs.c665 filemax = (INODE->i_size);
666 if (filemax + len > sizeof (linkbuf) - 2)
676 memmove (linkbuf + filemax, dirname, len);
678 linkbuf[filemax + len] = '\0';
684 len = grub_read (linkbuf, filemax);
692 len = filemax;
726 filemax = (INODE->i_size);
H A Ddisk_io.c144 int filemax; variable
1637 filemax = 0;
1648 || tmp == 0 || tmp > filemax)
1651 filemax = tmp;
1673 filemax += (tmp * SECTOR_SIZE);
1725 if ((filepos < 0) || (filepos > filemax))
1726 filepos = filemax;
1729 if ((len < 0) || (len > (filemax - filepos)))
1730 len = filemax - filepos;
1821 if (offset > filemax || offse
[all...]
H A Dfsys_reiserfs.c991 * of the file we were trying to look up, filepos is 0 and filemax is
1039 filemax = ((struct stat_data *) INFO->current_item)->sd_size;
1046 if (filemax + len > sizeof (linkbuf) - 1)
1054 grub_memmove (linkbuf + filemax, dirname, len+1);
1060 || reiserfs_read (linkbuf, filemax) != filemax)
1101 filemax = ((struct stat_data *) INFO->current_item)->sd_size;
1103 /* If this is a new stat data and size is > 4GB set filemax to
1108 filemax = 0xffffffff;
H A Dfsys_jfs.c301 filemax = di_size;
302 n = jfs_read (linkbuf, filemax);
321 filemax = di_size;
H A Dfsys_ffs.c210 filemax = INODE->i_size;
H A Dfsys_ufs.c98 filemax = INODE->ic_sizelo;
H A Dfsys_ufs2.c235 filemax = INODE_UFS2->di_size;
H A Dfsys_vstafs.c162 filemax = FILE_INFO->len;
H A Dfsys_fat.c342 filemax = MAXINT;
480 filemax = FAT_DIRENTRY_FILELENGTH (dir_buf);
H A Dfsys_iso9660.c352 filemax = MAXINT;
380 filemax = idr->size.l;
H A Dgunzip.c192 /* swap filemax */
193 itmp = filemax;
194 filemax = gzip_filemax;
508 if (filepos >= filemax - 8) {
510 for (pos = filemax - 8; pos < filepos; pos++)
512 if (filemax > filepos)
513 grub_read(eb, filemax - filepos);
H A Dboot.c148 pu.mb->load_end_addr = cur_addr + filemax;
268 text_len = filemax - data_len - SECTOR_SIZE;
535 && pu.aout->a_syms < (filemax - filepos))
H A Dfsys_xfs.c560 filemax = di_size;
561 n = xfs_read (linkbuf, filemax);
580 filemax = di_size;
H A Dfsys_zfs.c1502 filemax = *(uint64_t *)((char *)sahdrp + hdrsize +
1505 filemax = ((znode_phys_t *)DN_BONUS(DNODE))->zp_size;
H A Dshared.h721 extern int filemax;
H A Dbuiltins.c594 size = filemax;
609 if (size != filemax)
612 size, file1, filemax, file2);
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dfsys_tftp.c334 if ((filemax = getdec (&p)) < 0)
336 filemax = -1;
340 grub_printf ("tsize = %d\n", filemax);
612 filemax = -1;
642 if (filemax == -1)
648 filemax = 0;
652 filemax += buf_read;
665 filemax += buf_read;
837 arptable[ARP_GATEWAY].ipaddr, &filemax);
850 /* Read the entire file to get filemax */
[all...]

Completed in 58 milliseconds