函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmalloc.c Create Date:2022-07-27 16:30:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:s_show

函数原型:static int s_show(struct seq_file *m, void *p)

返回类型:int

参数:

类型参数名称
struct seq_file *m
void *p
3601  va等于list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(p, structvmap_area, list)
3607  如果非 in "busy" tree
3608  seq_printf(m, "0x%pK-0x%pK %7ld vm_map_ram\n", (void * )va_start, (void * )va_end, va_end - va_start)
3612  返回:0
3615  v等于 in "busy" tree
3617  seq_printf(m, "0x%pK-0x%pK %7ld", addr, addr + size, size)
3620  如果callerseq_printf(m, " %pS", caller)
3623  如果nr_pagesseq_printf(m, " pages=%d", nr_pages)
3626  如果phys_addrseq_printf(m, " phys=%pa", & phys_addr)
3629  如果flags按位与remap() and friends seq_puts(m, " ioremap")
3632  如果flags按位与vmalloc() seq_puts(m, " vmalloc")
3635  如果flags按位与vmap()ed pages seq_puts(m, " vmap")
3638  如果flags按位与suitable for remap_vmalloc_range seq_puts(m, " user")
3641  如果flags按位与dma_alloc_coherent seq_puts(m, " dma-coherent")
3644  如果Determine if an address is within the vmalloc range* On nommu, vmalloc/vfree wrap through kmalloc/kfree directly, so there* is no special casing required.seq_puts(m, " vpages")
3647  show_numa_info(m, v)
3648  seq_putc(m, '\n')
3656  如果检查是否为链表尾show_purge_info(m)
3659  返回:0