/linux-4.1.27/fs/sysfs/ |
H A D | Makefile | 5 obj-y := file.o dir.o symlink.o mount.o group.o
|
H A D | symlink.c | 2 * fs/sysfs/symlink.c - sysfs symlink implementation 56 * sysfs_create_link_sd - create symlink to a given object. 59 * @name: name of the symlink. 84 * sysfs_create_link - create symlink between two objects. 87 * @name: name of the symlink. 97 * sysfs_create_link_nowarn - create symlink between two objects. 100 * @name: name of the symlink. 112 * sysfs_delete_link - remove symlink in object's directory. 115 * @name: name of the symlink to remove. 138 * sysfs_remove_link - remove symlink in object's directory. 140 * @name: name of the symlink to remove. 156 * sysfs_rename_link_ns - rename symlink in object's directory. 159 * @old: previous name of the symlink. 160 * @new: new name of the symlink. 161 * @new_ns: new namespace of the symlink. 163 * A helper function for the common rename symlink idiom. 188 if (kn->symlink.target_kn->priv != targ) sysfs_rename_link_ns()
|
H A D | sysfs.h | 38 * symlink.c
|
H A D | dir.c | 82 * protection; however, when @kobj is used as a symlink target, the sysfs_remove_dir() 85 * and symlink code may end up dereferencing an already freed node. sysfs_remove_dir() 88 * disassociation against symlink operations so that symlink code sysfs_remove_dir()
|
H A D | mount.c | 2 * fs/sysfs/symlink.c - operations for initializing and mounting sysfs
|
H A D | group.c | 314 * sysfs_add_link_to_group - add a symlink to an attribute group. 317 * @target: The target kobject of the symlink to create. 318 * @link_name: The name of the symlink to create. 338 * sysfs_remove_link_from_group - remove a symlink from an attribute group. 341 * @link_name: The name of the symlink to remove.
|
/linux-4.1.27/fs/kernfs/ |
H A D | Makefile | 5 obj-y := mount.o inode.o dir.o file.o symlink.o
|
H A D | symlink.c | 2 * fs/kernfs/symlink.c - kernfs symlink implementation 18 * kernfs_create_link - create a symlink 19 * @parent: directory to create the symlink in 20 * @name: name of the symlink 21 * @target: target node for the symlink to point to 38 kn->symlink.target_kn = target; kernfs_create_link() 39 kernfs_get(target); /* ref owned by symlink */ kernfs_create_link() 105 struct kernfs_node *target = kn->symlink.target_kn; kernfs_getlink()
|
H A D | kernfs-internal.h | 115 * symlink.c
|
/linux-4.1.27/fs/autofs4/ |
H A D | Makefile | 7 autofs4-objs := init.o inode.o root.o symlink.o waitq.o expire.o dev-ioctl.o
|
H A D | symlink.c | 3 * linux/fs/autofs/symlink.c
|
H A D | expire.c | 378 DPRINTK("checking symlink %p %pd", dentry, dentry); should_expire() 380 * A symlink can't be "busy" in the usual sense so should_expire()
|
H A D | root.c | 63 .symlink = autofs4_dir_symlink, 370 * If the dentry is a symlink it's equivalent to a directory autofs4_d_automount()
|
/linux-4.1.27/fs/configfs/ |
H A D | Makefile | 7 configfs-objs := inode.o file.o dir.o symlink.o mount.o item.o
|
H A D | symlink.c | 4 * symlink.c - operations for configfs symlinks. 193 ret = -EPERM; /* What lack-of-symlink returns */ configfs_unlink()
|
H A D | dir.c | 1358 * Ensure that no racing symlink() will make detach_prep() fail while configfs_rmdir() 1430 .symlink = configfs_symlink,
|
/linux-4.1.27/fs/efs/ |
H A D | Makefile | 7 efs-objs := super.o inode.o namei.o dir.o file.o symlink.o
|
H A D | symlink.c | 2 * symlink.c
|
/linux-4.1.27/fs/sysv/ |
H A D | Makefile | 8 namei.o super.o symlink.o
|
H A D | symlink.c | 2 * linux/fs/sysv/symlink.c
|
H A D | namei.c | 284 .symlink = sysv_symlink,
|
/linux-4.1.27/fs/udf/ |
H A D | Makefile | 8 partition.o super.o truncate.o symlink.o \
|
H A D | symlink.c | 2 * symlink.c 105 unsigned char *symlink; udf_symlink_filler() local 122 symlink = iinfo->i_ext.i_data + iinfo->i_lenEAttr; udf_symlink_filler() 131 symlink = bh->b_data; udf_symlink_filler() 134 err = udf_pc_to_char(inode->i_sb, symlink, inode->i_size, p, PAGE_SIZE); udf_symlink_filler()
|
H A D | udf_i.h | 20 * the file/symlink, a fact whether data are in-inode or in external data
|
H A D | namei.c | 19 * 04/19/99 blf link, mknod, symlink support 1289 .symlink = udf_symlink,
|
/linux-4.1.27/fs/ufs/ |
H A D | Makefile | 8 namei.o super.o symlink.o truncate.o util.o
|
H A D | symlink.c | 2 * linux/fs/ufs/symlink.c 12 * linux/fs/ext2/symlink.c 21 * linux/fs/minix/symlink.c 25 * ext2 symlink handling code
|
H A D | namei.c | 138 /* slow symlink */ ufs_symlink() 145 /* fast symlink */ ufs_symlink() 351 .symlink = ufs_symlink,
|
H A D | ufs.h | 139 /* symlink.c */
|
H A D | ufs_fs.h | 480 __fs32 fs_maxsymlinklen;/* max length of an internal symlink */ 622 __u8 ui_symlink[4*(UFS_NDADDR+UFS_NINDIR)];/* 0x28 fast symlink */ 676 __u8 ui_symlink[2*4*(UFS_NDADDR+UFS_NINDIR)];/* 0x28 fast symlink */ 944 __fs32 fs_maxsymlinklen;/* max length of an internal symlink */
|
/linux-4.1.27/fs/affs/ |
H A D | Makefile | 9 affs-objs := super.o namei.o inode.o file.o dir.o amigaffs.o bitmap.o symlink.o
|
H A D | symlink.c | 2 * linux/fs/affs/symlink.c 8 * affs symlink handling code
|
H A D | dir.c | 35 .symlink = affs_symlink,
|
/linux-4.1.27/fs/ncpfs/ |
H A D | Makefile | 10 ncpfs-$(CONFIG_NCPFS_EXTRAS) += symlink.o 11 ncpfs-$(CONFIG_NCPFS_NFS_NS) += symlink.o
|
H A D | symlink.c | 2 * linux/fs/ncpfs/symlink.c 10 * When using the NFS namespace, we set the mode to indicate a symlink and 13 * from linux/fs/ext2/symlink.c 17 * ncpfs symlink handling code 34 /* these magic numbers must appear in the symlink file -- this makes it a bit 125 /* EPERM is returned by VFS if symlink procedure does not exist */ ncp_symlink() 146 symlink can point out of ncp filesystem */ ncp_symlink()
|
H A D | ncp_fs.h | 83 /* linux/fs/ncpfs/symlink.c */
|
/linux-4.1.27/fs/jfs/ |
H A D | Makefile | 10 jfs_extent.o symlink.o jfs_metapage.o \
|
H A D | namei.c | 858 * FUNCTION: creates a symbolic link to <symlink> by name <name> 931 /* fix symlink access permission jfs_symlink() 954 * if symlink is > 128 bytes, we don't have the space to jfs_symlink() 960 jfs_info("jfs_symlink: fast symlink added ssize:%d name:%s ", jfs_symlink() 973 * even though the data of symlink object (source jfs_symlink() 1513 .symlink = jfs_symlink,
|
H A D | jfs_incore.h | 90 unchar _inline[128]; /* 128: inline symlink */
|
/linux-4.1.27/fs/coda/ |
H A D | Makefile | 8 coda_linux.o symlink.o pioctl.o sysctl.o
|
H A D | dir.c | 133 /* creation routines: create, mknod, mkdir, link, symlink */ coda_create() 562 .symlink = coda_symlink,
|
H A D | upcall.c | 413 offset = INSIZE(symlink); venus_symlink() 414 insize = max_t(unsigned int, offset + len + symlen + 8, OUTSIZE(symlink)); venus_symlink()
|
/linux-4.1.27/fs/ext2/ |
H A D | Makefile | 8 ioctl.o namei.o super.o symlink.o
|
H A D | symlink.c | 2 * linux/fs/ext2/symlink.c 13 * linux/fs/minix/symlink.c 17 * ext2 symlink handling code
|
H A D | namei.c | 180 /* slow symlink */ ext2_symlink() 190 /* fast symlink */ ext2_symlink() 404 .symlink = ext2_symlink,
|
/linux-4.1.27/fs/ext3/ |
H A D | Makefile | 8 ioctl.o namei.o super.o symlink.o hash.o resize.o ext3_jbd.o
|
H A D | symlink.c | 2 * linux/fs/ext3/symlink.c 13 * linux/fs/minix/symlink.c 17 * ext3 symlink handling code
|
H A D | namei.c | 1984 * not a directory, not a symlink and ->i_nlink > 0. ext3_orphan_add() 2247 * Fast symlink. We have to add entry to directory ext3_symlink() 2277 * we have to stop transaction now and restart it when symlink ext3_symlink() 2558 .symlink = ext3_symlink,
|
/linux-4.1.27/tools/testing/selftests/exec/ |
H A D | Makefile | 3 DEPS = execveat.symlink execveat.denatured script subdir 12 execveat.symlink: execveat
|
H A D | execveat.c | 216 char *fullname_symlink = concat(fullname, ".symlink"); run_tests() 225 int fd_symlink = open_or_die("execveat.symlink", O_RDONLY); run_tests() 283 fail += check_execveat(dot_dfd, "execveat.symlink", 0); run_tests() 284 fail += check_execveat(dot_dfd_path, "execveat.symlink", 0); run_tests() 294 fail += check_execveat_fail(dot_dfd, "execveat.symlink", run_tests() 296 fail += check_execveat_fail(dot_dfd_path, "execveat.symlink", run_tests()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
H A D | u_ecm.h | 30 * and create symlink/remove symlink.
|
H A D | u_eem.h | 30 * and create symlink/remove symlink.
|
H A D | u_gether.h | 30 * and create symlink/remove symlink.
|
H A D | u_midi.h | 33 * and create symlink/remove symlink.
|
H A D | u_ncm.h | 30 * and create symlink/remove symlink.
|
H A D | u_printer.h | 31 * and create symlink/remove symlink
|
H A D | g_zero.h | 37 * and create symlink/remove symlink. 52 * and create symlink/remove symlink.
|
H A D | u_hid.h | 33 * and create symlink/remove symlink.
|
H A D | u_rndis.h | 36 * and create symlink/remove symlink.
|
H A D | f_mass_storage.h | 91 * and create symlink/remove symlink.
|
H A D | u_uvc.h | 80 * read/write and symlink creation/removal.
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
H A D | Makefile | 4 rw.o namei.o symlink.o llite_mmap.o \
|
H A D | symlink.c | 62 * printing just the last part of the symlink. */ ll_readlink_internal() 63 CDEBUG(D_INODE, "using cached symlink %s%.*s, len = %d\n", ll_readlink_internal() 93 CERROR("inode %lu: symlink length %d not expected %d\n", ll_readlink_internal() 103 CERROR("inode %lu: symlink not NULL terminated string of length %d\n", ll_readlink_internal() 110 /* do not return an error if we cannot cache the symlink locally */ ll_readlink_internal() 129 /* Limit the recursive symlink depth to 5 instead of default ll_follow_link()
|
/linux-4.1.27/fs/ext4/ |
H A D | Makefile | 8 ioctl.o namei.o super.o symlink.o hash.o resize.o extents.o \
|
H A D | symlink.c | 2 * linux/fs/ext4/symlink.c 13 * linux/fs/minix/symlink.c 17 * ext4 symlink handling code
|
H A D | ext4_crypto.h | 147 * store a filename of length l in encrypted symlink format.
|
H A D | migrate.c | 458 * don't migrate fast symlink ext4_ext_migrate()
|
/linux-4.1.27/fs/ocfs2/ |
H A D | symlink.h | 4 * symlink.h 33 * Test whether an inode is a fast symlink.
|
H A D | Makefile | 38 symlink.o \
|
H A D | symlink.c | 4 * linux/cluster/ssi/cfs/symlink.c 27 * Jun 7 1999, cache symlink lookups in the page cache. -DaveM 31 * ocfs2 symlink handling code. 51 #include "symlink.h"
|
H A D | extent_map.c | 40 #include "symlink.h" 710 * with the fast symlink, cause they have no difference for extent 773 * Handle inline-data and fast symlink separately. ocfs2_fiemap()
|
H A D | journal.h | 418 /* data block for new dir/symlink, allocation of directory block, dx_root 431 * alloc group descriptor + mkdir/symlink blocks + dir blocks + xattr
|
H A D | aops.c | 47 #include "symlink.h" 94 /* We don't use the page cache to create symlink data, so if ocfs2_symlink_get_block() 102 mlog(ML_ERROR, "couldn't getblock for symlink!\n"); ocfs2_symlink_get_block()
|
H A D | namei.c | 60 #include "symlink.h" 2888 .symlink = ocfs2_symlink,
|
/linux-4.1.27/fs/jffs2/ |
H A D | Makefile | 10 jffs2-y += symlink.o build.o erase.o background.o fs.o writev.o
|
H A D | symlink.c | 43 * 2. Nobody uses f->target (if the inode is symlink's inode). The jffs2_follow_link() 51 pr_err("%s(): can't find symlink target\n", __func__); jffs2_follow_link()
|
H A D | jffs2_fs_i.h | 45 /* The target path if this is the inode of a symlink */
|
H A D | os-linux.h | 162 /* symlink.c */
|
H A D | dir.c | 56 .symlink = jffs2_symlink, 358 jffs2_dbg(1, "%s(): symlink's target '%s' cached\n", jffs2_symlink()
|
H A D | readinode.c | 1241 /* Hack to work around broken isize in old symlink code. jffs2_do_read_inode_internal() 1250 * keep in RAM to facilitate quick follow symlink jffs2_do_read_inode_internal() 1260 JFFS2_ERROR("can't allocate %u bytes of memory for the symlink target path cache\n", csize); jffs2_do_read_inode_internal() 1280 dbg_readinode("symlink's target '%s' cached\n", f->target); jffs2_do_read_inode_internal()
|
H A D | fs.c | 72 jffs2_dbg(1, "%s(): Writing %d bytes of symlink target\n", jffs2_do_setattr()
|
/linux-4.1.27/fs/nfs/ |
H A D | symlink.c | 2 * linux/fs/nfs/symlink.c 8 * Jun 7 1999, cache symlink lookups in the page cache. -DaveM 10 * nfs symlink handling code
|
H A D | Makefile | 9 direct.o pagelist.o read.o symlink.o unlink.o \
|
H A D | nfs3proc.c | 273 struct nfs3_symlinkargs symlink; member in union:nfs3_createdata::__anon11076 525 dprintk("NFS call symlink %pd\n", dentry); nfs3_proc_symlink() 531 data->arg.symlink.fromfh = NFS_FH(dir); nfs3_proc_symlink() 532 data->arg.symlink.fromname = dentry->d_name.name; nfs3_proc_symlink() 533 data->arg.symlink.fromlen = dentry->d_name.len; nfs3_proc_symlink() 534 data->arg.symlink.pages = &page; nfs3_proc_symlink() 535 data->arg.symlink.pathlen = len; nfs3_proc_symlink() 536 data->arg.symlink.sattr = sattr; nfs3_proc_symlink() 542 dprintk("NFS reply symlink: %d\n", status); nfs3_proc_symlink() 892 .symlink = nfs_symlink, 947 .symlink = nfs3_proc_symlink,
|
H A D | proc.c | 402 dprintk("NFS call symlink %pd\n", dentry); nfs_proc_symlink() 428 dprintk("NFS reply symlink: %d\n", status); nfs_proc_symlink() 684 .symlink = nfs_symlink, 723 .symlink = nfs_proc_symlink,
|
H A D | dir.c | 1263 * procfs-style symlink. Just assume it's correct for now, but we may nfs_weak_revalidate() 1887 * symlink request has completed on the server. 1902 dfprintk(VFS, "NFS: symlink(%s/%lu, %pd, %s)\n", dir->i_sb->s_id, nfs_symlink() 1922 error = NFS_PROTO(dir)->symlink(dir, dentry, page, pathlen, &attr); nfs_symlink() 1925 dfprintk(VFS, "NFS: symlink(%s/%lu, %pd, %s) error %d\n", nfs_symlink()
|
H A D | nfs3xdr.c | 934 * nfs_fh3 symlink; 1090 * symlinkdata3 symlink; 2516 PROC(SYMLINK, symlink, create, 0),
|
H A D | nfs4xdr.c | 1154 *p = cpu_to_be32(create->u.symlink.len); encode_create() 1155 xdr_write_pages(xdr, create->u.symlink.pages, 0, create->u.symlink.len); encode_create() 3293 dprintk("%s: symlink support=%s\n", __func__, *res == 0 ? "false" : "true"); decode_attr_symlink_support() 5136 /* Convert length of symlink */ decode_readlink() 5142 dprintk("nfs: server returned giant symlink!\n"); decode_readlink()
|
/linux-4.1.27/fs/squashfs/ |
H A D | symlink.c | 21 * symlink.c 63 * Skip index bytes into symlink metadata. squashfs_symlink_readpage() 69 ERROR("Unable to read symlink [%llx:%x]\n", squashfs_symlink_readpage() 77 * Read length bytes from symlink metadata. Squashfs_read_metadata squashfs_symlink_readpage() 86 ERROR("Unable to read symlink [%llx:%x]\n", squashfs_symlink_readpage()
|
H A D | squashfs.h | 108 /* symlink.c */
|
H A D | squashfs_fs.h | 336 char symlink[0]; member in struct:squashfs_symlink_inode 405 struct squashfs_symlink_inode symlink; member in union:squashfs_inode
|
H A D | inode.c | 284 struct squashfs_symlink_inode *sqsh_ino = &squashfs_ino.symlink; squashfs_read_inode()
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_symlink.c | 97 "symlink header does not match required off/len/owner (0x%x/Ox%x,0x%llx)", xfs_readlink_bmap() 144 xfs_alert(mp, "%s: inode (%llu) bad symlink length (%lld)", xfs_readlink() 229 * The symlink will fit into the inode data fork? xfs_symlink() 281 * Allocate an inode for the symlink. xfs_symlink() 306 * If the symlink will fit into the inode, write it inline. xfs_symlink() 375 * Create the directory entry for the symlink. xfs_symlink() 386 * symlink transaction goes to disk before returning to xfs_symlink() 434 * Free a symlink that has blocks associated with it. 456 * We're freeing a symlink that has some xfs_inactive_symlink_rmt() 562 * xfs_inactive_symlink - free a symlink 588 xfs_alert(mp, "%s: inode (0x%llx) bad symlink length (%d)", xfs_inactive_symlink() 606 /* remove the remote symlink */ xfs_inactive_symlink()
|
H A D | xfs_symlink.h | 20 /* Kernel only symlink defintions */
|
H A D | xfs_iops.c | 1125 .symlink = xfs_vn_symlink, 1153 .symlink = xfs_vn_symlink,
|
/linux-4.1.27/include/linux/ |
H A D | shmem_fs.h | 20 char *symlink; /* unswappable short symlink */ member in union:shmem_inode_info::__anon12428
|
H A D | configfs.h | 211 * If allow_link() exists, the item can symlink(2) out to other
|
H A D | nfs_fs.h | 470 * linux/fs/nfs/symlink.c
|
H A D | kernfs.h | 127 struct kernfs_elem_symlink symlink; member in union:kernfs_node::__anon11883
|
H A D | nfs_xdr.h | 861 } symlink; /* NF4LNK */ member in union:nfs4_create_arg::__anon12301 1475 int (*symlink) (struct inode *, struct dentry *, struct page *, member in struct:nfs_rpc_ops
|
H A D | mm_types.h | 422 /* store ref to file /proc/<pid>/exe symlink points to */
|
/linux-4.1.27/security/tomoyo/ |
H A D | audit.c | 248 const char *symlink = NULL; tomoyo_init_log() local 265 symlink = r->obj->symlink_target->name; tomoyo_init_log() 266 /* +18 is for " symlink.target=\"%s\"" */ tomoyo_init_log() 267 len += 18 + strlen(symlink); tomoyo_init_log() 280 } else if (symlink) tomoyo_init_log() 281 pos += snprintf(buf + pos, len - pos, " symlink.target=\"%s\"", tomoyo_init_log() 282 symlink); tomoyo_init_log()
|
H A D | condition.c | 790 struct tomoyo_path_info *symlink; tomoyo_condition() local 794 symlink = obj ? obj->symlink_target : NULL; tomoyo_condition() 795 if (!symlink || tomoyo_condition() 796 !tomoyo_compare_name_union(symlink, ptr) tomoyo_condition()
|
H A D | common.c | 34 [TOMOYO_MAC_FILE_SYMLINK] = "symlink", 86 [TOMOYO_TYPE_IS_SYMLINK] = "symlink", 105 [TOMOYO_SYMLINK_TARGET] = "symlink.target", 150 [TOMOYO_TYPE_SYMLINK] = "symlink", 1941 char *symlink = NULL; tomoyo_add_entry() local 1963 symlink = strstr(header, " symlink.target=\""); tomoyo_add_entry() 1964 if (symlink) tomoyo_add_entry() 1965 len += tomoyo_truncate(symlink + 1) + 1; tomoyo_add_entry() 1975 if (symlink) tomoyo_add_entry() 1976 tomoyo_addprintf(buffer, len, "%s", symlink); tomoyo_add_entry()
|
H A D | common.h | 597 * than symlink(). 702 * "file symlink", "file chroot" and "file unmount" directive.
|
H A D | domain.c | 700 /* Get symlink's pathname of program. */ tomoyo_find_next_domain()
|
H A D | file.c | 776 * tomoyo_path_perm - Check permission for "unlink", "rmdir", "truncate", "symlink", "append", "chroot" and "unmount".
|
/linux-4.1.27/fs/afs/ |
H A D | mntpt.c | 63 /* read the contents of the symlink into the pagecache */ afs_mntpt_check_symlink() 77 /* examine the symlink's contents */ afs_mntpt_check_symlink() 79 _debug("symlink to %*.*s", (int) size, (int) size, buf); afs_mntpt_check_symlink() 85 _debug("symlink is a mountpoint"); afs_mntpt_check_symlink() 171 /* read the contents of the AFS special symlink */ afs_mntpt_do_automount()
|
H A D | file.c | 123 * read page from file, directory or symlink, given a key to use 212 * read page from file, directory or symlink, given a file to nominate the key
|
H A D | inode.c | 242 /* it's a symlink we just created (the fileserver afs_iget() 297 * directory or symlink */ afs_zap_data() 308 * symlink)
|
H A D | security.c | 80 * symlink 334 AFS_ACE_INSERT | /* create, mkdir, symlink, rename to */ afs_permission()
|
H A D | dir.c | 56 .symlink = afs_symlink, 1013 * create a symlink in an AFS filesystem
|
/linux-4.1.27/fs/cifs/ |
H A D | link.c | 193 /* it's not a symlink */ couldbe_mf_symlink() 197 /* it's not a symlink */ couldbe_mf_symlink() 259 if (bytes_read == 0) { /* not a symlink */ query_mf_symlink() 281 /* it's not a symlink */ check_mf_symlink() 297 if (bytes_read == 0) /* not a symlink */ check_mf_symlink() 302 /* it's not a symlink */ check_mf_symlink() 310 /* it is a symlink */ check_mf_symlink() 352 /* it's not a symlink */ cifs_query_mf_symlink() 452 /* it's not a symlink */ smb3_query_mf_symlink() 524 /* Make sure we wrote all of the symlink data */ smb3_create_mf_symlink() 735 cifs_dbg(FYI, "Create symlink ok, getinodeinfo fail rc = %d\n", cifs_symlink()
|
H A D | smb2inode.c | 130 FILE_ALL_INFO *data, bool *adjust_tz, bool *symlink) smb2_query_path_info() 136 *symlink = false; smb2_query_path_info() 147 *symlink = true; smb2_query_path_info() 128 smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, FILE_ALL_INFO *data, bool *adjust_tz, bool *symlink) smb2_query_path_info() argument
|
H A D | smb2ops.c | 987 struct smb2_symlink_err_rsp *symlink; smb2_query_symlink() local 1009 /* open must fail on symlink - reset rc */ smb2_query_symlink() 1011 symlink = (struct smb2_symlink_err_rsp *)err_buf->ErrorData; smb2_query_symlink() 1012 sub_len = le16_to_cpu(symlink->SubstituteNameLength); smb2_query_symlink() 1013 sub_offset = le16_to_cpu(symlink->SubstituteNameOffset); smb2_query_symlink() 1015 (char *)symlink->PathBuffer + sub_offset, smb2_query_symlink()
|
H A D | smb2proto.h | 64 bool *adjust_tz, bool *symlink);
|
H A D | smb1ops.c | 546 FILE_ALL_INFO *data, bool *adjustTZ, bool *symlink) cifs_query_path_info() 550 *symlink = false; cifs_query_path_info() 585 *symlink = true; cifs_query_path_info() 544 cifs_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const char *full_path, FILE_ALL_INFO *data, bool *adjustTZ, bool *symlink) cifs_query_path_info() argument
|
H A D | inode.c | 588 bool symlink) cifs_all_info_to_fattr() 616 if (symlink) { cifs_all_info_to_fattr() 720 bool symlink = false; cifs_get_inode_info() local 750 data, &adjust_tz, &symlink); cifs_get_inode_info() 755 symlink); cifs_get_inode_info() 586 cifs_all_info_to_fattr(struct cifs_fattr *fattr, FILE_ALL_INFO *info, struct cifs_sb_info *cifs_sb, bool adjust_tz, bool symlink) cifs_all_info_to_fattr() argument
|
H A D | smb2misc.c | 176 /* create failed on symlink */ smb2_check_message()
|
H A D | cifspdu.h | 2695 /* xsymlink is a symlink format (used by MacOS) that can be used 2696 to save symlink info in a regular file when 2700 as containing symlink data:
|
/linux-4.1.27/fs/xfs/libxfs/ |
H A D | xfs_symlink_remote.c | 75 * Checking of the symlink header is split into two parts. the verifier does 190 * As this symlink fits in an inode literal area, it must also fit in xfs_symlink_local_to_remote()
|
H A D | xfs_trans_resv.h | 39 struct xfs_trans_res tr_symlink; /* symlink trans */
|
H A D | xfs_fs.h | 65 #define XFS_XFLAG_NOSYMLINKS 0x00000400 /* disallow symlink creation */
|
H A D | xfs_format.h | 981 #define XFS_DIFLAG_NOSYMLINKS_BIT 10 /* disallow symlink creation */ 1138 * Remote symlink format and access functions.
|
/linux-4.1.27/arch/um/os-Linux/ |
H A D | user_syms.c | 80 EXPORT_SYMBOL_PROTO(symlink); variable
|
/linux-4.1.27/fs/befs/ |
H A D | befs.h | 69 char symlink[BEFS_SYMLINK_LEN]; member in union:befs_inode_info::__anon10752
|
H A D | linuxvfs.c | 384 strlcpy(befs_ino->i_data.symlink, raw_inode->data.symlink, befs_iget() 412 "directory or symlink. THAT IS WRONG! BeFS has no " befs_iget() 480 befs_error(sb, "Long symlink with illegal length"); befs_follow_link() 483 befs_debug(sb, "Follow long symlink"); befs_follow_link() 490 befs_error(sb, "Failed to read entire long symlink"); befs_follow_link() 506 nd_set_link(nd, befs_ino->i_data.symlink); befs_fast_follow_link()
|
H A D | befs_fs_types.h | 193 char symlink[BEFS_SYMLINK_LEN]; member in union:__anon10759::__anon10760
|
H A D | datastream.c | 116 * befs_read_lsmylink - read long symlink from datastream. 119 * @buff: Buffer in which to place long symlink data 120 * @len: Length of the long symlink in bytes
|
H A D | debug.c | 105 befs_debug(sb, " Symbolic link [%s]", inode->data.symlink); befs_dump_inode()
|
/linux-4.1.27/fs/exofs/ |
H A D | namei.c | 115 /* slow symlink */ exofs_symlink() 124 /* fast symlink */ exofs_symlink() 310 .symlink = exofs_symlink,
|
H A D | exofs.h | 89 uint32_t i_data[EXOFS_IDATA];/*short symlink names and device #s*/ 210 /* symlink.c */
|
H A D | common.h | 180 __le32 i_data[EXOFS_IDATA]; /* Short symlink names and device #s */
|
/linux-4.1.27/fs/hpfs/ |
H A D | namei.c | 293 static int hpfs_symlink(struct inode *dir, struct dentry *dentry, const char *symlink) hpfs_symlink() argument 336 result->i_size = strlen(symlink); hpfs_symlink() 350 hpfs_set_ea(result, fnode, "SYMLINK", symlink, strlen(symlink)); hpfs_symlink() 620 .symlink = hpfs_symlink,
|
/linux-4.1.27/fs/9p/ |
H A D | vfs_inode.c | 1226 * v9fs_readlink - read a symlink's location (internal version) 1227 * @dentry: dentry for symlink 1228 * @buffer: buffer to load symlink location into 1274 * v9fs_vfs_follow_link - follow a symlink path 1275 * @dentry: dentry for symlink 1304 * v9fs_vfs_put_link - release a symlink path 1305 * @dentry: dentry for symlink 1355 * @dir: directory inode containing symlink 1356 * @dentry: dentry for symlink 1357 * @symname: symlink data 1500 .symlink = v9fs_vfs_symlink,
|
H A D | vfs_inode_dotl.c | 905 * v9fs_vfs_follow_link_dotl - follow a symlink path 906 * @dentry: dentry for symlink 980 .symlink = v9fs_vfs_symlink_dotl,
|
/linux-4.1.27/drivers/iio/adc/ |
H A D | ti-adc128s052.c | 6 * http://www.ti.com/lit/ds/symlink/adc128s052.pdf
|
/linux-4.1.27/fs/nfsd/ |
H A D | xdr.h | 127 struct nfsd_symlinkargs symlink; member in union:nfsd_xdrstore
|
H A D | nfs3proc.c | 124 * Read a symlink. 134 /* Read the symlink. */ nfsd3_proc_readlink()
|
H A D | nfsproc.c | 96 * Read a symlink. 106 /* Read the symlink. */ nfsd_proc_readlink()
|
H A D | vfs.c | 1497 * Read a symlink. On entry, *lenp must contain the maximum path length that 1544 * Create a symlink and look up its inode
|
/linux-4.1.27/fs/ceph/ |
H A D | strings.c | 71 case CEPH_MDS_OP_SYMLINK: return "symlink"; ceph_mds_op_name()
|
H A D | mds_client.h | 41 char *symlink; member in struct:ceph_mds_reply_info_in
|
H A D | file.c | 104 dout("init_file %p %p 0%o (symlink)\n", inode, file, ceph_init_file() 227 * file or symlink, return 1 so the VFS can retry. 295 /* make vfs retry on splice, ENOENT, or symlink */ ceph_atomic_open()
|
H A D | dir.c | 761 dout("symlink in dir %p dentry %p to '%s'\n", dir, dentry, dest); ceph_symlink() 1378 .symlink = ceph_symlink,
|
H A D | inode.c | 812 sym = kstrndup(iinfo->symlink, symlen, GFP_NOFS); fill_inode() 1177 * mknod symlink mkdir : null -> new inode ceph_fill_trace()
|
/linux-4.1.27/fs/freevxfs/ |
H A D | vxfs_immed.c | 65 * vxfs_immed_follow_link - follow immed symlink
|
/linux-4.1.27/drivers/i2c/ |
H A D | i2c-mux.c | 191 "can't create symlink to mux device\n"); i2c_add_mux_adapter() 195 "can't create symlink for channel %u\n", chan_id); i2c_add_mux_adapter()
|
/linux-4.1.27/drivers/base/ |
H A D | devcoredump.c | 275 /* nothing - symlink will be missing */; dev_coredumpm() 279 /* nothing - symlink will be missing */; dev_coredumpm()
|
/linux-4.1.27/net/bridge/ |
H A D | br_sysfs_if.c | 272 * Puts symlink in bridge's brif subdirectory 295 /* Rename bridge's brif symlink */ br_sysfs_renameif()
|
/linux-4.1.27/scripts/package/ |
H A D | Makefile | 15 # c) Build a tar ball, using symlink to make kernel version 19 # - Use /. to avoid tar packing just the symlink
|
/linux-4.1.27/fs/f2fs/ |
H A D | namei.c | 306 /* this is broken symlink case */ f2fs_follow_link() 344 * Let's flush symlink data in order to avoid broken symlink as much as f2fs_symlink() 349 * If the symlink path is stored into inline_data, there is no f2fs_symlink() 789 .symlink = f2fs_symlink,
|
/linux-4.1.27/fs/ |
H A D | namei.c | 49 * The new code replaces the old recursive symlink resolution with 50 * an iterative one (in case of non-nested symlink chains). It does 60 * [29-Apr-1998 C. Scott Ananian] Updated above description of symlink 63 * Note that the symlink resolution is not *completely* iterative. 72 * New symlink semantics: when open() is called with flags O_CREAT | O_EXCL 73 * and the name already exists in form of a symlink, try to create the new 74 * name indicated by the symlink. The old code always complained that the 75 * name already exists, due to not following the symlink even if its target 77 * the name is a symlink pointing to a non-existent name. 83 * Note that "ln old new" where "new" is a symlink pointing to a non-existing 88 /* [16-Dec-97 Kevin Buhr] For security reasons, we change some symlink 91 * [10-Sep-98 Alan Modra] Another symlink change. 758 * may_follow_link - Check symlink following for unsafe situations 759 * @link: The path of the symlink 763 * CAP_DAC_OVERRIDE needs to be specifically ignored if the symlink is 768 * world-writable directory, or when the uid of the symlink and follower 769 * match, or when the directory owner matches the symlink's owner. 771 * Returns 0 if following the symlink is allowed, -ve on error. 1651 * This limits recursive symlink follows to 8, while 2286 * cases where it won't are if nd->last refers to a symlink or the path is 2295 * symlink that needs to be followed. "path" will also be populated. 2298 * 1: if we successfully resolved nd->last and found it to be a symlink 2332 * so that means that this dentry is probably a symlink or the mountpoint_last() 3043 * possible mount and symlink following (this might be optimized away if do_last() 3266 while (unlikely(error > 0)) { /* trailing symlink */ path_openat() 3885 if (!dir->i_op->symlink) vfs_symlink() 3892 error = dir->i_op->symlink(dir, dentry, oldname); vfs_symlink() 3930 SYSCALL_DEFINE2(symlink, const char __user *, oldname, const char __user *, newname) SYSCALL_DEFINE2()
|
H A D | bad_inode.c | 132 .symlink = bad_inode_symlink,
|
H A D | fhandle.c | 85 * @flag: flag value to indicate whether to follow symlink or not
|
/linux-4.1.27/drivers/gpio/ |
H A D | gpiolib-sysfs.c | 632 * @dev: device under which to create symlink 633 * @name: name of the symlink 634 * @gpio: gpio to create symlink to, already exported 636 * Set up a symlink from /sys/.../dev/name to /sys/class/gpio/gpioN
|
/linux-4.1.27/fs/logfs/ |
H A D | dir.c | 18 * Create, link, mkdir, mknod and symlink all share the same function to do 428 /* symlink */ __logfs_create() 439 /* FIXME: truncate symlink */ __logfs_create() 792 .symlink = logfs_symlink,
|
/linux-4.1.27/fs/minix/ |
H A D | namei.c | 263 .symlink = minix_symlink,
|
/linux-4.1.27/security/apparmor/ |
H A D | audit.c | 34 "symlink",
|
/linux-4.1.27/fs/gfs2/ |
H A D | inode.c | 460 * @symname: The symlink destination (if a symlink) 1165 * gfs2_symlink - Create a symlink 1166 * @dir: The directory to create the symlink in 1167 * @dentry: The dentry to put the symlink in 1942 .symlink = gfs2_symlink,
|
/linux-4.1.27/fs/nilfs2/ |
H A D | namei.c | 165 /* slow symlink */ nilfs_symlink() 558 .symlink = nilfs_symlink,
|
/linux-4.1.27/drivers/media/pci/cx18/ |
H A D | cx18-alsa-main.c | 123 /* sc->shortname is a symlink in /proc/asound: CX18-M -> cardN */ snd_cx18_card_set_names()
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
H A D | ivtv-alsa-main.c | 123 /* sc->shortname is a symlink in /proc/asound: IVTV-M -> cardN */ snd_ivtv_card_set_names()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
H A D | thermal.c | 205 ath10k_err(ar, "failed to create thermal symlink\n"); ath10k_thermal_register()
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-bq32k.c | 12 * http://www.ti.com/lit/ds/symlink/bq32000.pdf
|
/linux-4.1.27/drivers/hwmon/ |
H A D | ads1015.c | 8 * Datasheet available at: http://focus.ti.com/lit/ds/symlink/ads1015.pdf
|
H A D | ina2xx.c | 141 * http://www.ti.com/lit/ds/symlink/ina226.pdf.
|
H A D | acpi_power_meter.c | 602 /* Create a symlink to domain objects */ read_domain_devices()
|
/linux-4.1.27/fs/overlayfs/ |
H A D | overlayfs.h | 89 pr_debug("symlink(\"%s\", %pd2) = %i\n", oldname, dentry, err); ovl_do_symlink()
|
H A D | dir.c | 945 .symlink = ovl_symlink,
|
/linux-4.1.27/fs/ramfs/ |
H A D | inode.c | 144 .symlink = ramfs_symlink,
|
/linux-4.1.27/fs/hostfs/ |
H A D | hostfs_user.c | 281 err = symlink(to, from); make_symlink()
|
H A D | hostfs_kern.c | 884 .symlink = hostfs_symlink,
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | systbl.h | 90 SYSCALL_SPU(symlink)
|
/linux-4.1.27/net/ceph/ |
H A D | debugfs.c | 28 * .../bdi - symlink to ../../bdi/something
|
/linux-4.1.27/net/sunrpc/ |
H A D | debugfs.c | 159 /* no "debugfs" dentry? Don't bother with the symlink. */ rpc_clnt_debugfs_register()
|
/linux-4.1.27/scripts/ |
H A D | gen_initramfs_list.sh | 65 # symlink test must come before file test
|
/linux-4.1.27/tools/thermal/tmon/ |
H A D | tmon.c | 166 syslog(LOG_ERR, "Log file is a symlink. Will not log\n"); prepare_logging()
|
/linux-4.1.27/fs/isofs/ |
H A D | rock.c | 689 * readpage() for symlinks: reads symlink contents into the page and either 796 printk("symlink spans iso9660 blocks\n"); rock_ridge_symlink_readpage()
|
/linux-4.1.27/include/net/9p/ |
H A D | 9p.h | 82 * @P9_TSYMLINK: make symlink request 83 * @P9_RSYMLINK: make symlink response
|
/linux-4.1.27/include/linux/ceph/ |
H A D | ceph_fs.h | 290 * & 0x010000 -> follow symlink (e.g. stat(), not lstat()). 475 /* followed by frag array, symlink string, dir layout, xattr blob */
|
/linux-4.1.27/tools/perf/util/ |
H A D | build-id.c | 390 if (symlink(targetname, linkname) == 0) build_id_cache__add_s()
|
/linux-4.1.27/fs/reiserfs/ |
H A D | namei.c | 826 retval = reiserfs_new_inode(&th, dir, mode, NULL /*symlink */ , reiserfs_mkdir() 1616 .symlink = reiserfs_symlink, 1632 * symlink operations.. same as page_symlink_inode_operations, with xattr
|
H A D | inode.c | 1865 * containing the body of symlink 1891 "i/o failure occurred creating new symlink"); reiserfs_new_symlink() 1902 /* insert item, that is body of symlink */ reiserfs_new_symlink() 1909 * directory) or reiserfs_new_symlink (to insert symlink body if new 1910 * object is symlink) or nothing (if new object is regular file) 1920 * @symname: symlink contents if inode is symlink 2003 /* symlink cannot be immutable or append only, right? */ reiserfs_new_inode() 2090 /* insert body of symlink */ reiserfs_new_inode()
|
H A D | prints.c | 352 * symlink.c 17000 - 17999
|
/linux-4.1.27/drivers/clk/ |
H A D | clk-cdce706.c | 6 * Reference: http://www.ti.com/lit/ds/symlink/cdce706.pdf
|
/linux-4.1.27/fs/romfs/ |
H A D | super.c | 85 S_IFLNK | 0777, /* symlink */
|
/linux-4.1.27/fs/hfsplus/ |
H A D | dir.c | 556 .symlink = hfsplus_symlink,
|
/linux-4.1.27/include/uapi/linux/ |
H A D | coda.h | 521 struct CodaFid VFid; /* Directory to put symlink in */
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | compat_wrapper.c | 90 COMPAT_SYSCALL_WRAP2(symlink, const char __user *, old, const char __user *, new);
|
/linux-4.1.27/arch/parisc/kernel/ |
H A D | syscall_table.S | 158 ENTRY_SAME(symlink)
|
/linux-4.1.27/usr/ |
H A D | gen_init_cpio.c | 16 * External file lists, symlink, pipe and fifo support by Thayne Harbaugh
|
/linux-4.1.27/drivers/parisc/ |
H A D | pdc_stable.c | 334 /* Update the symlink to the real device */ pdcspath_hwpath_write() 1002 /* Add a nice symlink to the real device */ pdcs_register_pathentries()
|
/linux-4.1.27/mm/ |
H A D | shmem.c | 601 kfree(info->symlink); shmem_evict_inode() 2448 info->symlink = kmemdup(symname, len, GFP_KERNEL); shmem_symlink() 2449 if (!info->symlink) { shmem_symlink() 2479 nd_set_link(nd, SHMEM_I(d_inode(dentry))->symlink); shmem_follow_short_symlink() 3147 .symlink = shmem_symlink,
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
H A D | debugfs-vif.c | 658 * Create symlink for convenience pointing to interface specific iwl_mvm_vif_dbgfs_register()
|
/linux-4.1.27/drivers/edac/ |
H A D | edac_device_sysfs.c | 824 /* create a symlink from the edac device edac_device_create_sysfs()
|
H A D | edac_pci_sysfs.c | 483 /* Remove the symlink */ edac_pci_remove_sysfs()
|
/linux-4.1.27/fs/fuse/ |
H A D | fuse_i.h | 730 * Initialize inode operations on a symlink
|
/linux-4.1.27/fs/btrfs/ |
H A D | send.c | 1467 * An empty symlink inode. Can happen in rare error paths when read_symlink() 1468 * creating a symlink (transaction committed before the inode read_symlink() 1469 * eviction handler removed the symlink inode items and a crash read_symlink() 1472 * can delete the symlink. read_symlink() 1475 "Found empty symlink inode %llu at root %llu", read_symlink()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
H A D | debugfs.c | 2420 * Create a symlink with mac80211. This is not very robust, as it does iwl_dbgfs_register() 2421 * not remove the symlink created. The implicit assumption is that iwl_dbgfs_register() 2423 * this symlink as part of its cleanup. iwl_dbgfs_register()
|