A file structure passed into the file system callbacks has a private_data field, which can be used to store a pointer to driver-specific data. The block device and network interface APIs also provide similar fields. On Linux user applications access the devices via file system entries, usually located in the /dev directory. As a result, […]