Try to think of this from the organisation's point of view. The up or out culture serves two purposes. It helps ensure senior roles go to people they know well and trust, and it ensures there is room for other ambitious and motivated people to move up.
In other words the whole objective is to have a well run organisation with motivated employees. The objective is definitely not to force hard working and talented people to leave.
If you are hard working and talented it's incredibly unlikely they will want to push you out and then go through the whole process of hiring and training a replacement. It's worth having a conversation with your manager before looking for a new job.