Do you mean 'smoking' functions as subject?
I'd say 'my' is a possesive adjective because it goes with 'book' - a noun.
And 'yours' a possesive pronoun because it functions as a substitute for the noun.
Grammar was never my forte, anyway.
- For Teachers