static int proxy_mkdir(FsContext *fs_ctx, V9fsPath *dir_path,

                       const char *name, FsCred *credp)

{

    int retval;

    V9fsString fullname;



    v9fs_string_init(&fullname);

    v9fs_string_sprintf(&fullname, "%s/%s", dir_path->data, name);



    retval = v9fs_request(fs_ctx->private, T_MKDIR, NULL, &fullname,

                          credp->fc_mode, credp->fc_uid, credp->fc_gid);

    v9fs_string_free(&fullname);

    if (retval < 0) {

        errno = -retval;

        retval = -1;

    }

    v9fs_string_free(&fullname);

    return retval;

}

static int proxy_mkdir(FsContext *fs_ctx, V9fsPath *dir_path,

                       const char *name, FsCred *credp)

{

    int retval;

    V9fsString fullname;



    v9fs_string_init(&fullname);

    v9fs_string_sprintf(&fullname, "%s/%s", dir_path->data, name);



    retval = v9fs_request(fs_ctx->private, T_MKDIR, NULL, &fullname,

                          credp->fc_mode, credp->fc_uid, credp->fc_gid);

    v9fs_string_free(&fullname);

    if (retval < 0) {

        errno = -retval;

        retval = -1;

    }

    v9fs_string_free(&fullname);

    return retval;

}

    v9fs_string_free(&fullname);
static int FUNC_0(FsContext *VAR_0, V9fsPath *VAR_1,

                       const char *VAR_2, FsCred *VAR_3)

{

    int VAR_4;

    V9fsString fullname;



    v9fs_string_init(&fullname);

    v9fs_string_sprintf(&fullname, "%s/%s", VAR_1->data, VAR_2);



    VAR_4 = v9fs_request(VAR_0->private, T_MKDIR, NULL, &fullname,

                          VAR_3->fc_mode, VAR_3->fc_uid, VAR_3->fc_gid);

    v9fs_string_free(&fullname);

    if (VAR_4 < 0) {

        errno = -VAR_4;

        VAR_4 = -1;

    }

    v9fs_string_free(&fullname);

    return VAR_4;

}

static int FUNC_0(FsContext *VAR_0, V9fsPath *VAR_1,
const char *VAR_2, FsCred *VAR_3)
{ int VAR_4; V9fsString fullname; v9fs_string_init(&fullname); v9fs_string_sprintf(&fullname, "%s/%s", VAR_1->data, VAR_2); VAR_4 = v9fs_request(VAR_0->private, T_MKDIR, NULL, &fullname,
VAR_3->fc_mode, VAR_3->fc_uid, VAR_3->fc_gid); v9fs_string_free(&fullname); if (VAR_4 < 0) { errno = -VAR_4; VAR_4 = -1; } v9fs_string_free(&fullname); return VAR_4; }