Unable to locate implementation of rdmsr_safe_regs

I am presently working on adding/proposing some additional features to the Model Specific Register kernel module. To this end, I am attempting to understand what the implementation of the msr_ioctl(X86_IOC_RDMSR_REGS) call is doing.