Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__nd_alloc_stack

Proto:static int __nd_alloc_stack(struct nameidata *nd)

Type:int

Parameter:

TypeParameterName
struct nameidata *nd
537  If flags & RCU pathwalk mode; semi-internal Then
538  p = kmalloc_array - allocate memory for an array.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc).
540  If Value for the false possibility is greater at compile time(!p) Then Return -ECHILD
542  Else
543  p = kmalloc_array - allocate memory for an array.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc).
545  If Value for the false possibility is greater at compile time(!p) Then Return -ENOMEM
548  memcpy(p, internal, size of internal )
549  stack = p
550  Return 0
Caller
NameDescribe
nd_alloc_stack