Searched refs:mountdata (Results 1 – 6 of 6) sorted by relevance
/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 | 70 char *mountdata; /* options received at mount time or via DFS refs */ member
|
D | cifsfs.c | 692 cifs_sb->mountdata = kstrndup(data, PAGE_SIZE, GFP_KERNEL); in cifs_do_mount() 693 if (cifs_sb->mountdata == NULL) { in cifs_do_mount() 755 kfree(cifs_sb->mountdata); in cifs_do_mount()
|
D | connect.c | 1191 cifs_parse_mount_options(const char *mountdata, const char *devname, in cifs_parse_mount_options() argument 1264 if (!mountdata) in cifs_parse_mount_options() 1267 mountdata_copy = kstrndup(mountdata, PAGE_SIZE, GFP_KERNEL); in cifs_parse_mount_options() 3494 mdata = cifs_compose_mount_options(cifs_sb->mountdata, in expand_dfs_referral() 3509 kfree(cifs_sb->mountdata); in expand_dfs_referral() 3510 cifs_sb->mountdata = mdata; in expand_dfs_referral() 4034 kfree(cifs_sb->mountdata); in cifs_umount()
|
/fs/nfs/ |
D | nfs4namespace.c | 237 static struct vfsmount *try_location(struct nfs_clone_mount *mountdata, in try_location() argument 242 struct net *net = rpc_net_ns(NFS_SB(mountdata->sb)->client); in try_location() 251 mountdata->mnt_path = mnt_path; in try_location() 254 mountdata->addr = kmalloc(addr_bufsize, GFP_KERNEL); in try_location() 255 if (mountdata->addr == NULL) in try_location() 267 mountdata->addrlen = nfs_parse_server_name(buf->data, buf->len, in try_location() 268 mountdata->addr, addr_bufsize, net); in try_location() 269 if (mountdata->addrlen == 0) in try_location() 272 rpc_set_port(mountdata->addr, NFS_PORT); in try_location() 276 mountdata->hostname = page2; in try_location() [all …]
|
D | namespace.c | 227 struct nfs_clone_mount *mountdata) in nfs_do_clone_mount() argument 229 return vfs_submount(mountdata->dentry, &nfs_xdev_fs_type, devname, mountdata); in nfs_do_clone_mount() 243 struct nfs_clone_mount mountdata = { in nfs_do_submount() local 264 mnt = nfs_do_clone_mount(NFS_SB(dentry->d_sb), devname, &mountdata); in nfs_do_submount()
|