void cpu_watchpoint_remove_all(CPUState *env, int mask)

{

    CPUWatchpoint *wp, *next;



    TAILQ_FOREACH_SAFE(wp, &env->watchpoints, entry, next) {

        if (wp->flags & mask)

            cpu_watchpoint_remove_by_ref(env, wp);

    }

}

void cpu_watchpoint_remove_all(CPUState *env, int mask)

{

    CPUWatchpoint *wp, *next;



    TAILQ_FOREACH_SAFE(wp, &env->watchpoints, entry, next) {

        if (wp->flags & mask)

            cpu_watchpoint_remove_by_ref(env, wp);

    }

}

void FUNC_0(CPUState *VAR_0, int VAR_1)

{

    CPUWatchpoint *wp, *next;



    TAILQ_FOREACH_SAFE(wp, &VAR_0->watchpoints, entry, next) {

        if (wp->flags & VAR_1)

            cpu_watchpoint_remove_by_ref(VAR_0, wp);

    }

}

void FUNC_0(CPUState *VAR_0, int VAR_1)
{ CPUWatchpoint *wp, *next; TAILQ_FOREACH_SAFE(wp, &VAR_0->watchpoints, entry, next) { if (wp->flags & VAR_1)
cpu_watchpoint_remove_by_ref(VAR_0, wp); } }