[][src]Function libfuse_sys::fuse_lowlevel::fuse_lowlevel_notify_store

pub unsafe extern "C" fn fuse_lowlevel_notify_store(
    ch: *mut fuse_chan,
    ino: fuse_ino_t,
    offset: off_t,
    bufv: *mut fuse_bufvec,
    flags: fuse_buf_copy_flags
) -> c_int

Store data to the kernel buffers

Synchronously store data in the kernel buffers belonging to the given inode. The stored data is marked up-to-date (no read will be performed against it, unless it's invalidated or evicted from the cache).

If the stored data overflows the current file size, then the size is extended, similarly to a write(2) on the filesystem.

If this function returns an error, then the store wasn't fully completed, but it may have been partially completed.

@param ch the channel through which to send the invalidation @param ino the inode number @param offset the starting offset into the file to store to @param bufv buffer vector @param flags flags controlling the copy @return zero for success, -errno for failure