Function report | 
Source Code:arch\x86\kernel\cpu\resctrl\pseudo_lock.c | 
Create Date:2022-07-28 08:14:21 | 
| 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_dev_mmap
Proto:static int pseudo_lock_dev_mmap(struct file *filp, struct vm_area_struct *vma)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file * | filp | |
| struct vm_area_struct * | vma | 
| 1480 | mutex_lock( & Mutex to protect rdtgroup access. ) | 
| 1484 | If Not rdtgrp Then | 
| 1486 | Return -ENODEV | 
| 1491 | If Not d Then | 
| 1493 | Return -ENODEV | 
| 1504 | Return -EINVAL | 
| 1507 | physical = __pa(kmem) >> PAGE_SHIFT determines the page size | 
| 1512 | Return -ENOSPC | 
| 1519 | If Not (Flags, see mm.h. & VM_SHARED) Then | 
| 1521 | Return -EINVAL | 
| 1526 | Return -ENOSPC | 
| 1534 | Return -EAGAIN | 
| 1538 | 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  |