Searched refs:linkbuf (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dfsys_minix.c308 char linkbuf[PATH_MAX]; /* buffer for following sym-links */ local
372 if (filemax + len > sizeof (linkbuf) - 2)
382 memmove (linkbuf + filemax, dirname, len);
384 linkbuf[filemax + len] = '\0';
387 len = grub_read (linkbuf, filemax);
393 printf ("symlink=%s\n", linkbuf);
396 dirname = linkbuf;
H A Dfsys_ext2fs.c558 char linkbuf[PATH_MAX]; /* buffer for following symbolic links */ local
666 if (filemax + len > sizeof (linkbuf) - 2)
676 memmove (linkbuf + filemax, dirname, len);
678 linkbuf[filemax + len] = '\0';
684 len = grub_read (linkbuf, filemax);
693 memmove (linkbuf, (char *) INODE->i_block, len);
697 printf ("symlink=%s\n", linkbuf);
700 dirname = linkbuf;
H A Dfsys_jfs.c282 char namebuf[JFS_NAME_MAX + 1], linkbuf[JFS_PATH_MAX]; local
297 grub_memmove (linkbuf, inode->di_fastsymlink, di_size);
302 n = jfs_read (linkbuf, filemax);
308 inum = (linkbuf[0] == '/') ? ROOT_I : parent_inum;
309 while (n < (JFS_PATH_MAX - 1) && (linkbuf[n++] = *dirname++));
310 linkbuf[n] = 0;
311 dirname = linkbuf;
H A Dfsys_xfs.c543 char linkbuf[xfs.bsize]; local
561 n = xfs_read (linkbuf, filemax);
567 ino = (linkbuf[0] == '/') ? xfs.rootino : parent_ino;
568 while (n < (xfs.bsize - 1) && (linkbuf[n++] = *dirname++));
569 linkbuf[n] = 0;
570 dirname = linkbuf;
H A Dfsys_reiserfs.c1003 char linkbuf[PATH_MAX]; /* buffer for following symbolic links */ local
1046 if (filemax + len > sizeof (linkbuf) - 1)
1054 grub_memmove (linkbuf + filemax, dirname, len+1);
1060 || reiserfs_read (linkbuf, filemax) != filemax)
1068 printf ("symlink=%s\n", linkbuf);
1071 dirname = linkbuf;
/osnet-11/usr/src/lib/libvolmgt/common/
H A Dvolmgt_on_private.c492 char linkbuf[MAXPATHLEN+4]; local
509 if ((lb_len = readlink(lpath, linkbuf,
510 sizeof (linkbuf))) < 0) {
513 linkbuf[lb_len] = NULLC; /* null terminate */
514 if ((cp = vol_basename(linkbuf)) == NULL) {

Completed in 70 milliseconds