函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namei.c Create Date:2022-07-29 10:34:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kern_path

函数原型:int kern_path(const char *name, unsigned int flags, struct path *path)

返回类型:int

参数:

类型参数名称
const char *name
unsigned intflags
struct path *path
2421  返回:filename_lookup(Special value used to indicateopenat should use the currentworking directory. , getname_kernel(name), flags, path, NULL)
调用者
名称描述
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.
audit_trim_trees