Home
last modified time | relevance | path

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

/external/grub/netboot/
Dfsys_tftp.c147 if ((filemax = getdec (&p)) < 0) in buf_fill()
149 filemax = -1; in buf_fill()
153 grub_printf ("tsize = %d\n", filemax); in buf_fill()
425 filemax = -1; in tftp_dir()
455 if (filemax == -1) in tftp_dir()
461 filemax = 0; in tftp_dir()
465 filemax += buf_read; in tftp_dir()
478 filemax += buf_read; in tftp_dir()
/external/grub/stage2/
Dfsys_minix.c371 filemax = (INODE->i_size); in minix_dir()
372 if (filemax + len > sizeof (linkbuf) - 2) in minix_dir()
382 memmove (linkbuf + filemax, dirname, len); in minix_dir()
384 linkbuf[filemax + len] = '\0'; in minix_dir()
387 len = grub_read (linkbuf, filemax); in minix_dir()
422 filemax = (INODE->i_size); in minix_dir()
Dfsys_ext2fs.c617 filemax = (INODE->i_size); in ext2fs_dir()
618 if (filemax + len > sizeof (linkbuf) - 2) in ext2fs_dir()
628 memmove (linkbuf + filemax, dirname, len); in ext2fs_dir()
630 linkbuf[filemax + len] = '\0'; in ext2fs_dir()
636 len = grub_read (linkbuf, filemax); in ext2fs_dir()
644 len = filemax; in ext2fs_dir()
678 filemax = (INODE->i_size); in ext2fs_dir()
Ddisk_io.c128 int filemax; variable
1563 filemax = 0; in grub_open()
1574 || tmp == 0 || tmp > filemax) in grub_open()
1577 filemax = tmp; in grub_open()
1599 filemax += (tmp * SECTOR_SIZE); in grub_open()
1651 if ((filepos < 0) || (filepos > filemax)) in grub_read()
1652 filepos = filemax; in grub_read()
1655 if ((len < 0) || (len > (filemax - filepos))) in grub_read()
1656 len = filemax - filepos; in grub_read()
1747 if (offset > filemax || offset < 0) in grub_seek()
Dfsys_reiserfs.c1038 filemax = ((struct stat_data *) INFO->current_item)->sd_size; in reiserfs_dir()
1045 if (filemax + len > sizeof (linkbuf) - 1) in reiserfs_dir()
1053 grub_memmove (linkbuf + filemax, dirname, len+1); in reiserfs_dir()
1059 || reiserfs_read (linkbuf, filemax) != filemax) in reiserfs_dir()
1100 filemax = ((struct stat_data *) INFO->current_item)->sd_size; in reiserfs_dir()
1107 filemax = 0xffffffff; in reiserfs_dir()
Dfsys_jfs.c301 filemax = di_size; in jfs_dir()
302 n = jfs_read (linkbuf, filemax); in jfs_dir()
321 filemax = di_size; in jfs_dir()
Dfsys_iso9660.c345 filemax = MAXINT; in iso9660_dir()
373 filemax = idr->size.l; in iso9660_dir()
Dfsys_fat.c341 filemax = MAXINT; in fat_dir()
479 filemax = FAT_DIRENTRY_FILELENGTH (dir_buf); in fat_dir()
Dgunzip.c188 itmp = filemax; in gunzip_swap_values()
189 filemax = gzip_filemax; in gunzip_swap_values()
309 filepos = filemax - 8; in gunzip_test_header()
Dfsys_xfs.c560 filemax = di_size; in xfs_dir()
561 n = xfs_read (linkbuf, filemax); in xfs_dir()
580 filemax = di_size; in xfs_dir()
Dfsys_vstafs.c162 filemax = FILE_INFO->len; in vstafs_dir()
Dboot.c148 pu.mb->load_end_addr = cur_addr + filemax; in load_image()
268 text_len = filemax - data_len - SECTOR_SIZE; in load_image()
535 && pu.aout->a_syms < (filemax - filepos)) in load_image()
Dfsys_ffs.c210 filemax = INODE->i_size; in ffs_dir()
Dfsys_ufs2.c235 filemax = INODE_UFS2->di_size; in ufs2_dir()
Dbuiltins.c511 size = filemax; in cmp_func()
526 if (size != filemax) in cmp_func()
529 size, file1, filemax, file2); in cmp_func()
2441 if (filemax > MB_CMDLINE_BUFLEN) { in cmdline_func()
Dshared.h667 extern int filemax;
/external/grub/docs/
Dinternals.texi227 @item filemax
Dgrub.info4012 `filemax'
4238 * filemax: Filesystem interface. (line 59)