Home
last modified time | relevance | path

Searched refs:symname (Results 1 – 25 of 36) sorted by relevance

12

/fs/affs/
Dnamei.c314 affs_symlink(struct inode *dir, struct dentry *dentry, const char *symname) in affs_symlink() argument
324 (int)dentry->d_name.len,dentry->d_name.name,symname); in affs_symlink()
343 if (*symname == '/') { in affs_symlink()
344 while (*symname == '/') in affs_symlink()
345 symname++; in affs_symlink()
349 while (i < maxlen && (c = *symname++)) { in affs_symlink()
350 if (c == '.' && lc == '/' && *symname == '.' && symname[1] == '/') { in affs_symlink()
353 symname += 2; in affs_symlink()
355 } else if (c == '.' && lc == '/' && *symname == '/') { in affs_symlink()
356 symname++; in affs_symlink()
[all …]
Dsymlink.c37 if (strchr(lf->symname,':')) { /* Handle assign or volume name */ in affs_symlink_readpage()
40 while (i < 1023 && lf->symname[j] != ':') in affs_symlink_readpage()
41 link[i++] = lf->symname[j++]; in affs_symlink_readpage()
47 while (i < 1023 && (c = lf->symname[j])) { in affs_symlink_readpage()
/fs/ncpfs/
Dsymlink.c107 int ncp_symlink(struct inode *dir, struct dentry *dentry, const char *symname) { in ncp_symlink() argument
116 DPRINTK("ncp_symlink(dir=%p,dentry=%p,symname=%s)\n",dir,dentry,symname); in ncp_symlink()
145 length = strlen(symname); in ncp_symlink()
149 err = ncp_io2vol(NCP_SERVER(dir), rawlink + hdr, &outlen, symname, length, 0); in ncp_symlink()
/fs/configfs/
Dsymlink.c111 static int get_target(const char *symname, struct path *path, in get_target() argument
116 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
132 int configfs_symlink(struct inode *dir, struct dentry *dentry, const char *symname) in configfs_symlink() argument
162 ret = get_target(symname, &path, &target_item); in configfs_symlink()
Dconfigfs_internal.h92 const char *symname);
/fs/ramfs/
Dinode.c125 static int ramfs_symlink(struct inode * dir, struct dentry *dentry, const char * symname) in ramfs_symlink() argument
132 int l = strlen(symname)+1; in ramfs_symlink()
133 error = page_symlink(inode, symname, l); in ramfs_symlink()
/fs/ufs/
Dnamei.c124 const char * symname) in ufs_symlink() argument
128 unsigned l = strlen(symname)+1; in ufs_symlink()
144 err = page_symlink(inode, symname, l); in ufs_symlink()
150 memcpy((char*)&UFS_I(inode)->i_u1.i_data,symname,l); in ufs_symlink()
/fs/udf/
Dnamei.c865 const char *symname) in udf_symlink() argument
935 if (*symname == '/') { in udf_symlink()
937 symname++; in udf_symlink()
938 } while (*symname == '/'); in udf_symlink()
949 while (*symname) { in udf_symlink()
955 compstart = (char *)symname; in udf_symlink()
958 symname++; in udf_symlink()
959 } while (*symname && *symname != '/'); in udf_symlink()
965 if ((symname - compstart) == 1) in udf_symlink()
967 else if ((symname - compstart) == 2 && in udf_symlink()
[all …]
/fs/cifs/
Dlink.c170 cifs_symlink(struct inode *inode, struct dentry *direntry, const char *symname) in cifs_symlink() argument
192 cFYI(1, ("symname is %s", symname)); in cifs_symlink()
196 rc = CIFSUnixCreateSymLink(xid, pTcon, full_path, symname, in cifs_symlink()
Dcifsfs.h91 const char *symname);
/fs/ext2/
Dnamei.c136 const char * symname) in ext2_symlink() argument
140 unsigned l = strlen(symname)+1; in ext2_symlink()
158 err = page_symlink(inode, symname, l); in ext2_symlink()
164 memcpy((char*)(EXT2_I(inode)->i_data),symname,l); in ext2_symlink()
/fs/minix/
Dnamei.c67 const char * symname) in minix_symlink() argument
70 int i = strlen(symname)+1; in minix_symlink()
82 err = page_symlink(inode, symname, i); in minix_symlink()
/fs/sysv/
Dnamei.c89 const char * symname) in sysv_symlink() argument
92 int l = strlen(symname)+1; in sysv_symlink()
104 err = page_symlink(inode, symname, l); in sysv_symlink()
/fs/autofs/
Droot.c269 static int autofs_root_symlink(struct inode *dir, struct dentry *dentry, const char *symname) in autofs_root_symlink() argument
279 DPRINTK(("autofs_root_symlink: %s <- ", symname)); in autofs_root_symlink()
301 sl->len = strlen(symname); in autofs_root_symlink()
326 memcpy(sl->data,symname,slsize); in autofs_root_symlink()
/fs/coda/
Ddir.c38 const char *symname);
316 const char *symname) in coda_symlink() argument
330 symlen = strlen(symname); in coda_symlink()
342 symname, symlen); in coda_symlink()
/fs/ocfs2/
Dnamei.c96 const char *symname);
1454 const char *symname) in ocfs2_create_symlink_data() argument
1504 c = &symname[virtual * sb->s_blocksize]; in ocfs2_create_symlink_data()
1553 const char *symname) in ocfs2_symlink() argument
1577 dentry, symname, dentry->d_name.len, dentry->d_name.name); in ocfs2_symlink()
1582 l = strlen(symname) + 1; in ocfs2_symlink()
1716 memcpy((char *) fe->id2.i_symlink, symname, l); in ocfs2_symlink()
1729 symname); in ocfs2_symlink()
/fs/autofs4/
Droot.c609 const char *symname) in autofs4_dir_symlink() argument
617 DPRINTK("%s <- %.*s", symname, in autofs4_dir_symlink()
632 ino->size = strlen(symname); in autofs4_dir_symlink()
640 strcpy(cp, symname); in autofs4_dir_symlink()
/fs/hfsplus/
Ddir.c406 const char *symname) in hfsplus_symlink() argument
417 res = page_symlink(inode, symname, strlen(symname) + 1); in hfsplus_symlink()
/fs/reiserfs/
Dnamei.c1033 struct dentry *dentry, const char *symname) in reiserfs_symlink() argument
1053 item_len = ROUND_UP(strlen(symname)); in reiserfs_symlink()
1066 memcpy(name, symname, strlen(symname)); in reiserfs_symlink()
1067 padd_item(name, item_len, strlen(symname)); in reiserfs_symlink()
1079 reiserfs_new_inode(&th, parent_dir, mode, name, strlen(symname), in reiserfs_symlink()
/fs/ubifs/
Ddir.c852 const char *symname) in ubifs_symlink() argument
858 int err, len = strlen(symname); in ubifs_symlink()
870 dentry->d_name.name, symname, dir->i_ino); in ubifs_symlink()
892 memcpy(ui->data, symname, len); in ubifs_symlink()
/fs/9p/
Dvfs_inode.c1075 v9fs_vfs_symlink(struct inode *dir, struct dentry *dentry, const char *symname) in v9fs_vfs_symlink() argument
1078 dentry->d_name.name, symname); in v9fs_vfs_symlink()
1080 return v9fs_vfs_mkspecial(dir, dentry, S_IFLNK, symname); in v9fs_vfs_symlink()
/fs/hugetlbfs/
Dinode.c584 struct dentry *dentry, const char *symname) in hugetlbfs_symlink() argument
598 int l = strlen(symname)+1; in hugetlbfs_symlink()
599 error = page_symlink(inode, symname, l); in hugetlbfs_symlink()
/fs/ecryptfs/
Dinode.c492 const char *symname) in ecryptfs_symlink() argument
509 mount_crypt_stat, symname, in ecryptfs_symlink()
510 strlen(symname)); in ecryptfs_symlink()
/fs/nfs/
Ddir.c1475 static int nfs_symlink(struct inode *dir, struct dentry *dentry, const char *symname) in nfs_symlink() argument
1481 unsigned int pathlen = strlen(symname); in nfs_symlink()
1485 dir->i_ino, dentry->d_name.name, symname); in nfs_symlink()
1498 memcpy(kaddr, symname, pathlen); in nfs_symlink()
1507 dentry->d_name.name, symname, error); in nfs_symlink()
/fs/
Dbad_inode.c206 const char *symname) in bad_inode_symlink() argument

12