Function report |
Source Code:mm\vmalloc.c |
Create Date:2022-07-28 15:00:56 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:s_show
Proto:static int s_show(struct seq_file *m, void *p)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct seq_file * | m | |
| void * | p |
| 3607 | If Not in "busy" tree Then |
| 3608 | seq_printf(m, "0x%pK-0x%pK %7ld vm_map_ram\n", (void * )va_start, (void * )va_end, va_end - va_start) |
| 3612 | Return 0 |
| 3615 | v = in "busy" tree |
| 3620 | If caller Then seq_printf(m, " %pS", caller) |
| 3623 | If nr_pages Then seq_printf(m, " pages=%d", nr_pages) |
| 3626 | If phys_addr Then seq_printf(m, " phys=%pa", & phys_addr) |
| 3629 | If flags & remap() and friends Then seq_puts(m, " ioremap") |
| 3635 | If flags & vmap()ed pages Then seq_puts(m, " vmap") |
| 3638 | If flags & suitable for remap_vmalloc_range Then seq_puts(m, " user") |
| 3641 | If flags & dma_alloc_coherent Then seq_puts(m, " dma-coherent") |
| 3644 | If 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. Then seq_puts(m, " vpages") |
| 3647 | show_numa_info(m, v) |
| 3656 | If list_is_last - tests whether @list is the last entry in list @head*@list: the entry to test*@head: the head of the list Then show_purge_info(m) |
| 3659 | Return 0 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |