how can i understand this file ? .is there any help for easy understanding of this file . where is the main() for this file?
This file compiles to a linux kernel module. There is no main() function.
If you want to understand this file I would recommend scanning Linux Device Drivers, 3rd Ed.