/fs/affs/ |
D | namei.c | 317 struct dentry *dentry, const char *symname) in affs_symlink() argument 327 __func__, dir->i_ino, dentry, symname); in affs_symlink() 347 if (*symname == '/') { in affs_symlink() 349 while (*symname == '/') in affs_symlink() 350 symname++; in affs_symlink() 356 while (i < maxlen && (c = *symname++)) { in affs_symlink() 357 if (c == '.' && lc == '/' && *symname == '.' && symname[1] == '/') { in affs_symlink() 360 symname += 2; in affs_symlink() 362 } else if (c == '.' && lc == '/' && *symname == '/') { in affs_symlink() 363 symname++; in affs_symlink() [all …]
|
D | symlink.c | 34 if (strchr(lf->symname,':')) { /* Handle assign or volume name */ in affs_symlink_readpage() 42 while (i < 1023 && lf->symname[j] != ':') in affs_symlink_readpage() 43 link[i++] = lf->symname[j++]; in affs_symlink_readpage() 49 while (i < 1023 && (c = lf->symname[j])) { in affs_symlink_readpage()
|
D | amigaffs.h | 111 u8 symname[1]; /* depends on block size */ member
|
/fs/configfs/ |
D | symlink.c | 117 static int get_target(const char *symname, struct path *path, in get_target() argument 122 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target() 141 struct dentry *dentry, const char *symname) in configfs_symlink() argument 191 ret = get_target(symname, &path, &target_item, dentry->d_sb); in configfs_symlink()
|
D | configfs_internal.h | 96 const char *symname);
|
/fs/udf/ |
D | namei.c | 885 struct dentry *dentry, const char *symname) in udf_symlink() argument 955 if (*symname == '/') { in udf_symlink() 957 symname++; in udf_symlink() 958 } while (*symname == '/'); in udf_symlink() 968 while (*symname) { in udf_symlink() 974 compstart = symname; in udf_symlink() 977 symname++; in udf_symlink() 978 } while (*symname && *symname != '/'); in udf_symlink() 984 if ((symname - compstart) == 1) in udf_symlink() 986 else if ((symname - compstart) == 2 && in udf_symlink() [all …]
|
/fs/ufs/ |
D | namei.c | 110 struct dentry * dentry, const char * symname) in ufs_symlink() argument 114 unsigned l = strlen(symname)+1; in ufs_symlink() 130 err = page_symlink(inode, symname, l); in ufs_symlink() 137 memcpy(inode->i_link, symname, l); in ufs_symlink()
|
/fs/orangefs/ |
D | namei.c | 222 const char *symname) in orangefs_symlink() argument 234 if (!symname) in orangefs_symlink() 237 if (strlen(symname)+1 > ORANGEFS_NAME_MAX) in orangefs_symlink() 253 strncpy(new_op->upcall.req.sym.target, symname, ORANGEFS_NAME_MAX - 1); in orangefs_symlink() 284 inode->i_size = strlen(symname); in orangefs_symlink()
|
/fs/ramfs/ |
D | inode.c | 128 struct dentry *dentry, const char *symname) in ramfs_symlink() argument 135 int l = strlen(symname)+1; in ramfs_symlink() 136 error = page_symlink(inode, symname, l); in ramfs_symlink()
|
/fs/sysv/ |
D | namei.c | 71 struct dentry *dentry, const char *symname) in sysv_symlink() argument 74 int l = strlen(symname)+1; in sysv_symlink() 86 err = page_symlink(inode, symname, l); in sysv_symlink()
|
/fs/ext2/ |
D | namei.c | 158 struct dentry * dentry, const char * symname) in ext2_symlink() argument 162 unsigned l = strlen(symname)+1; in ext2_symlink() 185 err = page_symlink(inode, symname, l); in ext2_symlink() 192 memcpy(inode->i_link, symname, l); in ext2_symlink()
|
/fs/minix/ |
D | namei.c | 75 struct dentry *dentry, const char *symname) in minix_symlink() argument 78 int i = strlen(symname)+1; in minix_symlink() 89 err = page_symlink(inode, symname, i); in minix_symlink()
|
/fs/ntfs3/ |
D | namei.c | 195 struct dentry *dentry, const char *symname) in ntfs_symlink() argument 197 u32 size = strlen(symname); in ntfs_symlink() 201 0, symname, size, NULL); in ntfs_symlink()
|
/fs/vboxsf/ |
D | dir.c | 435 const char *symname) in vboxsf_dir_symlink() argument 439 int symname_size = strlen(symname) + 1; in vboxsf_dir_symlink() 455 memcpy(ssymname->string.utf8, symname, symname_size); in vboxsf_dir_symlink()
|
/fs/cifs/ |
D | link.c | 669 struct dentry *direntry, const char *symname) in cifs_symlink() argument 703 cifs_dbg(FYI, "symname is %s\n", symname); in cifs_symlink() 707 rc = create_mf_symlink(xid, pTcon, cifs_sb, full_path, symname); in cifs_symlink() 709 rc = CIFSUnixCreateSymLink(xid, pTcon, full_path, symname, in cifs_symlink()
|
/fs/coda/ |
D | dir.c | 233 const char *symname) in coda_symlink() argument 243 symlen = strlen(symname); in coda_symlink() 253 symname, symlen); in coda_symlink()
|
D | coda_psdev.h | 78 const char *name, int len, const char *symname, int symlen);
|
/fs/autofs/ |
D | root.c | 531 const char *symname) in autofs_dir_symlink() argument 537 size_t size = strlen(symname); in autofs_dir_symlink() 540 pr_debug("%s <- %pd\n", symname, dentry); in autofs_dir_symlink() 562 strcpy(cp, symname); in autofs_dir_symlink()
|
/fs/nilfs2/ |
D | namei.c | 129 struct dentry *dentry, const char *symname) in nilfs_symlink() argument 133 unsigned int l = strlen(symname) + 1; in nilfs_symlink() 153 err = page_symlink(inode, symname, l); in nilfs_symlink()
|
/fs/reiserfs/ |
D | namei.c | 1104 const char *symname) in reiserfs_symlink() argument 1144 item_len = ROUND_UP(strlen(symname)); in reiserfs_symlink() 1157 memcpy(name, symname, strlen(symname)); in reiserfs_symlink() 1158 padd_item(name, item_len, strlen(symname)); in reiserfs_symlink() 1168 reiserfs_new_inode(&th, parent_dir, mode, name, strlen(symname), in reiserfs_symlink()
|
/fs/hfsplus/ |
D | dir.c | 438 struct dentry *dentry, const char *symname) in hfsplus_symlink() argument 449 res = page_symlink(inode, symname, strlen(symname) + 1); in hfsplus_symlink()
|
/fs/gfs2/ |
D | inode.c | 482 const char *symname) in init_dinode() argument 506 memcpy(dibh->b_data + sizeof(struct gfs2_dinode), symname, ip->i_inode.i_size); in init_dinode() 603 umode_t mode, dev_t dev, const char *symname, in gfs2_create_inode() argument 750 init_dinode(dip, ip, symname); in gfs2_create_inode() 1212 struct dentry *dentry, const char *symname) in gfs2_symlink() argument 1216 size = strlen(symname); in gfs2_symlink() 1220 return gfs2_create_inode(dir, dentry, NULL, S_IFLNK | S_IRWXUGO, 0, symname, size, 0); in gfs2_symlink()
|
/fs/f2fs/ |
D | namei.c | 673 struct dentry *dentry, const char *symname) in f2fs_symlink() argument 677 size_t len = strlen(symname); in f2fs_symlink() 686 err = fscrypt_prepare_symlink(dir, symname, len, dir->i_sb->s_blocksize, in f2fs_symlink() 713 err = fscrypt_encrypt_symlink(inode, symname, len, &disk_link); in f2fs_symlink() 747 if (disk_link.name != (unsigned char *)symname) in f2fs_symlink()
|
/fs/ocfs2/ |
D | namei.c | 83 const char *symname); 1697 const char *symname) in ocfs2_create_symlink_data() argument 1746 c = &symname[virtual * sb->s_blocksize]; in ocfs2_create_symlink_data() 1795 const char *symname) in ocfs2_symlink() argument 1822 trace_ocfs2_symlink_begin(dir, dentry, symname, in ocfs2_symlink() 1834 l = strlen(symname) + 1; in ocfs2_symlink() 1975 memcpy((char *) fe->id2.i_symlink, symname, l); in ocfs2_symlink() 1988 symname); in ocfs2_symlink()
|
/fs/ubifs/ |
D | dir.c | 1139 struct dentry *dentry, const char *symname) in ubifs_symlink() argument 1145 int err, sz_change, len = strlen(symname); in ubifs_symlink() 1152 symname, dir->i_ino); in ubifs_symlink() 1154 err = fscrypt_prepare_symlink(dir, symname, len, UBIFS_MAX_INO_DATA, in ubifs_symlink() 1189 err = fscrypt_encrypt_symlink(inode, symname, len, &disk_link); in ubifs_symlink()
|