I Created /dev/mybuf... But How Did Linux Know Which Function to Call?

Part 3B-1 of my Linux Device Driver Journey on Raspberry Pi 5