Looks similar to alaya ("storehouse consciousness") in the Mahayana tradition. Maybe this is the original source for that teaching?