1#ifndef _ADV_PROC_FOPS_H
2#define _ADV_PROC_FOPS_H
3#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)
6static const struct file_operations adv_proc_fops = {
9 .release = adv_proc_release,
11 .unlocked_ioctl = adv_proc_ioctl,
12 .poll = adv_proc_poll,
int adv_proc_mmap(struct file *filp, struct vm_area_struct *vma)
Definition adv_mmap.c:78
int adv_proc_open(struct inode *inode, struct file *filp)