static void glfs_clear_preopened(glfs_t *fs)

{

    ListElement *entry = NULL;



    if (fs == NULL) {

        return;

    }



    QLIST_FOREACH(entry, &glfs_list, list) {

        if (entry->saved.fs == fs) {

            if (--entry->saved.ref) {

                return;

            }



            QLIST_REMOVE(entry, list);



            glfs_fini(entry->saved.fs);

            g_free(entry->saved.volume);

            g_free(entry);

        }

    }

}

static void glfs_clear_preopened(glfs_t *fs)

{

    ListElement *entry = NULL;



    if (fs == NULL) {

        return;

    }



    QLIST_FOREACH(entry, &glfs_list, list) {

        if (entry->saved.fs == fs) {

            if (--entry->saved.ref) {

                return;

            }



            QLIST_REMOVE(entry, list);



            glfs_fini(entry->saved.fs);

            g_free(entry->saved.volume);

            g_free(entry);

        }

    }

}

    QLIST_FOREACH(entry, &glfs_list, list) {
static void FUNC_0(glfs_t *VAR_0)

{

    ListElement *entry = NULL;



    if (VAR_0 == NULL) {

        return;

    }



    QLIST_FOREACH(entry, &glfs_list, list) {

        if (entry->saved.VAR_0 == VAR_0) {

            if (--entry->saved.ref) {

                return;

            }



            QLIST_REMOVE(entry, list);



            glfs_fini(entry->saved.VAR_0);

            g_free(entry->saved.volume);

            g_free(entry);

        }

    }

}

static void FUNC_0(glfs_t *VAR_0)
{ ListElement *entry = NULL; if (VAR_0 == NULL) { return; } QLIST_FOREACH(entry, &glfs_list, list) { if (entry->saved.VAR_0 == VAR_0) { if (--entry->saved.ref) { return; } QLIST_REMOVE(entry, list); glfs_fini(entry->saved.VAR_0); g_free(entry->saved.volume); g_free(entry); } } }