Function report |
Source Code:arch\x86\kernel\cpu\resctrl\pseudo_lock.c |
Create Date:2022-07-28 08:13:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pseudo_lock_region_alloc - Allocate kernel memory that will be pseudo-locked*@plr: pseudo-lock region* Initialize the details required to set up the pseudo-locked region and* allocate the contiguous memory that will be pseudo-locked to the cache.
Proto:static int pseudo_lock_region_alloc(struct pseudo_lock_region *plr)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct pseudo_lock_region * | plr |
356 | If size > Maximum allocatable size Then |
357 | rdt_last_cmd_puts("Requested region exceeds maximum size\n") |
359 | Go to out_region |
362 | kmem = 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). |
363 | If Not kmem Then |
369 | ret = 0 |
370 | Go to out |
371 | out_region : |
373 | out : |
374 | Return ret |
Name | Describe |
---|---|
rdtgroup_pseudo_lock_create | dtgroup_pseudo_lock_create - Create a pseudo-locked region*@rdtgrp: resource group to which pseudo-lock region belongs* Called when a resource group in the pseudo-locksetup mode receives a* valid schemata that should be pseudo-locked |
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 |