How to create sysfs file and associate it with file operations like mmap