Regarding a related topic, there's a wonderful paper by Swanson[0] on the use of slurs (in particular racist ones) and the ideologies they hail, and the ideologies hailed absolutely depend on who's using them, in a similar way that the use-mention distinction most people would agree exists.
But there's another point here: you have directly assumed a subjectivist-individualist interpretation of racism (and perhaps even race, for a fresh look at the relation between race and racism see "Racecraft" by Fields and Fields[1]), but while you may account for individual actions of prejudice based on "race", it won't account for structural (going by structure driven through ideology) interpretations of racism.
[0] http://www-personal.umich.edu/~ericsw/research/Swanson,%20Sl...
You are fundamentally seeing people as 'White' or 'Men' instead of as they are, people. A persons ability to be racist or the victim of racism is solely dependent on if they are committing racist acts or having racist acts committed against them. Their race has nothing to do with it.