Searched refs:mountdata (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/fs/cifs/ |
D | cifs_dfs_ref.c | 143 char *mountdata = NULL; in cifs_compose_mount_options() local 182 mountdata = kzalloc(md_len + sizeof("ip=") + 1, GFP_KERNEL); in cifs_compose_mount_options() 183 if (mountdata == NULL) { in cifs_compose_mount_options() 192 strncpy(mountdata, sb_mountdata, 5); in cifs_compose_mount_options() 215 strncat(mountdata, sb_mountdata + off, noff); in cifs_compose_mount_options() 218 strcat(mountdata, sb_mountdata + off); in cifs_compose_mount_options() 219 mountdata[md_len] = '\0'; in cifs_compose_mount_options() 222 if (mountdata[strlen(mountdata) - 1] != sep) in cifs_compose_mount_options() 223 strncat(mountdata, &sep, 1); in cifs_compose_mount_options() 224 strcat(mountdata, "ip="); in cifs_compose_mount_options() [all …]
|
D | cifs_fs_sb.h | 71 char *mountdata; /* options received at mount time or via DFS refs */ member
|
D | cifsfs.c | 722 cifs_sb->mountdata = kstrndup(data, PAGE_SIZE, GFP_KERNEL); in cifs_smb3_do_mount() 723 if (cifs_sb->mountdata == NULL) { in cifs_smb3_do_mount() 785 kfree(cifs_sb->mountdata); in cifs_smb3_do_mount()
|
D | connect.c | 1316 cifs_parse_mount_options(const char *mountdata, const char *devname, in cifs_parse_mount_options() argument 1390 if (!mountdata) in cifs_parse_mount_options() 1393 mountdata_copy = kstrndup(mountdata, PAGE_SIZE, GFP_KERNEL); in cifs_parse_mount_options() 3835 mdata = cifs_compose_mount_options(cifs_sb->mountdata, in expand_dfs_referral() 3850 kfree(cifs_sb->mountdata); in expand_dfs_referral() 3851 cifs_sb->mountdata = mdata; in expand_dfs_referral() 4368 kfree(cifs_sb->mountdata); in cifs_umount()
|
/Linux-v4.19/fs/nfs/ |
D | nfs4namespace.c | 238 static struct vfsmount *try_location(struct nfs_clone_mount *mountdata, in try_location() argument 243 struct net *net = rpc_net_ns(NFS_SB(mountdata->sb)->client); in try_location() 252 mountdata->mnt_path = mnt_path; in try_location() 255 mountdata->addr = kmalloc(addr_bufsize, GFP_KERNEL); in try_location() 256 if (mountdata->addr == NULL) in try_location() 268 mountdata->addrlen = nfs_parse_server_name(buf->data, buf->len, in try_location() 269 mountdata->addr, addr_bufsize, net); in try_location() 270 if (mountdata->addrlen == 0) in try_location() 275 mountdata->hostname = page2; in try_location() 278 mountdata->hostname, in try_location() [all …]
|
D | namespace.c | 217 struct nfs_clone_mount *mountdata) in nfs_do_clone_mount() argument 219 return vfs_submount(mountdata->dentry, &nfs_xdev_fs_type, devname, mountdata); in nfs_do_clone_mount() 233 struct nfs_clone_mount mountdata = { in nfs_do_submount() local 251 mnt = nfs_do_clone_mount(NFS_SB(dentry->d_sb), devname, &mountdata); in nfs_do_submount()
|