Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\inode.c Create Date:2022-07-28 20:08:00
Last Modify:2020-03-18 19:19:59 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rrent_time - Return FS time*@inode: inode.* Return the current time truncated to the time granularity supported by* the fs.* Note that inode and inode->sb cannot be NULL.* Otherwise, the function warns and returns time without truncation.

Proto:struct timespec64 current_time(struct inode *inode)

Type:struct timespec64

Parameter:

TypeParameterName
struct inode *inode
2224  ktime_get_coarse_real_ts64( & now)
2226  If Value for the false possibility is greater at compile time(!i_sb) Then
2227  WARN(1, "current_time() called with uninitialized super_block in the inode")
2228  Return now
2231  Return mestamp_truncate - Truncate timespec to a granularity*@t: Timespec*@inode: inode being updated* Truncate a timespec to the granularity supported by the fs* containing the inode. Always rounds down. gran must
Caller
NameDescribe
bpf_dentry_finalize
mqueue_create_attr
mqueue_unlink
mqueue_read_fileThis is routine for system read from queue file
do_mq_timedsend
do_mq_timedreceive
do_mq_notifyNotes: the case when user wants us to deregister (with NULL as pointer)* and he isn't currently owner of notification, will be silently discarded.* It isn't explicitly defined in the POSIX.
do_mq_getsetattr
sel_make_inode
__aafs_setup_d_inode__aafs_setup_d_inode - basic inode setup for apparmorfs*@dir: parent directory for the dentry*@dentry: dentry we are seting the inode up for*@mode: permissions the file should have*@data: data to store on inode
__aafs_profile_migrate_dentsRequires: @old->ns->lock held
aa_mk_null_file
__aa_loaddata_update
atime_needs_updateh_atime - update the access time*@path: the &struct path to update*@inode: inode to update* Update the accessed time on an inode and mark it for writeback.* This function automatically handles read only file systems and media,
touch_atime
file_update_timele_update_time - update mtime and ctime time*@file: file accessed* Update the mtime and ctime members of an inode and mark the inode* for writeback
notify_changey_change - modify attributes of a filesytem object*@dentry: object affected*@attr: new attributes*@delegated_inode: returns inode, if the inode is delegated* The caller must hold the i_mutex on the affected object
make_bad_inodemark an inode bad due to an I/O error
pseudo_fs_fill_super
simple_link
simple_unlink
simple_rename
simple_fill_superhe inodes created here are not hashed. If you use iunique to generate* unique inode values later for this filesystem, then you must take care* to pass it an appropriate max_reserved value to avoid collisions.
alloc_anon_inodeA single inode exists for all anon_inode files. Contrary to pipes,* anon_inode inodes have no associated per-instance data, so we need* only allocate one of them.
__ns_get_path
lease_get_mtimelease_get_mtime - update modified time of an inode with exclusive lease*@inode: the inode*@time: pointer to a timespec which contains the last modified time* This is to force NFS clients to flush their caches for files with* exclusive leases
bm_get_inode
simple_set_acl
mknod_ptmx
devpts_fill_super
devpts_pty_newdevpts_pty_new -- create a new inode in /dev/pts/*@ptmx_inode: inode of the master*@device: major+minor of the node to be created*@index: used as a name of the node*@priv: what's given back by devpts_get_priv* The created inode is returned
ramfs_get_inode
ramfs_mknodSMP-safe
ramfs_symlink