if (S_ISREG(inode->i_mode)) { #ifdef CONFIG_COMPAT if (!de->proc_fops->compat_ioctl) inode->i_fop = &proc_reg_file_ops_no_compat; else #endif inode->i_fop = &proc_reg_file_ops; ---这里设置 } else { inode->i_fop = de->proc_fops; } } } else pde_put(de); return ...
poll=0xffffffff811e33d0<proc_reg_poll>, ioctl=0x0, unlocked_ioctl=0xffffffff811e36b0<proc_reg_unlocked_ioctl>, compat_ioctl=0x0, mmap=0xffffffff811e3320<proc_reg_mmap>, open=0xffffffff811e3a50<proc_reg_open>, flush=0x0, release=0xffffffff811e31f0<proc_reg_release>, fsync=0x0, a...
@@ -277,9 +277,9 @@ static long proc_reg_compat_ioctl(struct file *file, unsigned int cmd, unsigned 277 277 struct proc_dir_entry *pde = PDE(file_inode(file)); 278 278 long rv = -ENOTTY; 279 279 if (use_pde(pde)) { 280 - typeof_member(struct file_operations, compat_...
(*proc_ioctl)(struct file *, unsigned int, unsigned long); #ifdef CONFIG_COMPAT long (*proc_compat_ioctl)(struct file *, unsigned int, unsigned long); #endif int (*proc_mmap)(struct file *, struct vm_area_struct *); unsigned long (*proc_get_unmapped_area)(struct file *, unsigned...
Learn 登录 Windows 应用开发 探究 开发 平台 故障排除 资源 仪表板 此主题的部分內容可能由机器或 AI 翻译。 消除警报 开发人员说明 Advpub.h Apiquery2.h Appcompatapi.h Aux_ulib.h Avrfsdk.h Camerauicontrol.h Capi.h Comppkgsup.h Dbghelp.h ...
{ .proc_lseek = proc_bus_pci_lseek, .proc_read = proc_bus_pci_read, .proc_write = proc_bus_pci_write, .proc_ioctl = proc_bus_pci_ioctl, #ifdef CONFIG_COMPAT .proc_compat_ioctl = proc_bus_pci_ioctl, #endif #ifdef HAVE_PCI_MMAP .proc_open = proc_bus_pci_open, .proc_rel...
Rtlsupportapi.h Stralign.h Tcpioctl.h Tdiinfo.h Vdmdbg.h 概觀 PROCESSENUMPROC 回呼函式 TASKENUMPROCEX 回呼函式 VDMEnumProcessWOW 函式 VDMEnumTaskWOWEx 函式 Winbase.h Windowsx.h Wininet.h Winnls32.h Winnt.h Winreg.h Winternl.h Winuser.h Wldp.h Wscapi.h Wtypes.h 下載PDF Learn...
Learn 登录 Windows 应用开发 探究 开发 平台 故障排除 资源 仪表板 此主题的部分內容可能由机器或 AI 翻译。 消除警报 开发人员说明 Advpub.h Apiquery2.h Appcompatapi.h Aux_ulib.h Avrfsdk.h Camerauicontrol.h Capi.h Comppkgsup.h Dbghelp.h ...
compat_ioctl.c coredump.c dax.c dcache.c dcookies.c direct-io.c drop_caches.c eventfd.c eventpoll.c exec.c fcntl.c fhandle.c file.c file_table.c filesystems.c fs-writeback.c fs_pin.c fs_struct.c inode.c internal.h ioctl.c libfs.c locks.c mbcache.c mount.h mpage.c namei...
compat_ioctl.c dcache.c dcookies.c direct-io.c drop_caches.c eventfd.c eventpoll.c exec.c fcntl.c fifo.c file.c file_table.c filesystems.c fs-writeback.c fs_struct.c generic_acl.c inode.c internal.h ioctl.c ioprio.c libfs.c locks.c mbcache.c mpage.c namei.c namespace.c...