Home
last modified time | relevance | path

Searched refs:linkbuf (Results 1 – 5 of 5) sorted by relevance

/xen/tools/libfsimage/ext2fs/
A Dfsys_ext2fs.c624 char linkbuf[PATH_MAX]; /* buffer for following symbolic links */ in ext2fs_dir() local
733 if (filemax + len > sizeof (linkbuf) - 2) in ext2fs_dir()
743 memmove (linkbuf + filemax, dirname, len); in ext2fs_dir()
745 linkbuf[filemax + len] = '\0'; in ext2fs_dir()
751 len = ext2fs_read (ffi, linkbuf, filemax); in ext2fs_dir()
760 memmove (linkbuf, (char *) INODE->i_block, len); in ext2fs_dir()
764 printf ("symlink=%s\n", linkbuf); in ext2fs_dir()
767 dirname = linkbuf; in ext2fs_dir()
/xen/tools/libfsimage/xfs/
A Dfsys_xfs.c542 char linkbuf[xfs.bsize]; in xfs_dir() local
560 n = xfs_read (ffi, linkbuf, filemax); in xfs_dir()
566 ino = (linkbuf[0] == '/') ? xfs.rootino : parent_ino; in xfs_dir()
567 while (n < (xfs.bsize - 1) && (linkbuf[n++] = *dirname++)); in xfs_dir()
568 linkbuf[n] = 0; in xfs_dir()
569 dirname = linkbuf; in xfs_dir()
/xen/tools/libfsimage/reiserfs/
A Dfsys_reiserfs.c991 char linkbuf[PATH_MAX]; /* buffer for following symbolic links */ in reiserfs_dir() local
1034 if (filemax + len > sizeof (linkbuf) - 1) in reiserfs_dir()
1042 grub_memmove (linkbuf + filemax, dirname, len+1); in reiserfs_dir()
1048 || reiserfs_read (ffi, linkbuf, filemax) != filemax) in reiserfs_dir()
1056 printf ("symlink=%s\n", linkbuf); in reiserfs_dir()
1059 dirname = linkbuf; in reiserfs_dir()
/xen/stubdom/grub.patches/
A D60ext4.diff389 char linkbuf[PATH_MAX]; /* buffer for following symbolic links */
410 linkbuf[filemax + len] = '\0';
429 memmove (linkbuf, (char *) INODE->i_block, len);
A D61btrfs.diff3008 + char **dirname, char *linkbuf,
3030 + grub_memmove(linkbuf + filemax, name, len + 1);
3050 + /* fill the rest of linkbuf with the content */
3051 + ret = btrfs_read(linkbuf, filemax);
3258 + char linkbuf[PATH_MAX];
3287 + linkbuf,
3292 + dirname = linkbuf;

Completed in 15 milliseconds