Count number of ways in which atomic operation(s) of n different processes can be interleaved
This is a classical combinatorics problem, where we view each operation in a process as indistinguishable. We can always label the $i$th operation as such after permuting all operations without distinguishing between the operations of a single process.
The number of different permutations of $n$ objects, where there are $n_1$ indistinguishable objects of the first kind, $n_2$ indistinguishable objects of the second, etc, is
$$\frac{n!}{n_1!n_2!\cdots n_k!}.$$
See e.g. this for a proof.

So in your example we find solution $\frac{9!}{6!3!} = 84$. Here are all 84 to confirm:
111111222
111112122
111112212
111112221
111121122
111121212
111121221
111122112
111122121
111122211
111211122
111211212
111211221
111212112
111212121
111212211
111221112
111221121
111221211
111222111
112111122
112111212
112111221
112112112
112112121
112112211
112121112
112121121
112121211
112122111
112211112
112211121
112211211
112212111
112221111
121111122
121111212
121111221
121112112
121112121
121112211
121121112
121121121
121121211
121122111
121211112
121211121
121211211
121212111
121221111
122111112
122111121
122111211
122112111
122121111
122211111
211111122
211111212
211111221
211112112
211112121
211112211
211121112
211121121
211121211
211122111
211211112
211211121
211211211
211212111
211221111
212111112
212111121
212111211
212112111
212121111
212211111
221111112
221111121
221111211
221112111
221121111
221211111
222111111