I went through lot of documentations and question like how system call implemented, disassemble a system call and also my own slide at slide share Linux kernel tour but I want to know when we are opening any file, can be device, regular, pipe or socket, which part of the code is binding the system calls like open, read, write to its concerned drivers file_operation functions.
Also I am able to find the some flow of the functions and its definition in SYSCALL_DEFINEx then sys_calls etc, but as was unable to connect the dots till fops structure of driver and binding, so was little confused, is it done by udev, any other kernel demon, any other function or all functions are defined separately while driver is probed.
Looking to get some idea to connect this dots.