Home
last modified time | relevance | path

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

/Linux-v5.10/fs/cifs/
Dcifs_dfs_ref.c142 char *mountdata = NULL; in cifs_compose_mount_options() local
190 mountdata = kzalloc(md_len + sizeof("ip=") + 1, GFP_KERNEL); in cifs_compose_mount_options()
191 if (mountdata == NULL) { in cifs_compose_mount_options()
200 strncpy(mountdata, sb_mountdata, 5); in cifs_compose_mount_options()
223 strncat(mountdata, sb_mountdata + off, noff); in cifs_compose_mount_options()
226 strcat(mountdata, sb_mountdata + off); in cifs_compose_mount_options()
227 mountdata[md_len] = '\0'; in cifs_compose_mount_options()
230 if (mountdata[strlen(mountdata) - 1] != sep) in cifs_compose_mount_options()
231 strncat(mountdata, &sep, 1); in cifs_compose_mount_options()
232 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.c1374 cifs_parse_mount_options(const char *mountdata, const char *devname, in cifs_parse_mount_options() argument
1455 if (!mountdata) in cifs_parse_mount_options()
1458 mountdata_copy = kstrndup(mountdata, PAGE_SIZE, GFP_KERNEL); in cifs_parse_mount_options()
4240 mdata = cifs_compose_mount_options(cifs_sb->mountdata, in expand_dfs_referral()
4254 kfree(cifs_sb->mountdata); in expand_dfs_referral()
4255 cifs_sb->mountdata = mdata; in expand_dfs_referral()
4314 mdata = cifs_compose_mount_options(cifs_sb->mountdata, full_path + 1, &ref, &fake_devname); in setup_dfs_tgt_conn()
4666 mntdata = kstrndup(cifs_sb->mountdata, strlen(cifs_sb->mountdata), GFP_KERNEL); in cifs_mount()
4690 oldmnt = cifs_sb->mountdata; in cifs_mount()
4695 if (oldmnt != cifs_sb->mountdata) { in cifs_mount()
[all …]
Dcifsfs.c810 cifs_sb->mountdata = kstrndup(data, PAGE_SIZE, GFP_KERNEL); in cifs_smb3_do_mount()
811 if (cifs_sb->mountdata == NULL) { in cifs_smb3_do_mount()
873 kfree(cifs_sb->mountdata); in cifs_smb3_do_mount()