⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

notify_event

Function notify_event 

Source
pub fn notify_event(inode: u64, mask: u32, cookie: u32, name: Option<&str>)
Expand description

Notify all watchers of a filesystem event on the given inode.

This is the primary integration point: VFS operations (create, delete, write, rename, etc.) call this function to push events to any inotify instances watching the affected inode.

§Arguments

  • inode - The inode where the event occurred
  • mask - Event type bitmask (IN_CREATE, IN_MODIFY, etc.)
  • cookie - Cookie for pairing move events (0 for non-move events)
  • name - Optional filename (for events in a watched directory)