You have 2 problems here, at least. In the dog picture the spots are white and in the window picture they are black.
Now thinking of the negative, the dog has dark spots and the window has light spots. Typically, air bubbles or pinholes are low in development and circular leaving lower development on the negative and thus light spots. So, the window picture might classify as having pinholes but they are not round in your example. The dog picture has what looks like dust or dirt. The window picture has some appearance of pinholes.
Did you prewet the film before development? Many films cry for this treatment to prevent pinholes (air bubbles). This varies with film and often vary from film to film type in the same tank.
Is your drying area dust free?
If there are rough spots on the film it can be either dust or lint or even particulate matter in your water supply.