| | all vs everything
What is the rule on using all and everything, and what part of speech do they fall under?
For example, is it grammatically correct to use all or everything in this sentece:
He couldn't provide her with everything he needed.
He couldn't provide her with all he needed.