Lines Matching refs:prepath
313 new_ctx->prepath = NULL; in smb3_fs_context_dup()
326 DUP_CTX_STR(prepath); in smb3_fs_context_dup()
454 char *cifs_sanitize_prepath(char *prepath, gfp_t gfp) in cifs_sanitize_prepath() argument
456 char *cursor1 = prepath, *cursor2 = prepath; in cifs_sanitize_prepath()
479 if (!*prepath) in cifs_sanitize_prepath()
481 s = kstrdup(prepath, gfp); in cifs_sanitize_prepath()
498 plen = ctx->prepath ? strlen(ctx->prepath) + 1 : 0; in smb3_fs_context_fullpath()
506 memcpy(s + ulen + 1, ctx->prepath, plen); in smb3_fs_context_fullpath()
568 kfree(ctx->prepath); in smb3_parse_devname()
569 ctx->prepath = NULL; in smb3_parse_devname()
575 ctx->prepath = cifs_sanitize_prepath(pos, GFP_KERNEL); in smb3_parse_devname()
576 if (IS_ERR(ctx->prepath)) { in smb3_parse_devname()
577 rc = PTR_ERR(ctx->prepath); in smb3_parse_devname()
578 ctx->prepath = NULL; in smb3_parse_devname()
1659 kfree(ctx->prepath); in smb3_cleanup_fs_context_contents()
1660 ctx->prepath = NULL; in smb3_cleanup_fs_context_contents()