Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namei.c Create Date:2022-07-28 20:05:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kern_path

Proto:int kern_path(const char *name, unsigned int flags, struct path *path)

Type:int

Parameter:

TypeParameterName
const char *name
unsigned intflags
struct path *path
2421  Return filename_lookup(Special value used to indicateopenat should use the currentworking directory. , getname_kernel(name), flags, path, NULL)
Caller
NameDescribe
audit_add_tree_rulealled with audit_filter_mutex
audit_tag_tree
trace_uprobe_create
bpf_obj_do_get
bpf_prog_get_type_path
perf_event_parse_addr_filterAddress filter string parser
tomoyo_mount_aclmoyo_mount_acl - Check permission for mount() operation.*@r: Pointer to "struct tomoyo_request_info".*@dev_name: Name of device file. Maybe NULL.*@dir: Pointer to "struct path".*@type: Name of filesystem type.*@flags: Mount options.
tomoyo_realpath_nofollowmoyo_realpath_nofollow - Get realpath of a pathname.*@pathname: The pathname to solve.* Returns the realpath of @pathname on success, NULL otherwise.
aa_bind_mount
aa_move_mount
aa_new_mount
do_loopbackdo loopback mount.
do_move_mount_old
lookup_bdevlookup_bdev - lookup a struct block_device by name*@pathname: special file representing the block device* Get a reference to the blockdevice at @pathname in the current* namespace if possible and return it. Return ERR_PTR(error)* otherwise.