Home
last modified time | relevance | path

Searched refs:ab_pathname (Results 1 – 2 of 2) sorted by relevance

/linux/fs/smb/server/
H A Dmisc.c165 char *pathname, *ab_pathname, *nt_pathname; in convert_to_nt_pathname() local
174 ab_pathname = d_path(path, pathname, PATH_MAX); in convert_to_nt_pathname()
175 if (IS_ERR(ab_pathname)) { in convert_to_nt_pathname()
180 if (strncmp(ab_pathname, share->path, share_path_len)) { in convert_to_nt_pathname()
185 ab_pathname_len = strlen(&ab_pathname[share_path_len]); in convert_to_nt_pathname()
186 prefix = ab_pathname[share_path_len] == '\0' ? 1 : 0; in convert_to_nt_pathname()
195 memcpy(nt_pathname + prefix, &ab_pathname[share_path_len], in convert_to_nt_pathname()
H A Dvfs_cache.c1066 char *pathname, *ab_pathname; in ksmbd_validate_name_reconnect() local
1073 ab_pathname = d_path(&fp->filp->f_path, pathname, PATH_MAX); in ksmbd_validate_name_reconnect()
1074 if (IS_ERR(ab_pathname)) { in ksmbd_validate_name_reconnect()
1079 if (name && strcmp(&ab_pathname[share->path_sz + 1], name)) { in ksmbd_validate_name_reconnect()