We examine in details the entropy function formalism for non-extremal D3, M2, and M5-branes that their throat approximation is given by Schwarzschild black hole in AdS(p+2) x SD-(p+2). We show that even though there is no attract or mechanism in the non-extremal black holes/branes, the entropy function for malism does work and the entropy is given by the entropy function at its saddle point.