Searched refs:linkbuf (Results 1 – 5 of 5) sorted by relevance
/xen/tools/libfsimage/ext2fs/ |
A D | fsys_ext2fs.c | 624 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 D | fsys_xfs.c | 542 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 D | fsys_reiserfs.c | 991 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 D | 60ext4.diff | 389 char linkbuf[PATH_MAX]; /* buffer for following symbolic links */ 410 linkbuf[filemax + len] = '\0'; 429 memmove (linkbuf, (char *) INODE->i_block, len);
|
A D | 61btrfs.diff | 3008 + 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