函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mnt_alloc_id

函数原型:static int mnt_alloc_id(struct mount *mnt)

返回类型:int

参数:

类型参数名称
struct mount *mnt
107  res等于da_alloc() - Allocate an unused ID.*@ida: IDA handle.*@gfp: Memory allocation flags.* Allocate an ID between 0 and %INT_MAX, inclusive.* Context: Any context.* Return: The allocated ID, or %-ENOMEM if memory could not be allocated,
109  如果res小于0则返回:res
111  mount identifier 等于res
112  返回:0
调用者
名称描述
alloc_vfsmnt