Searched refs:mountdata (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/fs/cifs/ |
D | cifs_dfs_ref.c | 142 char *mountdata = NULL; in cifs_compose_mount_options() local 181 mountdata = kzalloc(md_len + sizeof("ip=") + 1, GFP_KERNEL); in cifs_compose_mount_options() 182 if (mountdata == NULL) { in cifs_compose_mount_options() 191 strncpy(mountdata, sb_mountdata, 5); in cifs_compose_mount_options() 214 strncat(mountdata, sb_mountdata + off, noff); in cifs_compose_mount_options() 217 strcat(mountdata, sb_mountdata + off); in cifs_compose_mount_options() 218 mountdata[md_len] = '\0'; in cifs_compose_mount_options() 221 if (mountdata[strlen(mountdata) - 1] != sep) in cifs_compose_mount_options() 222 strncat(mountdata, &sep, 1); in cifs_compose_mount_options() 223 strcat(mountdata, "ip="); in cifs_compose_mount_options() [all …]
|
D | cifs_fs_sb.h | 76 char *mountdata; /* options received at mount time or via DFS refs */ member
|
D | connect.c | 1598 cifs_parse_mount_options(const char *mountdata, const char *devname, in cifs_parse_mount_options() argument 1675 if (!mountdata) in cifs_parse_mount_options() 1678 mountdata_copy = kstrndup(mountdata, PAGE_SIZE, GFP_KERNEL); in cifs_parse_mount_options() 4391 mdata = cifs_compose_mount_options(cifs_sb->mountdata, in expand_dfs_referral() 4405 kfree(cifs_sb->mountdata); in expand_dfs_referral() 4406 cifs_sb->mountdata = mdata; in expand_dfs_referral() 4468 mdata = cifs_compose_mount_options(cifs_sb->mountdata, path, &ref, in setup_dfs_tgt_conn() 4763 old_mountdata = cifs_sb->mountdata; in cifs_mount() 4766 if (cifs_sb->mountdata == NULL) { in cifs_mount() 4772 origin_mountdata = kstrndup(cifs_sb->mountdata, in cifs_mount() [all …]
|
D | cifsfs.c | 794 cifs_sb->mountdata = kstrndup(data, PAGE_SIZE, GFP_KERNEL); in cifs_smb3_do_mount() 795 if (cifs_sb->mountdata == NULL) { in cifs_smb3_do_mount() 857 kfree(cifs_sb->mountdata); in cifs_smb3_do_mount()
|
/Linux-v5.4/fs/nfs/ |
D | nfs4namespace.c | 239 static struct vfsmount *try_location(struct nfs_clone_mount *mountdata, in try_location() argument 244 struct net *net = rpc_net_ns(NFS_SB(mountdata->sb)->client); in try_location() 253 mountdata->mnt_path = mnt_path; in try_location() 256 mountdata->addr = kmalloc(addr_bufsize, GFP_KERNEL); in try_location() 257 if (mountdata->addr == NULL) in try_location() 269 mountdata->addrlen = nfs_parse_server_name(buf->data, buf->len, in try_location() 270 mountdata->addr, addr_bufsize, net); in try_location() 271 if (mountdata->addrlen == 0) in try_location() 276 mountdata->hostname = page2; in try_location() 279 mountdata->hostname, in try_location() [all …]
|
D | namespace.c | 218 struct nfs_clone_mount *mountdata) in nfs_do_clone_mount() argument 220 return vfs_submount(mountdata->dentry, &nfs_xdev_fs_type, devname, mountdata); in nfs_do_clone_mount() 234 struct nfs_clone_mount mountdata = { in nfs_do_submount() local 252 mnt = nfs_do_clone_mount(NFS_SB(dentry->d_sb), devname, &mountdata); in nfs_do_submount()
|