/linux-4.4.14/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 | 114 * symlink.c
|
/linux-4.4.14/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 | group.c | 327 * sysfs_add_link_to_group - add a symlink to an attribute group. 330 * @target: The target kobject of the symlink to create. 331 * @link_name: The name of the symlink to create. 351 * sysfs_remove_link_from_group - remove a symlink from an attribute group. 354 * @link_name: The name of the symlink to remove. 370 * __compat_only_sysfs_link_entry_to_kobj - add a symlink to a kobject pointing
|
H A D | mount.c | 2 * fs/sysfs/symlink.c - operations for initializing and mounting sysfs
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/fs/udf/ |
H A D | Makefile | 8 partition.o super.o truncate.o symlink.o \
|
H A D | symlink.c | 2 * symlink.c 108 unsigned char *symlink; udf_symlink_filler() local 125 symlink = iinfo->i_ext.i_data + iinfo->i_lenEAttr; udf_symlink_filler() 134 symlink = bh->b_data; udf_symlink_filler() 137 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 1340 .symlink = udf_symlink,
|
/linux-4.4.14/fs/ufs/ |
H A D | Makefile | 8 namei.o super.o symlink.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 | 125 /* slow symlink */ ufs_symlink() 132 /* fast symlink */ ufs_symlink() 331 .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.4.14/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.4.14/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.4.14/fs/ext2/ |
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 | Makefile | 8 ioctl.o namei.o super.o symlink.o
|
H A D | namei.c | 184 /* slow symlink */ ext2_symlink() 194 /* fast symlink */ ext2_symlink() 424 .symlink = ext2_symlink,
|
/linux-4.4.14/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()
|
H A D | lproc_llite.c | 907 { LPROC_LL_SYMLINK, LPROCFS_TYPE_REGS, "symlink" },
|
H A D | namei.c | 1122 .symlink = ll_symlink,
|
/linux-4.4.14/fs/jfs/ |
H A D | Makefile | 10 jfs_extent.o symlink.o jfs_metapage.o \
|
H A D | namei.c | 873 * FUNCTION: creates a symbolic link to <symlink> by name <name> 947 /* fix symlink access permission jfs_symlink() 970 * if symlink is > 128 bytes, we don't have the space to jfs_symlink() 976 jfs_info("jfs_symlink: fast symlink added ssize:%d name:%s ", jfs_symlink() 989 * even though the data of symlink object (source jfs_symlink() 1534 .symlink = jfs_symlink,
|
H A D | jfs_incore.h | 90 unchar _inline[128]; /* 128: inline symlink */
|
/linux-4.4.14/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.4.14/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.4.14/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 | 150 * store a filename of length l in encrypted symlink format.
|
H A D | migrate.c | 457 * don't migrate fast symlink ext4_ext_migrate()
|
/linux-4.4.14/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" 712 * with the fast symlink, cause they have no difference for extent 775 * 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" 2909 .symlink = ocfs2_symlink,
|
/linux-4.4.14/fs/jffs2/ |
H A D | Makefile | 10 jffs2-y += symlink.o build.o erase.o background.o fs.o writev.o
|
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, 359 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() 1257 JFFS2_ERROR("can't allocate %u bytes of memory for the symlink target path cache\n", csize); jffs2_do_read_inode_internal() 1273 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.4.14/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::__anon11678 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 | 1255 * procfs-style symlink. Just assume it's correct for now, but we may nfs_weak_revalidate() 1873 * symlink request has completed on the server. 1888 dfprintk(VFS, "NFS: symlink(%s/%lu, %pd, %s)\n", dir->i_sb->s_id, nfs_symlink() 1908 error = NFS_PROTO(dir)->symlink(dir, dentry, page, pathlen, &attr); nfs_symlink() 1911 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; 2517 PROC(SYMLINK, symlink, create, 0),
|
H A D | nfs4xdr.c | 1169 *p = cpu_to_be32(create->u.symlink.len); encode_create() 1170 xdr_write_pages(xdr, create->u.symlink.pages, 0, encode_create() 1171 create->u.symlink.len); encode_create() 3307 dprintk("%s: symlink support=%s\n", __func__, *res == 0 ? "false" : "true"); decode_attr_symlink_support() 5222 /* Convert length of symlink */ decode_readlink() 5228 dprintk("nfs: server returned giant symlink!\n"); decode_readlink()
|
/linux-4.4.14/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.4.14/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() 227 * The symlink will fit into the inode data fork? xfs_symlink() 278 * Allocate an inode for the symlink. xfs_symlink() 303 * If the symlink will fit into the inode, write it inline. xfs_symlink() 372 * Create the directory entry for the symlink. xfs_symlink() 383 * symlink transaction goes to disk before returning to xfs_symlink() 430 * Free a symlink that has blocks associated with it. 452 * We're freeing a symlink that has some xfs_inactive_symlink_rmt() 558 * xfs_inactive_symlink - free a symlink 584 xfs_alert(mp, "%s: inode (0x%llx) bad symlink length (%d)", xfs_inactive_symlink() 602 /* remove the remote symlink */ xfs_inactive_symlink()
|
H A D | xfs_symlink.h | 20 /* Kernel only symlink defintions */
|
H A D | xfs_iops.c | 1122 .symlink = xfs_vn_symlink, 1150 .symlink = xfs_vn_symlink,
|
/linux-4.4.14/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.4.14/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.4.14/drivers/iio/adc/ |
H A D | ti-adc128s052.c | 6 * http://www.ti.com/lit/ds/symlink/adc128s052.pdf 7 * http://www.ti.com/lit/ds/symlink/adc122s021.pdf
|
/linux-4.4.14/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() 733 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 | 1053 struct smb2_symlink_err_rsp *symlink; smb2_query_symlink() local 1075 /* open must fail on symlink - reset rc */ smb2_query_symlink() 1077 symlink = (struct smb2_symlink_err_rsp *)err_buf->ErrorData; smb2_query_symlink() 1078 sub_len = le16_to_cpu(symlink->SubstituteNameLength); smb2_query_symlink() 1079 sub_offset = le16_to_cpu(symlink->SubstituteNameOffset); smb2_query_symlink() 1081 (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 | 2721 /* xsymlink is a symlink format (used by MacOS) that can be used 2722 to save symlink info in a regular file when 2726 as containing symlink data:
|
/linux-4.4.14/fs/xfs/libxfs/ |
H A D | xfs_symlink_remote.c | 77 * Checking of the symlink header is split into two parts. the verifier does 196 * 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 | 1000 #define XFS_DIFLAG_NOSYMLINKS_BIT 10 /* disallow symlink creation */ 1157 * Remote symlink format and access functions.
|
/linux-4.4.14/arch/um/os-Linux/ |
H A D | user_syms.c | 80 EXPORT_SYMBOL_PROTO(symlink); variable
|
/linux-4.4.14/fs/f2fs/ |
H A D | f2fs_crypto.h | 145 * store a filename of length l in encrypted symlink format.
|
H A D | namei.c | 322 /* this is broken symlink case */ f2fs_follow_link() 405 * Let's flush symlink data in order to avoid broken symlink as much as f2fs_symlink() 410 * If the symlink path is stored into inline_data, there is no f2fs_symlink() 958 /* this is broken symlink case */ f2fs_encrypted_follow_link() 1014 .symlink = f2fs_symlink,
|
/linux-4.4.14/fs/befs/ |
H A D | befs.h | 69 char symlink[BEFS_SYMLINK_LEN]; member in union:befs_inode_info::__anon11346
|
H A D | linuxvfs.c | 378 strlcpy(befs_ino->i_data.symlink, raw_inode->data.symlink, befs_iget() 403 inode->i_link = befs_ino->i_data.symlink; befs_iget() 408 "directory or symlink. THAT IS WRONG! BeFS has no " befs_iget() 476 befs_error(sb, "Long symlink with illegal length"); befs_follow_link() 479 befs_debug(sb, "Follow long symlink"); befs_follow_link() 486 befs_error(sb, "Failed to read entire long symlink"); befs_follow_link()
|
H A D | befs_fs_types.h | 193 char symlink[BEFS_SYMLINK_LEN]; member in union:__anon11353::__anon11354
|
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.4.14/fs/exofs/ |
H A D | namei.c | 112 /* slow symlink */ exofs_symlink() 121 /* fast symlink */ exofs_symlink() 308 .symlink = exofs_symlink,
|
H A D | common.h | 180 __le32 i_data[EXOFS_IDATA]; /* Short symlink names and device #s */
|
H A D | exofs.h | 89 uint32_t i_data[EXOFS_IDATA];/*short symlink names and device #s*/
|
/linux-4.4.14/fs/hpfs/ |
H A D | namei.c | 291 static int hpfs_symlink(struct inode *dir, struct dentry *dentry, const char *symlink) hpfs_symlink() argument 334 result->i_size = strlen(symlink); hpfs_symlink() 348 hpfs_set_ea(result, fnode, "SYMLINK", symlink, strlen(symlink)); hpfs_symlink() 618 .symlink = hpfs_symlink,
|
/linux-4.4.14/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 | 144 * Read a symlink. 154 /* Read the symlink. */ nfsd_proc_readlink()
|
H A D | vfs.c | 1421 * Read a symlink. On entry, *lenp must contain the maximum path length that 1468 * Create a symlink and look up its inode
|
/linux-4.4.14/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 | 173 dout("init_file %p %p 0%o (symlink)\n", inode, file, ceph_init_file() 292 * file or symlink, return 1 so the VFS can retry. 360 /* make vfs retry on splice, ENOENT, or symlink */ ceph_atomic_open()
|
H A D | dir.c | 771 dout("symlink in dir %p dentry %p to '%s'\n", dir, dentry, dest); ceph_symlink() 1327 .symlink = ceph_symlink,
|
H A D | inode.c | 815 sym = kstrndup(iinfo->symlink, symlen, GFP_NOFS); fill_inode() 1182 * mknod symlink mkdir : null -> new inode ceph_fill_trace()
|
/linux-4.4.14/drivers/i2c/ |
H A D | i2c-mux.c | 199 "can't create symlink to mux device\n"); i2c_add_mux_adapter() 203 "can't create symlink for channel %u\n", chan_id); i2c_add_mux_adapter()
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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. 872 * may_follow_link - Check symlink following for unsafe situations 876 * CAP_DAC_OVERRIDE needs to be specifically ignored if the symlink is 881 * world-writable directory, or when the uid of the symlink and follower 882 * match, or when the directory owner matches the symlink's owner. 884 * Returns 0 if following the symlink is allowed, -ve on error. 1960 /* trailing symlink, done */ link_path_walk() 1963 /* last component of nested symlink */ link_path_walk() 2366 * cases where it won't are if nd->last refers to a symlink or the path is 2375 * symlink that needs to be followed. "path" will also be populated. 2378 * 1: if we successfully resolved nd->last and found it to be a symlink 2410 * so that means that this dentry is probably a symlink or the mountpoint_last() 3108 * possible mount and symlink following (this might be optimized away if do_last() 3923 if (!dir->i_op->symlink) vfs_symlink() 3930 error = dir->i_op->symlink(dir, dentry, oldname); vfs_symlink() 3968 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.4.14/drivers/media/pci/cobalt/ |
H A D | cobalt-alsa-main.c | 82 /* sc->shortname is a symlink in /proc/asound: COBALT-M -> cardN */ snd_cobalt_card_set_names()
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
H A D | thermal.c | 180 ath10k_err(ar, "failed to create cooling device symlink\n"); ath10k_thermal_register()
|
/linux-4.4.14/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() 793 .symlink = logfs_symlink,
|
/linux-4.4.14/fs/minix/ |
H A D | namei.c | 263 .symlink = minix_symlink,
|
/linux-4.4.14/security/apparmor/ |
H A D | audit.c | 34 "symlink",
|
/linux-4.4.14/fs/sysv/ |
H A D | namei.c | 284 .symlink = sysv_symlink,
|
/linux-4.4.14/drivers/gpio/ |
H A D | gpiolib-sysfs.c | 639 * @dev: device under which to create symlink 640 * @name: name of the symlink 641 * @gpio: gpio to create symlink to, already exported 643 * Set up a symlink from /sys/.../dev/name to /sys/class/gpio/gpioN
|
/linux-4.4.14/fs/9p/ |
H A D | vfs_inode.c | 1226 * v9fs_vfs_follow_link - follow a symlink path 1227 * @dentry: dentry for symlink 1298 * @dir: directory inode containing symlink 1299 * @dentry: dentry for symlink 1300 * @symname: symlink data 1424 .symlink = v9fs_vfs_symlink,
|
H A D | vfs_inode_dotl.c | 902 * v9fs_vfs_follow_link_dotl - follow a symlink path 903 * @dentry: dentry for symlink 960 .symlink = v9fs_vfs_symlink_dotl,
|
/linux-4.4.14/fs/nilfs2/ |
H A D | namei.c | 162 /* slow symlink */ nilfs_symlink() 554 .symlink = nilfs_symlink,
|
/linux-4.4.14/drivers/rtc/ |
H A D | rtc-bq32k.c | 12 * http://www.ti.com/lit/ds/symlink/bq32000.pdf
|
/linux-4.4.14/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 | 140 * 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.4.14/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.4.14/drivers/media/pci/ivtv/ |
H A D | ivtv-alsa-main.c | 128 /* sc->shortname is a symlink in /proc/asound: IVTV-M -> cardN */ snd_ivtv_card_set_names()
|
/linux-4.4.14/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.4.14/net/ceph/ |
H A D | debugfs.c | 28 * .../bdi - symlink to ../../bdi/something
|
/linux-4.4.14/net/sunrpc/ |
H A D | debugfs.c | 162 /* no "debugfs" dentry? Don't bother with the symlink. */ rpc_clnt_debugfs_register()
|
/linux-4.4.14/scripts/ |
H A D | gen_initramfs_list.sh | 65 # symlink test must come before file test
|
/linux-4.4.14/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.4.14/fs/ramfs/ |
H A D | inode.c | 144 .symlink = ramfs_symlink,
|
/linux-4.4.14/include/linux/ |
H A D | configfs.h | 158 * If allow_link() exists, the item can symlink(2) out to other
|
H A D | nfs_fs.h | 474 * linux/fs/nfs/symlink.c
|
H A D | kernfs.h | 127 struct kernfs_elem_symlink symlink; member in union:kernfs_node::__anon12494
|
H A D | nfs_xdr.h | 923 } symlink; /* NF4LNK */ member in union:nfs4_create_arg::__anon13035 1533 int (*symlink) (struct inode *, struct dentry *, struct page *, member in struct:nfs_rpc_ops
|
H A D | mm_types.h | 473 /* store ref to file /proc/<pid>/exe symlink points to */
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | systbl.h | 90 SYSCALL_SPU(symlink)
|
/linux-4.4.14/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.4.14/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 2115 .symlink = gfs2_symlink,
|
/linux-4.4.14/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.4.14/include/net/9p/ |
H A D | 9p.h | 82 * @P9_TSYMLINK: make symlink request 83 * @P9_RSYMLINK: make symlink response
|
/linux-4.4.14/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.4.14/tools/perf/util/ |
H A D | build-id.c | 405 if (symlink(targetname, linkname) == 0) build_id_cache__add_s()
|
/linux-4.4.14/fs/reiserfs/ |
H A D | namei.c | 840 retval = reiserfs_new_inode(&th, dir, mode, NULL /*symlink */ , reiserfs_mkdir() 1646 .symlink = reiserfs_symlink, 1662 * 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.4.14/drivers/clk/ |
H A D | clk-cdce706.c | 6 * Reference: http://www.ti.com/lit/ds/symlink/cdce706.pdf
|
/linux-4.4.14/fs/hfsplus/ |
H A D | dir.c | 556 .symlink = hfsplus_symlink,
|
/linux-4.4.14/fs/romfs/ |
H A D | super.c | 85 S_IFLNK | 0777, /* symlink */
|
/linux-4.4.14/include/uapi/linux/ |
H A D | coda.h | 521 struct CodaFid VFid; /* Directory to put symlink in */
|
/linux-4.4.14/arch/s390/kernel/ |
H A D | compat_wrapper.c | 81 COMPAT_SYSCALL_WRAP2(symlink, const char __user *, old, const char __user *, new);
|
/linux-4.4.14/arch/parisc/kernel/ |
H A D | syscall_table.S | 158 ENTRY_SAME(symlink)
|
/linux-4.4.14/usr/ |
H A D | gen_init_cpio.c | 16 * External file lists, symlink, pipe and fifo support by Thayne Harbaugh
|
/linux-4.4.14/drivers/target/ |
H A D | target_core_device.c | 409 * rcu_dereference_raw protected by se_lun->lun_group symlink core_disable_device_list_for_node() 642 * rcu_dereference_raw protected by se_lun->lun_group symlink core_dev_add_initiator_node_lun_acl()
|
H A D | target_core_tpg.c | 692 * rcu_dereference_raw protected by se_lun->lun_group symlink core_tpg_remove_lun()
|
H A D | target_core_alua.c | 1965 * rcu_dereference_raw protected by se_lun->lun_group symlink core_alua_store_tg_pt_gp_info() 2223 * rcu_dereference_raw protected by se_lun->lun_group symlink core_alua_store_offline_bit()
|
/linux-4.4.14/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.4.14/drivers/staging/rdma/hfi1/ |
H A D | debugfs.c | 726 pr_warn("create of %s symlink failed\n", name); hfi1_dbg_ibdev_init()
|
/linux-4.4.14/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.4.14/fs/fuse/ |
H A D | fuse_i.h | 762 * Initialize inode operations on a symlink
|
H A D | dir.c | 517 * Code shared between mknod, mkdir, symlink and link 1872 .symlink = fuse_symlink,
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/ |
H A D | debugfs.c | 2416 * Create a symlink with mac80211. This is not very robust, as it does iwl_dbgfs_register() 2417 * not remove the symlink created. The implicit assumption is that iwl_dbgfs_register() 2419 * this symlink as part of its cleanup. iwl_dbgfs_register()
|
/linux-4.4.14/drivers/cpufreq/ |
H A D | cpufreq.c | 880 pr_debug("%s: Adding symlink for CPU: %u\n", __func__, cpu); add_cpu_dev_symlink() 896 pr_debug("%s: Removing symlink for CPU: %u\n", __func__, cpu); remove_cpu_dev_symlink()
|
/linux-4.4.14/drivers/mtd/ |
H A D | mtdcore.c | 555 pr_debug("mtd device won't show a device symlink in sysfs\n"); mtd_set_dev_defaults()
|