Searched refs:mountdata (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/fs/cifs/ |
D | cifs_dfs_ref.c | 125 char *mountdata = NULL; in cifs_compose_mount_options() local 153 mountdata = kzalloc(md_len+1, GFP_KERNEL); in cifs_compose_mount_options() 154 if (mountdata == NULL) { in cifs_compose_mount_options() 163 strncpy(mountdata, sb_mountdata, 5); in cifs_compose_mount_options() 186 strncat(mountdata, sb_mountdata + off, noff); in cifs_compose_mount_options() 189 strcat(mountdata, sb_mountdata + off); in cifs_compose_mount_options() 190 mountdata[md_len] = '\0'; in cifs_compose_mount_options() 193 if (mountdata[strlen(mountdata) - 1] != sep) in cifs_compose_mount_options() 194 strncat(mountdata, &sep, 1); in cifs_compose_mount_options() 195 strcat(mountdata, "ip="); in cifs_compose_mount_options() [all …]
|
D | cifsfs.c | 141 cifs_sb->mountdata = kzalloc(len + 1, GFP_KERNEL); in cifs_read_super() 142 if (cifs_sb->mountdata == NULL) { in cifs_read_super() 148 strncpy(cifs_sb->mountdata, data, len + 1); in cifs_read_super() 149 cifs_sb->mountdata[len] = '\0'; in cifs_read_super() 206 if (cifs_sb->mountdata) { in cifs_read_super() 207 kfree(cifs_sb->mountdata); in cifs_read_super() 208 cifs_sb->mountdata = NULL; in cifs_read_super() 235 if (cifs_sb->mountdata) { in cifs_put_super() 236 kfree(cifs_sb->mountdata); in cifs_put_super() 237 cifs_sb->mountdata = NULL; in cifs_put_super()
|
D | cifs_fs_sb.h | 62 char *mountdata; /* mount options received at mount time */ member
|
D | connect.c | 2914 cifs_sb->mountdata, full_path + 1, in cifs_mount()
|
/linux-2.6.39/fs/nfs/ |
D | nfs4namespace.c | 110 static struct vfsmount *try_location(struct nfs_clone_mount *mountdata, in try_location() argument 123 mountdata->mnt_path = mnt_path; in try_location() 126 mountdata->addr = kmalloc(addr_bufsize, GFP_KERNEL); in try_location() 127 if (mountdata->addr == NULL) in try_location() 139 mountdata->addrlen = nfs_parse_server_name(buf->data, buf->len, in try_location() 140 mountdata->addr, addr_bufsize); in try_location() 141 if (mountdata->addrlen == 0) in try_location() 144 rpc_set_port(mountdata->addr, NFS_PORT); in try_location() 148 mountdata->hostname = page2; in try_location() 151 mountdata->hostname, in try_location() [all …]
|
D | namespace.c | 310 struct nfs_clone_mount *mountdata) in nfs_do_clone_mount() argument 317 mnt = vfs_kern_mount(&nfs_xdev_fs_type, 0, devname, mountdata); in nfs_do_clone_mount() 320 mnt = vfs_kern_mount(&nfs4_xdev_fs_type, 0, devname, mountdata); in nfs_do_clone_mount() 324 return vfs_kern_mount(&nfs_xdev_fs_type, 0, devname, mountdata); in nfs_do_clone_mount() 341 struct nfs_clone_mount mountdata = { in nfs_do_submount() local 363 mnt = nfs_do_clone_mount(NFS_SB(dentry->d_sb), devname, &mountdata); in nfs_do_submount()
|