Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_printf.c Create Date:2022-07-28 06:32:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:flags

Proto:static void __init flags(void)

Type:void

Parameter:Nothing

556  flags = 0
557  test("", "%pGp", & flags)
560  flags = 1UL << NR_PAGEFLAGS
561  test("", "%pGp", & flags)
563  flags |= 1UL << PG_uptodate | 1UL << PG_dirty | 1UL << PG_lru | 1UL << PG_active | 1UL << Page is backed by RAM/swap
565  test("uptodate|dirty|lru|active|swapbacked", "%pGp", & flags)
568  flags = currently active flags | VM_EXEC | limits for mprotect() etc | VM_MAYWRITE | VM_MAYEXEC | ETXTBSY on write attempts..
570  test("read|exec|mayread|maywrite|mayexec|denywrite", "%pGv", & flags)
572  gfp = GFP_TRANSHUGE
573  test("GFP_TRANSHUGE", "%pGg", & gfp)
575  gfp = DOC: Useful GFP flag combinations* Useful GFP flag combinations* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~* Useful GFP flag combinations that are commonly used. It is recommended* that subsystems start with one of these combinations and then set/clear | Physical address zone modifiers (see linux/mmzone.h - low four bits)* Do not put any conditional on these. If necessary modify the definitions* without the underscores and use them consistently. The definitions here may* be used in bit comparisons.
576  test("GFP_ATOMIC|GFP_DMA", "%pGg", & gfp)
578  gfp = DOC: Watermark modifiers* Watermark modifiers -- controls access to emergency reserves* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* %__GFP_HIGH indicates that the caller is high-priority and that granting
579  test("__GFP_ATOMIC", "%pGg", & gfp)
581  cmp_buffer = kmalloc(BUF_SIZE, GFP_KERNEL)
582  If Not cmp_buffer Then Return
586  gfp = ~__GFP_BITS_MASK
587  snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
588  test(cmp_buffer, "%pGg", & gfp)
590  snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
592  gfp |= DOC: Watermark modifiers* Watermark modifiers -- controls access to emergency reserves* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* %__GFP_HIGH indicates that the caller is high-priority and that granting
593  test(cmp_buffer, "%pGg", & gfp)
595  kfree(cmp_buffer)
Caller
NameDescribe
test_pointer