Searched defs:symlink (Results 1 - 16 of 16) sorted by relevance

/osnet-11/usr/src/lib/libc/port/sys/
H A Dsymlink.c37 #pragma weak _symlink = symlink
39 symlink(const char *path1, const char *path2) function
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_realpath.c72 * Find the real name of path, by removing all ".", ".." and symlink
88 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; local
193 slen = readlink(resolved, symlink,
194 sizeof (symlink) - 1);
197 symlink[slen] = '\0';
199 if (symlink[0] == '/') {
212 * append them to symlink. The result is placed
216 if (symlink[slen - 1] != '/') {
217 if (slen + 1 >= sizeof (symlink)) {
221 symlink[sle
[all...]
/osnet-11/usr/src/lib/libfuse/common/
H A Dfuse_compat.h27 int (*symlink) (const char *, const char *); member in struct:fuse_operations_compat25
86 int (*symlink) (const char *, const char *); member in struct:fuse_operations_compat22
137 int (*symlink) (const char *, const char *); member in struct:fuse_operations_compat2
185 int (*symlink) (const char *, const char *); member in struct:fuse_operations_compat1
H A Dfuse.h111 * This is called for creation of all non-directory, non-symlink
127 int (*symlink) (const char *, const char *); member in struct:fuse_operations
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dfshelp.c33 READ_SYMLINK is used to read the symlink if a node is a symlink.
144 /* Read in the symlink and follow it. */
147 char *symlink; local
149 /* Test if the symlink does not loop. */
158 symlink = read_symlink (currnode);
161 if (!symlink)
167 /* The symlink is an absolute path, go back to the root inode. */
168 if (symlink[0] == '/')
174 /* Lookup the node the symlink point
[all...]
H A Daffs.c84 hashtable, symlink and block pointers (all synonyms). */
268 char *symlink;
272 symlink = grub_malloc (symlink_size + 1);
273 if (!symlink)
277 symlink_size, symlink);
280 grub_free (symlink);
283 symlink[symlink_size] = 1;
284 grub_dprintf ("affs", "Symlink: `%s'\n", symlink);
285 return symlink;
266 char *symlink; local
H A Dminix.c328 /* Lookup the symlink the current inode points to. INO is the inode
329 number of the directory the symlink is relative to. */
333 char symlink[GRUB_MINIX_INODE_SIZE (data) + 1];
339 GRUB_MINIX_INODE_SIZE (data), symlink) < 0)
342 symlink[GRUB_MINIX_INODE_SIZE (data)] = '\0';
344 /* The symlink is an absolute path, go back to the root inode. */
345 if (symlink[0] == '/')
352 grub_minix_find_file (data, symlink);
354 grub_error (grub_errno, "cannot follow symlink `%s'", symlink);
332 char symlink[GRUB_MINIX_INODE_SIZE (data) + 1]; local
[all...]
H A Dsfs.c326 char *symlink;
342 symlink = grub_strdup (&block[24]);
344 if (!symlink)
347 return symlink;
324 char *symlink; local
H A Diso9660.c164 char symlink[0]; member in struct:grub_fshelp_node
507 ? grub_strdup (node->symlink
536 char *symlink = 0;
538 /* Extend the symlink. */
545 int size = symlink ? grub_strlen (symlink) : 0;
547 symlink = grub_realloc (symlink, size + len2 + 1);
548 if (! symlink)
551 symlink[siz
535 char *symlink = 0; local
[all...]
H A Djfs.c204 /* Fast symlink. */
209 } symlink; member in union:grub_jfs_inode::__anon404
677 /* Check if this is a symlink. */
716 char symlink[size + 1];
721 if (size <= sizeof (data->currinode.symlink.path))
722 grub_strncpy (symlink, (char *) (data->currinode.symlink.path), size);
723 else if (grub_jfs_read_file (data, 0, 0, size, symlink) < 0)
726 symlink[size] = '\0';
728 /* The symlink i
715 char symlink[size + 1]; local
[all...]
H A Dsquash4.c122 } __attribute__ ((packed)) symlink; member in union:grub_squash_inode::__anon420
456 ret = grub_malloc (grub_le_to_cpu32 (node->ino.symlink.namelen) + 1);
459 grub_le_to_cpu32 (node->ino.symlink.namelen),
462 node->ino_offset + (node->ino.symlink.name
469 ret[grub_le_to_cpu32 (node->ino.symlink.namelen)] = 0;
H A Dufs.c161 grub_uint8_t symlink[(GRUB_UFS_DIRBLKS + GRUB_UFS_INDIRBLKS) * 8]; member in union:grub_ufs_inode::__anon434
185 grub_uint8_t symlink[(GRUB_UFS_DIRBLKS + GRUB_UFS_INDIRBLKS) * 4]; member in union:grub_ufs_inode::__anon436
395 /* Lookup the symlink the current inode points to. INO is the inode
396 number of the directory the symlink is relative to. */
400 char symlink[INODE_SIZE (data) + 1];
405 if (INODE_SIZE (data) <= sizeof (data->inode.symlink))
406 grub_strcpy (symlink, (char *) INODE (data, symlink));
408 grub_ufs_read_file (data, 0, 0, INODE_SIZE (data), symlink);
409 symlink[INODE_SIZ
399 char symlink[INODE_SIZE (data) + 1]; local
[all...]
H A Dxfs.c410 char *symlink;
413 symlink = grub_malloc (size + 1);
414 if (!symlink)
417 numread = grub_xfs_read_file (node, 0, 0, size, symlink);
420 grub_free (symlink);
423 symlink[size] = '\0';
424 return symlink;
408 char *symlink; local
H A Dext2.c226 char symlink[60]; member in union:grub_ext2_inode::__anon389
622 char *symlink;
632 symlink = grub_malloc (grub_le_to_cpu32 (diro->inode.size) + 1);
633 if (! symlink)
636 /* If the filesize of the symlink is bigger than
637 60 the symlink is stored in a separate block,
640 grub_strncpy (symlink,
641 diro->inode.symlink,
647 symlink);
650 grub_free (symlink);
621 char *symlink; local
[all...]
H A Dhfsplus.c592 char *symlink;
595 symlink = grub_malloc (node->size + 1);
596 if (!symlink)
599 numread = grub_hfsplus_read_file (node, 0, 0, node->size, symlink);
602 grub_free (symlink);
605 symlink[node->size] = '\0';
607 return symlink;
590 char *symlink; local
H A Dnilfs2.c839 char *symlink;
849 symlink = grub_malloc (grub_le_to_cpu64 (diro->inode.i_size) + 1);
850 if (!symlink)
854 grub_le_to_cpu64 (diro->inode.i_size), symlink);
857 grub_free (symlink);
861 symlink[grub_le_to_cpu64 (diro->inode.i_size)] = '\0';
862 return symlink;
838 char *symlink; local

Completed in 65 milliseconds