Searched refs:linkbuf (Results 1 – 5 of 5) sorted by relevance
/external/grub/stage2/ |
D | fsys_minix.c | 308 char linkbuf[PATH_MAX]; /* buffer for following sym-links */ in minix_dir() local 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() 393 printf ("symlink=%s\n", linkbuf); in minix_dir() 396 dirname = linkbuf; in minix_dir()
|
D | fsys_ext2fs.c | 510 char linkbuf[PATH_MAX]; /* buffer for following symbolic links */ in ext2fs_dir() local 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() 645 memmove (linkbuf, (char *) INODE->i_block, len); in ext2fs_dir() 649 printf ("symlink=%s\n", linkbuf); in ext2fs_dir() 652 dirname = linkbuf; in ext2fs_dir()
|
D | fsys_jfs.c | 282 char namebuf[JFS_NAME_MAX + 1], linkbuf[JFS_PATH_MAX]; in jfs_dir() local 297 grub_memmove (linkbuf, inode->di_fastsymlink, di_size); in jfs_dir() 302 n = jfs_read (linkbuf, filemax); in jfs_dir() 308 inum = (linkbuf[0] == '/') ? ROOT_I : parent_inum; in jfs_dir() 309 while (n < (JFS_PATH_MAX - 1) && (linkbuf[n++] = *dirname++)); in jfs_dir() 310 linkbuf[n] = 0; in jfs_dir() 311 dirname = linkbuf; in jfs_dir()
|
D | fsys_xfs.c | 543 char linkbuf[xfs.bsize]; in xfs_dir() local 561 n = xfs_read (linkbuf, filemax); in xfs_dir() 567 ino = (linkbuf[0] == '/') ? xfs.rootino : parent_ino; in xfs_dir() 568 while (n < (xfs.bsize - 1) && (linkbuf[n++] = *dirname++)); in xfs_dir() 569 linkbuf[n] = 0; in xfs_dir() 570 dirname = linkbuf; in xfs_dir()
|
D | fsys_reiserfs.c | 1002 char linkbuf[PATH_MAX]; /* buffer for following symbolic links */ in reiserfs_dir() local 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() 1067 printf ("symlink=%s\n", linkbuf); in reiserfs_dir() 1070 dirname = linkbuf; in reiserfs_dir()
|