| Function report | 
| Source Code: include\linux\hugetlb.h | Create Date:2022-07-28 05:55:23 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:is_file_hugepages
Proto:static inline bool is_file_hugepages(struct file *file)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file * | file | 
| 387 | If f_op == hugetlbfs_file_operations Then Return true | 
| 390 | Return is_file_shm_hugepages(file) | 
| Name | Describe | 
|---|---|
| do_mmap | The caller must hold down_write(¤t->mm->mmap_sem). | 
| ksys_mmap_pgoff | |
| accountable_mapping | We account for memory if it's a private writeable mapping,* not hugepages and VM_NORESERVE wasn't set. | 
| memfd_file_seals_ptr | |
| shm_destroy | |
| newseg | wseg - Create a new shared memory segment*@ns: namespace*@params: ptr to the structure that contains key, size and shmflg* Called with shm_ids.rwsem held as a writer. | 
| shm_add_rss_swap | Calculate and add used RSS and swap pages of a shm.* Called with shm_ids.rwsem held as a reader | 
| shmctl_do_lock | |
| do_shmat | Fix shmaddr, allocate descriptor, map shm, add attach descriptor to lists.* NOTE! Despite the name, this is NOT a direct system call entrypoint. The* "raddr" thing points to kernel space, and there has to be a wrapper around* this. | 
| io_sqe_buffer_register | 
| 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 |