Green’s Dictionary of Slang

jockey n.1

[jockum n.; note double entendre on a man’s name in D’Urfey, Pills to Purge Melancholy, (1719): ‘You’ve been ranting, playing the Wanton, / Keeping of Jockey Company’]

[17C; 1920s–30s] the penis.