Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\err.h Create Date:2022-07-28 05:35:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ERR_CAST - Explicitly cast an error-valued pointer to another pointer type*@ptr: The pointer to cast.* Explicitly cast an error-valued pointer to another pointer type in such a* way as to make it clear that's what's going on.

Proto:static inline void *__must_check ERR_CAST(__force const void *ptr)

Type:void

Parameter:

TypeParameterName
__force const void *ptr
54  Return ptr
Caller
NameDescribe
rhashtable_insert_one
rhashtable_try_insert
digsig_verifydigsig_verify() - digital signature verification with public key*@keyring: keyring to search key in*@sig: digital signature*@siglen: length of the signature*@data: data*@datalen: length of the data* Returns 0 on success, -EINVAL otherwise
__kthread_create_worker
psi_trigger_create
cgroup_get_from_fdgroup_get_from_fd - get a cgroup pointer from a fd*@fd: fd obtained by open(cgroup2_dir)* Find the cgroup from a fd which should be obtained* by opening a cgroup directory. Returns a pointer to the* cgroup on success. ERR_PTR is returned if the cgroup
__shmem_file_setupmmon code
new_vmap_blockw_vmap_block - allocates new vmap_block and occupies 2^order pages in this* block
msq_obtain_object
msq_obtain_object_check
sem_obtain_objectsem_lock_(check_) routines are called in the paths where the rwsem* is not held.* The caller holds the RCU read lock.
sem_obtain_object_check
find_alloc_undod_alloc_undo - lookup (and if not present create) undo array*@ns: namespace*@semid: semaphore array id* The function looks up (and if not present creates) the undo structure.* The size of the undo structure depends on the size of the semaphore
shm_obtain_object
shm_obtain_object_check
shm_lockshm_lock_(check_) routines are called in the paths where the rwsem* is not necessarily held.
mq_create_mount
key_create_or_updatekey_create_or_update - Update or create and instantiate a key.*@keyring_ref: A pointer to the destination keyring with possession flag.*@type: The type of key.*@description: The searchable description for the key.
lookup_user_keyLook up a key ID given us by userspace with a given permissions mask to get* the key it refers to.* Flags can be passed to request that special keyrings be created if referred* to directly, to permit partially constructed keys to be found and to skip
request_key_and_linkquest_key_and_link - Request a key and cache it in a keyring.*@type: The type of key we want.*@description: The searchable description of the key.*@domain_tag: The domain in which the key operates.
request_key_rcuquest_key_rcu - Request key from RCU-read-locked context*@type: The type of key we want.*@description: The name of the key we want.*@domain_tag: The domain in which the key operates.* Request a key from a context that we may not sleep in (such as RCU-mode
key_get_instantiation_authkeySearch the current process's keyrings for the authorisation key for* instantiation of a key.
key_create_persistentCreate the persistent keyring for the specified user.* Called with the namespace's sem locked for writing.
init_skcipher_req
smk_import_entrysmk_import_entry - import a label, return the list entry*@string: a text string that might be a Smack label*@len: the maximum size, or zero if it is NULL terminated
request_asymmetric_keyRequest an asymmetric key.
filp_openlp_open - open file and return file pointer*@filename: path to open*@flags: open flags as per the open(2) second argument*@mode: mode for the new file if O_CREAT is set, else ignored* This is the helper to open a file from kernelspace if you really
mount_bdev
mount_nodev
mount_single
open_exec
kern_path_lockeddoes lookup, returns the object with parent locked
do_file_open_root
filename_create
__d_obtain_alias
d_splice_aliassplice a disconnected dentry into the tree if one exists
vfs_kern_mount
mnt_clone_internal
collect_mountsCaller should check returned pointer for errors
clone_private_mountlone_private_mount - create a private clone of a path* This creates a new vfsmount, which will be the clone of @path. The new will* not be attached anywhere in the namespace and will be private (i.e. changes
open_detached_copy
copy_mnt_ns
mount_subtree
aio_private_file
search_fscrypt_keyringSearch ->s_master_keys or ->mk_users
fsverity_get_hash_algsverity_get_hash_alg() - validate and prepare a hash algorithm*@inode: optional inode for logging purposes*@num: the hash algorithm number* Get the struct fsverity_hash_alg for the given hash algorithm number, and
quotactl_blocklook up a superblock on which quota ops will be performed* - use the name of a block device to find the superblock thereon