Home
last modified time | relevance | path

Searched refs:mountdata (Results 1 – 4 of 4) sorted by relevance

/fs/cifs/
Dcifs_dfs_ref.c142 char *mountdata = NULL; in cifs_compose_mount_options() local
193 mountdata = kzalloc(md_len + sizeof("ip=") + 1, GFP_KERNEL); in cifs_compose_mount_options()
194 if (mountdata == NULL) { in cifs_compose_mount_options()
203 strncpy(mountdata, sb_mountdata, 5); in cifs_compose_mount_options()
226 strncat(mountdata, sb_mountdata + off, noff); in cifs_compose_mount_options()
229 strcat(mountdata, sb_mountdata + off); in cifs_compose_mount_options()
230 mountdata[md_len] = '\0'; in cifs_compose_mount_options()
233 if (mountdata[strlen(mountdata) - 1] != sep) in cifs_compose_mount_options()
234 strncat(mountdata, &sep, 1); in cifs_compose_mount_options()
235 strcat(mountdata, "ip="); in cifs_compose_mount_options()
[all …]
Dcifs_fs_sb.h76 char *mountdata; /* options received at mount time or via DFS refs */ member
Dconnect.c1387 cifs_parse_mount_options(const char *mountdata, const char *devname, in cifs_parse_mount_options() argument
1468 if (!mountdata) in cifs_parse_mount_options()
1471 mountdata_copy = kstrndup(mountdata, PAGE_SIZE, GFP_KERNEL); in cifs_parse_mount_options()
4260 mdata = cifs_compose_mount_options(cifs_sb->mountdata, in expand_dfs_referral()
4274 kfree(cifs_sb->mountdata); in expand_dfs_referral()
4275 cifs_sb->mountdata = mdata; in expand_dfs_referral()
4334 mdata = cifs_compose_mount_options(cifs_sb->mountdata, full_path + 1, &ref, &fake_devname); in setup_dfs_tgt_conn()
4686 mntdata = kstrndup(cifs_sb->mountdata, strlen(cifs_sb->mountdata), GFP_KERNEL); in cifs_mount()
4710 oldmnt = cifs_sb->mountdata; in cifs_mount()
4715 if (oldmnt != cifs_sb->mountdata) { in cifs_mount()
[all …]
Dcifsfs.c816 cifs_sb->mountdata = kstrndup(data, PAGE_SIZE, GFP_KERNEL); in cifs_smb3_do_mount()
817 if (cifs_sb->mountdata == NULL) { in cifs_smb3_do_mount()
880 kfree(cifs_sb->mountdata); in cifs_smb3_do_mount()