Lines Matching full:share
155 * whose share directory prefix was removed from file path
156 * @share: ksmbd_share_config pointer
162 char *convert_to_nt_pathname(struct ksmbd_share_config *share, in convert_to_nt_pathname() argument
166 int share_path_len = share->path_sz; in convert_to_nt_pathname()
178 if (strncmp(ab_pathname, share->path, share_path_len)) { in convert_to_nt_pathname()
264 * ksmbd_extract_sharename() - get share name from tree connect request
266 * @treename: buffer containing tree name and share name
268 * Return: share name on success, otherwise error
283 * @share: ksmbd_share_config pointer
284 * @name: file name that is relative to share
288 char *convert_to_unix_name(struct ksmbd_share_config *share, const char *name) in convert_to_unix_name() argument
296 path_len = share->path_sz; in convert_to_unix_name()
302 memcpy(new_name, share->path, path_len); in convert_to_unix_name()