函数逻辑报告 |
Source Code:include\asm-generic\getorder.h |
Create Date:2022-07-27 06:38:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:get_order - Determine the allocation order of a memory size*@size: The size for which to get the order* Determine the allocation order of a particular sized block of memory
函数原型:static inline __attribute_const__ int get_order(unsigned long size)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned long | size |
| 31 | 如果__builtin_constant_p(size)则 |
| 35 | 如果size小于1UL左移PAGE_SHIFT determines the page size 位则返回:0 |
| 41 | size自减 |
| 名称 | 描述 |
|---|---|
| kvmclock_init_mem | |
| gart_alloc_coherent | allocate and map a coherent mapping |
| init_amd_gatt | Private Northbridge GATT initialization in case we cannot use the* AGP driver for some reason. |
| gart_iommu_init | |
| dma_free_attrs | |
| __dma_direct_alloc_pages | |
| dma_direct_alloc_pages | |
| dma_direct_free_pages | |
| dma_alloc_contiguous | dma_alloc_contiguous() - allocate contiguous pages*@dev: Pointer to device for which the allocation is performed |
| dma_free_contiguous | dma_free_contiguous() - release allocated pages*@dev: Pointer to device for which the pages were allocated |
| __dma_alloc_from_coherent | |
| dma_virt_alloc | |
| dma_virt_free | |
| swiotlb_late_init_with_default_size | Systems with larger DMA zones (those that don't support ISA) can* initialize the swiotlb later using the slab allocator if needed.* This should be just like above, but with some error catching. |
| swiotlb_late_init_with_tbl | |
| swiotlb_exit | |
| dma_common_contiguous_remap | Remaps an allocated contiguous region into another vm_area.* Cannot be used in non-sleeping contexts |
| kimage_alloc_init | |
| kimage_file_alloc_init | |
| do_mmap_private | set up a private mapping or an anonymous shared mapping |
| vb_alloc | |
| vb_free | |
| alloc_pages_exact | alloc_pages_exact - allocate an exact number physically-contiguous pages.*@size: the number of bytes to allocate*@gfp_mask: GFP flags for the allocation, must not contain __GFP_COMP* This function is similar to alloc_pages(), except that it allocates the |
| alloc_pages_exact_nid | alloc_pages_exact_nid - allocate an exact number of physically-contiguous* pages on a node |
| alloc_large_system_hash | allocate a large system hash table from bootmem* - it is assumed that the hash table must contain an exact power-of-2* quantity of entries* - limit is the number of hash buckets, not the total allocation size |
| vmemmap_alloc_block | |
| __do_kmalloc_node | End of slob allocator proper. Begin kmem_cache_alloc and kmalloc frontend. |
| slob_alloc_node | |
| __kmem_cache_free | |
| slab_order | Calculate the order of allocation given an slab object size.* The order of allocation has significant impact on performance and other* system components. Generally order 0 allocations should be preferred since |
| calculate_sizes | alculate_sizes() determines the order and the distribution of data within* a slab object. |
| kmem_cache_open | |
| kmalloc_large_node | |
| __kmalloc_node | |
| __kmalloc_node_track_caller | |
| try_charge | |
| param_set_bufsize | |
| ima_alloc_pages | ma_alloc_pages() - Allocate contiguous pages |
| ima_free_pages | ma_free_pages() - Free pages allocated by ima_alloc_pages().*@ptr: Pointer to allocated pages.*@size: Size of allocated buffer. |
| io_mem_alloc | |
| ring_pages | |
| ramfs_nommu_expand_for_mapping | add a contiguous set of pages into a ramfs inode when it's truncated from* size 0 on the assumption that it's going to be used for an mmap of shared* memory |
| dma_free_contiguous | |
| kmalloc_large |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |