app/code/community/Nexcessnet/Turpentine/Model/Observer/Ban.php
public function banAllCache($eventObject) {
        if (Mage::helper('turpentine/varnish')->getVarnishEnabled()) {
            $result = $this->_getVarnishAdmin()->flushAll();
            Mage::dispatchEvent('turpentine_ban_all_cache', $result);
            $this->_checkResult($result);
        }
    }
public function banAllCache($eventObject) {
        if (Mage::helper('turpentine/varnish')->getVarnishEnabled()) {
            $result = $this->_getVarnishAdmin()->flushAll();
            Mage::dispatchEvent('turpentine_ban_all_cache', $result);
            $this->_checkResult($result);
        }
    }
public function banAllCache ( $ eventObject ) { if ( Mage :: helper ( 'turpentine/varnish' ) -> getVarnishEnabled ( ) ) { $ result = $ this -> _getVarnishAdmin ( ) -> flushAll ( ) ; Mage :: dispatchEvent ( 'turpentine_ban_all_cache' , $ result ) ; $ this -> _checkResult ( $ result ) ; } }
Do a full cache flush, corresponds to "Flush Magento Cache" and
"Flush Cache Storage" buttons in admin > cache management

Events:
adminhtml_cache_flush_system
adminhtml_cache_flush_all

@param  Varien_Object $eventObject
@return null
Do a full cache flush corresponds to Flush Magento Cache and Flush Cache Storage buttons in admin > cache management