/fs/affs/ |
D | namei.c | 314 affs_symlink(struct inode *dir, struct dentry *dentry, const char *symname) in affs_symlink() argument 324 __func__, dir->i_ino, dentry, symname); in affs_symlink() 344 if (*symname == '/') { in affs_symlink() 346 while (*symname == '/') in affs_symlink() 347 symname++; in affs_symlink() 353 while (i < maxlen && (c = *symname++)) { in affs_symlink() 354 if (c == '.' && lc == '/' && *symname == '.' && symname[1] == '/') { in affs_symlink() 357 symname += 2; in affs_symlink() 359 } else if (c == '.' && lc == '/' && *symname == '/') { in affs_symlink() 360 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 | 119 static int get_target(const char *symname, struct path *path, in get_target() argument 124 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target() 142 int configfs_symlink(struct inode *dir, struct dentry *dentry, const char *symname) in configfs_symlink() argument 192 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 | 882 const char *symname) in udf_symlink() argument 948 if (*symname == '/') { in udf_symlink() 950 symname++; in udf_symlink() 951 } while (*symname == '/'); in udf_symlink() 961 while (*symname) { in udf_symlink() 967 compstart = symname; in udf_symlink() 970 symname++; in udf_symlink() 971 } while (*symname && *symname != '/'); in udf_symlink() 977 if ((symname - compstart) == 1) in udf_symlink() 979 else if ((symname - compstart) == 2 && in udf_symlink() [all …]
|
/fs/ufs/ |
D | namei.c | 108 const char * symname) in ufs_symlink() argument 112 unsigned l = strlen(symname)+1; in ufs_symlink() 128 err = page_symlink(inode, symname, l); in ufs_symlink() 135 memcpy(inode->i_link, symname, l); in ufs_symlink()
|
/fs/orangefs/ |
D | namei.c | 220 const char *symname) in orangefs_symlink() argument 232 if (!symname) in orangefs_symlink() 235 if (strlen(symname)+1 > ORANGEFS_NAME_MAX) in orangefs_symlink() 251 strncpy(new_op->upcall.req.sym.target, symname, ORANGEFS_NAME_MAX - 1); in orangefs_symlink() 282 inode->i_size = strlen(symname); in orangefs_symlink()
|
/fs/ext2/ |
D | namei.c | 149 const char * symname) in ext2_symlink() argument 153 unsigned l = strlen(symname)+1; in ext2_symlink() 176 err = page_symlink(inode, symname, l); in ext2_symlink() 183 memcpy(inode->i_link, symname, l); in ext2_symlink()
|
/fs/ramfs/ |
D | inode.c | 131 static int ramfs_symlink(struct inode * dir, struct dentry *dentry, const char * symname) in ramfs_symlink() argument 138 int l = strlen(symname)+1; in ramfs_symlink() 139 error = page_symlink(inode, symname, l); in ramfs_symlink()
|
/fs/minix/ |
D | namei.c | 73 const char * symname) in minix_symlink() argument 76 int i = strlen(symname)+1; in minix_symlink() 87 err = page_symlink(inode, symname, i); in minix_symlink()
|
/fs/sysv/ |
D | namei.c | 69 const char * symname) in sysv_symlink() argument 72 int l = strlen(symname)+1; in sysv_symlink() 84 err = page_symlink(inode, symname, l); in sysv_symlink()
|
/fs/cifs/ |
D | link.c | 674 cifs_symlink(struct inode *inode, struct dentry *direntry, const char *symname) in cifs_symlink() argument 700 cifs_dbg(FYI, "symname is %s\n", symname); in cifs_symlink() 704 rc = create_mf_symlink(xid, pTcon, cifs_sb, full_path, symname); in cifs_symlink() 706 rc = CIFSUnixCreateSymLink(xid, pTcon, full_path, symname, in cifs_symlink()
|
D | cifsfs.h | 135 const char *symname);
|
/fs/coda/ |
D | dir.c | 229 const char *symname) in coda_symlink() argument 239 symlen = strlen(symname); in coda_symlink() 249 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 | 529 const char *symname) in autofs_dir_symlink() argument 535 size_t size = strlen(symname); in autofs_dir_symlink() 538 pr_debug("%s <- %pd\n", symname, dentry); in autofs_dir_symlink() 560 strcpy(cp, symname); in autofs_dir_symlink()
|
/fs/nilfs2/ |
D | namei.c | 128 const char *symname) in nilfs_symlink() argument 132 unsigned int l = strlen(symname) + 1; in nilfs_symlink() 152 err = page_symlink(inode, symname, l); in nilfs_symlink()
|
/fs/reiserfs/ |
D | namei.c | 1098 struct dentry *dentry, const char *symname) in reiserfs_symlink() argument 1138 item_len = ROUND_UP(strlen(symname)); in reiserfs_symlink() 1151 memcpy(name, symname, strlen(symname)); in reiserfs_symlink() 1152 padd_item(name, item_len, strlen(symname)); in reiserfs_symlink() 1162 reiserfs_new_inode(&th, parent_dir, mode, name, strlen(symname), in reiserfs_symlink()
|
/fs/hfsplus/ |
D | dir.c | 438 const char *symname) in hfsplus_symlink() argument 449 res = page_symlink(inode, symname, strlen(symname) + 1); in hfsplus_symlink()
|
/fs/f2fs/ |
D | namei.c | 583 const char *symname) in f2fs_symlink() argument 587 size_t len = strlen(symname); in f2fs_symlink() 596 err = fscrypt_prepare_symlink(dir, symname, len, dir->i_sb->s_blocksize, in f2fs_symlink() 623 err = fscrypt_encrypt_symlink(inode, symname, len, &disk_link); in f2fs_symlink() 657 if (disk_link.name != (unsigned char *)symname) in f2fs_symlink()
|
/fs/gfs2/ |
D | inode.c | 459 const char *symname) in init_dinode() argument 483 memcpy(dibh->b_data + sizeof(struct gfs2_dinode), symname, ip->i_inode.i_size); in init_dinode() 579 umode_t mode, dev_t dev, const char *symname, in gfs2_create_inode() argument 721 init_dinode(dip, ip, symname); in gfs2_create_inode() 1180 const char *symname) in gfs2_symlink() argument 1184 size = strlen(symname); in gfs2_symlink() 1188 return gfs2_create_inode(dir, dentry, NULL, S_IFLNK | S_IRWXUGO, 0, symname, size, 0); in gfs2_symlink()
|
/fs/ocfs2/ |
D | namei.c | 84 const char *symname); 1686 const char *symname) in ocfs2_create_symlink_data() argument 1735 c = &symname[virtual * sb->s_blocksize]; in ocfs2_create_symlink_data() 1783 const char *symname) in ocfs2_symlink() argument 1809 trace_ocfs2_symlink_begin(dir, dentry, symname, in ocfs2_symlink() 1821 l = strlen(symname) + 1; in ocfs2_symlink() 1962 memcpy((char *) fe->id2.i_symlink, symname, l); in ocfs2_symlink() 1975 symname); in ocfs2_symlink()
|
/fs/ubifs/ |
D | dir.c | 1102 const char *symname) in ubifs_symlink() argument 1108 int err, sz_change, len = strlen(symname); in ubifs_symlink() 1116 symname, dir->i_ino); in ubifs_symlink() 1118 err = fscrypt_prepare_symlink(dir, symname, len, UBIFS_MAX_INO_DATA, in ubifs_symlink() 1152 err = fscrypt_encrypt_symlink(inode, symname, len, &disk_link); in ubifs_symlink()
|
/fs/ |
D | bad_inode.c | 53 const char *symname) in bad_inode_symlink() argument
|