Lines Matching refs:called

24 on are called from a process context. Filesystem locking is described
75 called so the specific filesystem implementation can do its work. You
235 All methods are called without any locks being held, unless otherwise
237 only called from a process context (i.e. not from an interrupt handler
240 alloc_inode: this method is called by alloc_inode() to allocate memory
246 destroy_inode: this method is called by destroy_inode() to release
251 dirty_inode: this method is called by the VFS to mark an inode dirty.
253 write_inode: this method is called when the VFS needs to write an
257 drop_inode: called when the last access to the inode is dropped,
263 called regardless of the value of i_nlink)
270 delete_inode: called when the VFS wants to delete an inode
272 put_super: called when the VFS wishes to free the superblock
273 (i.e. unmount). This is called with the superblock lock held
275 sync_fs: called when VFS is writing out all dirty data associated with
279 freeze_fs: called when VFS is locking a filesystem and
283 unfreeze_fs: called when VFS is unlocking a filesystem and making it writable
286 statfs: called when the VFS needs to get filesystem statistics.
288 remount_fs: called when the filesystem is remounted. This is called
291 clear_inode: called then the VFS clears the inode. Optional
293 umount_begin: called when the VFS is unmounting a filesystem.
295 show_options: called by the VFS to show mount options for
298 quota_read: called by the VFS to read from filesystem quota file.
300 quota_write: called by the VFS to write to filesystem quota file.
302 nr_cached_objects: called by the sb cache shrinking function for the
306 free_cache_objects: called by the sb cache shrinking function for the
309 implement ->nr_cached_objects for it to be called correctly.
312 encountered, hence the void return type. This will never be called if
344 This method is called by the getxattr(2) system call.
347 When the new value is NULL, called to remove a particular extended
348 attribute. This method is called by the the setxattr(2) and
393 Again, all methods are called without any locks being held, unless
396 create: called by the open(2) and creat(2) system calls. Only
402 lookup: called when the VFS needs to look up an inode in a parent
407 should be inserted into the dentry (this is called a negative
414 This method is called with the directory inode semaphore held
416 link: called by the link(2) system call. Only required if you want
420 unlink: called by the unlink(2) system call. Only required if you
423 symlink: called by the symlink(2) system call. Only required if you
427 mkdir: called by the mkdir(2) system call. Only required if you want
431 rmdir: called by the rmdir(2) system call. Only required if you want
434 mknod: called by the mknod(2) system call to create a device (char,
440 rename: called by the rename(2) system call to rename the object to
454 get_link: called by the VFS to follow a symbolic link to the
462 In that case destructor(argument) will be called once VFS is
464 May be called in RCU mode; that is indicated by NULL dentry
474 permission: called by the VFS to check for access rights on a POSIX-like
477 May be called in rcu-walk mode (mask & MAY_NOT_BLOCK). If in rcu-walk
482 -ECHILD and it will be called again in ref-walk mode.
484 setattr: called by the VFS to set attributes for a file. This method
485 is called by chmod(2) and related system calls.
487 getattr: called by the VFS to get attributes of a file. This method
488 is called by stat(2) and related system calls.
490 listxattr: called by the VFS to list all extended attributes for a
491 given file. This method is called by the listxattr(2) system call.
493 update_time: called by the VFS to update a specific time or the i_version of
497 atomic_open: called on the last component of an open. Using this optional
502 returning finish_no_open(file, dentry). This method is only called if
509 tmpfile: called in the end of O_TMPFILE open(). Optional, equivalent to
534 lru_cache_add and mark_page_active needs to be called whenever the
659 writepage: called by the VM to write a dirty page to backing store.
677 readpage: called by the VM to read a page from backing store.
678 The page will be Locked when readpage is called, and should be
683 that all succeeds, ->readpage will be called again.
685 writepages: called by the VM to write out pages associated with the
694 set_page_dirty: called by the VM to set a page dirty.
697 a page is dirtied. This is called, for example, when a memory
702 readpages: called by the VM to read pages associated with the address_space
731 which case write_end is not called.
734 be called. len is the original len passed to write_begin, and copied
743 bmap: called by the VFS to map a logical block offset within object to
752 will be called when part or all of the page is to be removed
763 releasepage: releasepage is called on PagePrivate pages to indicate
784 freepage: freepage is called once the page is no longer visible in
786 data. Since it may be called by the memory reclaimer, it
790 direct_IO: called by the generic read/write routines to perform
891 Again, all methods are called without any locks being held, unless
894 llseek: called when the VFS needs to move the file position index
896 read: called by read(2) and related system calls
900 write: called by write(2) and related system calls
904 iterate: called when the VFS needs to read the directory contents
906 iterate_shared: called when the VFS needs to read the directory contents
909 poll: called by the VFS when a process wants to check if there is
913 unlocked_ioctl: called by the ioctl(2) system call.
915 compat_ioctl: called by the ioctl(2) system call when 32 bit system calls
918 mmap: called by the mmap(2) system call
920 open: called by the VFS when an inode should be opened. When the VFS
930 flush: called by the close(2) system call to flush a file
932 release: called when the last reference to an open file is closed
934 fsync: called by the fsync(2) system call. Also see the section above
937 fasync: called by the fcntl(2) system call when asynchronous
940 lock: called by the fcntl(2) system call for F_GETLK, F_SETLK, and F_SETLKW
943 get_unmapped_area: called by the mmap(2) system call
945 check_flags: called by the fcntl(2) system call for F_SETFL command
947 flock: called by the flock(2) system call
949 splice_write: called by the VFS to splice data from a pipe to a file. This
952 splice_read: called by the VFS to splice data from file to a pipe. This
955 setlease: called by the VFS to set or release a file lock lease. setlease
959 fallocate: called by the VFS to preallocate blocks or punch a hole.
961 copy_file_range: called by the copy_file_range(2) system call.
963 clone_file_range: called by the ioctl(2) system call for FICLONERANGE and
966 dedupe_file_range: called by the ioctl(2) system call for FIDEDUPERANGE
969 fadvise: possibly called by the fadvise64() system call.
1012 d_revalidate: called when the VFS needs to revalidate a dentry. This
1013 is called whenever a name look-up finds a dentry in the
1022 d_revalidate may be called in rcu-walk mode (flags & LOOKUP_RCU).
1029 -ECHILD and it will be called again in ref-walk mode.
1031 d_weak_revalidate: called when the VFS needs to revalidate a "jumped" dentry.
1032 This is called when a path-walk ends at dentry that was not acquired by
1043 d_weak_revalidate is only called after leaving rcu-walk mode.
1045 d_hash: called when the VFS adds a dentry to the hash table. The first
1052 d_compare: called to compare a dentry name with a given name. The first
1066 It is a tricky calling convention because it needs to be called under
1069 d_delete: called when the last reference to a dentry is dropped and the
1075 d_init: called when a dentry is allocated
1077 d_release: called when a dentry is really deallocated
1079 d_iput: called when a dentry loses its inode (just prior to its
1084 d_dname: called when the pathname of a dentry should be generated.
1104 d_automount: called when an automount dentry is to be traversed (optional).
1124 d_manage: called to allow the filesystem to manage the transition from a
1169 parent's hash, the "d_delete" method is called to check whether
1180 (the d_iput() method is called). If there are other
1181 references, then d_drop() is called instead
1189 pointer is NULL, the dentry is called a "negative
1190 dentry". This function is commonly called when an inode is