Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:new_pts_fs_info

Proto:static void *new_pts_fs_info(struct super_block *sb)

Type:void

Parameter:

TypeParameterName
struct super_block *sb
432  fsi = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
433  If Not fsi Then Return NULL
436  ida_init( & allocated_ptys)
437  mode = DEVPTS_DEFAULT_MODE
438  ptmxmode = ptmx is a new node in /dev/pts and will be unused in legacy (single-* instance) mode. To prevent surprises in user space, set permissions of* ptmx to 0. Use 'chmod' or remount with '-o ptmxmode' to set meaningful* permissions.
439  sb = sb
441  Return fsi
Caller
NameDescribe
devpts_fill_super