| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/ |
| H A D | 0068-desktop-shell-Support-setting-panel-scale-in-weston..patch | 31 struct rectangle allocation; 37 widget_get_allocation(widget, &allocation); 38 allocation.x += allocation.width / 2 - 41 if (allocation.width > allocation.height) 42 allocation.x += allocation.width / 2 - allocation.height / 2; 43 allocation.y += allocation.height / 2 - 46 if (allocation.height > allocation.width) 47 allocation.y += allocation.height / 2 - allocation.width / 2; 50 allocation.y++; 55 - allocation.x, allocation.y); [all …]
|
| /OK3568_Linux_fs/buildroot/package/weston/ |
| H A D | 0068-desktop-shell-Support-setting-panel-scale-in-weston..patch | 31 struct rectangle allocation; 37 widget_get_allocation(widget, &allocation); 38 allocation.x += allocation.width / 2 - 41 if (allocation.width > allocation.height) 42 allocation.x += allocation.width / 2 - allocation.height / 2; 43 allocation.y += allocation.height / 2 - 46 if (allocation.height > allocation.width) 47 allocation.y += allocation.height / 2 - allocation.width / 2; 50 allocation.y++; 55 - allocation.x, allocation.y); [all …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/ |
| H A D | 0069-desktop-shell-Support-setting-panel-scale-in-weston..patch | 31 struct rectangle allocation; 37 widget_get_allocation(widget, &allocation); 38 allocation.x += allocation.width / 2 - 41 if (allocation.width > allocation.height) 42 allocation.x += allocation.width / 2 - allocation.height / 2; 43 allocation.y += allocation.height / 2 - 46 if (allocation.height > allocation.width) 47 allocation.y += allocation.height / 2 - allocation.width / 2; 50 allocation.y++; 55 - allocation.x, allocation.y); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/acpi/acpica/ |
| H A D | uttrack.c | 4 * Module Name: uttrack - Memory allocation tracking routines (debug only) 14 * Each memory allocation is tracked via a doubly linked list. Each 32 *allocation); 80 * PARAMETERS: size - Size of the allocation 94 struct acpi_debug_mem_block *allocation; in acpi_ut_allocate_and_track() local 105 allocation = in acpi_ut_allocate_and_track() 107 if (!allocation) { in acpi_ut_allocate_and_track() 109 /* Report allocation error */ in acpi_ut_allocate_and_track() 118 acpi_ut_track_allocation(allocation, size, ACPI_MEM_MALLOC, in acpi_ut_allocate_and_track() 121 acpi_os_free(allocation); in acpi_ut_allocate_and_track() [all …]
|
| /OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-bad/ |
| H A D | 0009-waylandsink-Support-setting-toplevel-window-position.patch | 22 @@ -254,7 +254,7 @@ widget_size_allocate_cb (GtkWidget * widget, GtkAllocation * allocation, 24 allocation->x, allocation->y, allocation->width, allocation->height); 25 gst_wl_window_set_render_rectangle (priv->wl_window, allocation->x, 26 - allocation->y, allocation->width, allocation->height); 27 + allocation->y, allocation->width, allocation->height, FALSE); 32 gtk_widget_get_allocation (priv->gtk_widget, &allocation); 33 calculate_adjustment (priv->gtk_widget, &allocation); 34 gst_wl_window_set_render_rectangle (priv->wl_window, allocation.x, 35 - allocation.y, allocation.width, allocation.height); 36 + allocation.y, allocation.width, allocation.height, FALSE); [all …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22/ |
| H A D | 0009-waylandsink-Support-setting-toplevel-window-position.patch | 22 @@ -254,7 +254,7 @@ widget_size_allocate_cb (GtkWidget * widget, GtkAllocation * allocation, 24 allocation->x, allocation->y, allocation->width, allocation->height); 25 gst_wl_window_set_render_rectangle (priv->wl_window, allocation->x, 26 - allocation->y, allocation->width, allocation->height); 27 + allocation->y, allocation->width, allocation->height, FALSE); 32 gtk_widget_get_allocation (priv->gtk_widget, &allocation); 33 calculate_adjustment (priv->gtk_widget, &allocation); 34 gst_wl_window_set_render_rectangle (priv->wl_window, allocation.x, 35 - allocation.y, allocation.width, allocation.height); 36 + allocation.y, allocation.width, allocation.height, FALSE); [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/core-api/ |
| H A D | memory-allocation.rst | 4 Memory Allocation Guide 7 Linux provides a variety of APIs for memory allocation. You can 14 Most of the memory allocation APIs use GFP flags to express how that 16 pages", the underlying memory allocation function. 18 Diversity of the allocation APIs combined with the numerous GFP flags 26 Of course there are cases when other allocation APIs and different GFP 45 * If the allocation is performed from an atomic context, e.g interrupt 48 ``GFP_NOWAIT`` allocation is likely to fail. Allocations which 51 will be stressed unless allocation succeeds, you may use ``GFP_ATOMIC``. 66 example may be a hardware allocation that maps data directly into [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/resctrl/ |
| H A D | mba_test.c | 3 * Memory Bandwidth Allocation (MBA) test 23 * For each allocation, run 5 times in order to get average values. 27 static int runs_per_allocation, allocation = 100; in mba_setup() local 43 if (allocation < ALLOCATION_MIN || allocation > ALLOCATION_MAX) in mba_setup() 46 sprintf(allocation_str, "%d", allocation); in mba_setup() 49 allocation -= ALLOCATION_STEP; in mba_setup() 56 int allocation, runs; in show_mba_info() local 61 for (allocation = 0; allocation < ALLOCATION_MAX / ALLOCATION_STEP; in show_mba_info() 62 allocation++) { in show_mba_info() 71 for (runs = NUM_OF_RUNS * allocation + 1; in show_mba_info() [all …]
|
| /OK3568_Linux_fs/kernel/fs/xfs/libxfs/ |
| H A D | xfs_ialloc.h | 22 uint64_t alloc; /* inode phys. allocation bitmap for 40 * To work within the constraint of one allocation per transaction, 42 * allocation to make more free inodes. If an inode is 43 * available without an allocation, agbp would be set to the current 45 * If an allocation needed to be done, agbp would be set to the 46 * inode header of the allocation group and alloc_done set to true. 94 struct xfs_buf *bp, /* allocation group header buffer */ 98 * Read in the allocation group header (inode allocation section) 104 xfs_agnumber_t agno, /* allocation group number */ 105 struct xfs_buf **bpp); /* allocation group hdr buf */ [all …]
|
| H A D | xfs_alloc.h | 20 * Freespace allocation types. Argument to xfs_alloc_[v]extent. 58 xfs_agnumber_t agno; /* allocation group number */ 59 xfs_agblock_t agbno; /* allocation group-relative block # */ 71 xfs_alloctype_t type; /* allocation type XFS_ALLOCTYPE_... */ 72 xfs_alloctype_t otype; /* original allocation type */ 74 char wasdel; /* set if allocation was prev delayed */ 75 char wasfromfl; /* set if allocation is from freelist */ 83 #define XFS_ALLOC_USERDATA (1 << 0)/* allocation is for user data*/ 125 * Interface for inode allocation to force the pag data to be initialized. 131 xfs_agnumber_t agno, /* allocation group number */ [all …]
|
| H A D | xfs_trans_resv.c | 129 * the allocation btrees: 2 trees * (max depth - 1) * block size 147 * the tree during individual inode allocation. Therefore the finobt 148 * reservation is unconditional for both the inode chunk allocation and 149 * individual inode allocation (modify) cases. 152 * traditional inobt: cover a full finobt shape change plus block allocation. 168 * the allocation btrees: 2 trees * (max depth - 1) * block size 172 * allocation or free and which type of create transaction is in use. An inode 174 * headers (N == 0). An inode chunk allocation requires a chunk sized 176 * reservation is required for allocation on v5 supers, which use ordered 224 * Note: Most of the reservations underestimate the number of allocation [all …]
|
| /OK3568_Linux_fs/kernel/fs/jfs/ |
| H A D | jfs_dmap.c | 19 * SERIALIZATION of the Block Allocation Map. 21 * the working state of the block allocation map is accessed in 24 * 1) allocation and free requests that start at the dmap 28 * 2) allocation requests that start at dmap control page 46 * the working state of the block allocation map also includes read/ 48 * free block count, allocation group level free block counts). 53 * accesses to the persistent state of the block allocation map (limited 139 * FUNCTION: initializate the block allocation map. 223 * FUNCTION: terminate the block allocation map in preparation for 311 * allocation map. [all …]
|
| H A D | jfs_imap.h | 21 #define MAXAG 128 /* maximum number of allocation groups */ 23 #define AMAPSIZE 512 /* bytes in the IAG allocation maps */ 39 * inode allocation map: 41 * inode allocation map consists of 43 * . inode allocation group pages (per 4096 inodes) 47 * inode allocation group page (per 4096 inodes of an AG) 51 __le32 iagnum; /* 4: inode allocation group number */ 73 /* allocation bit map: 1 bit per inode (0 - free, 1 - allocated) */ 74 __le32 wmap[EXTSPERIAG]; /* 512: working allocation map */ 75 __le32 pmap[EXTSPERIAG]; /* 512: persistent allocation map */ [all …]
|
| H A D | jfs_mount.c | 18 * allocation map inode" (aka fileset inode): 21 * allocation map inode" (aka aggregate inode) where each inode 98 * initialize aggregate inode allocation map in jfs_mount() 106 * open aggregate block allocation map in jfs_mount() 119 * initialize aggregate block allocation map in jfs_mount() 127 * open the secondary aggregate inode allocation map in jfs_mount() 129 * This is a duplicate of the aggregate inode allocation map. in jfs_mount() 149 * initialize secondary aggregate inode allocation map in jfs_mount() 164 * open fileset inode allocation map (aka fileset inode) in jfs_mount() 169 /* open fileset secondary inode allocation map */ in jfs_mount() [all …]
|
| /OK3568_Linux_fs/external/security/librkcrypto/test/include/c_mode/ |
| H A D | bignum.h | 41 #define MBEDTLS_ERR_MPI_ALLOC_FAILED -0x0010 /**< Memory allocation failed. */ 170 * MBEDTLS_ERR_MPI_ALLOC_FAILED if memory allocation failed 181 * MBEDTLS_ERR_MPI_ALLOC_FAILED if memory allocation failed 192 * MBEDTLS_ERR_MPI_ALLOC_FAILED if memory allocation failed 212 * MBEDTLS_ERR_MPI_ALLOC_FAILED if memory allocation failed, 231 * MBEDTLS_ERR_MPI_ALLOC_FAILED if memory allocation failed, 249 * MBEDTLS_ERR_MPI_ALLOC_FAILED if memory allocation failed 274 * MBEDTLS_ERR_MPI_ALLOC_FAILED if memory allocation failed, 373 * MBEDTLS_ERR_MPI_ALLOC_FAILED if memory allocation failed 398 * MBEDTLS_ERR_MPI_ALLOC_FAILED if memory allocation failed [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/trace/ |
| H A D | events-kmem.rst | 5 The kmem tracing system captures events related to object and page allocation 8 - Slab allocation of small objects of unknown type (kmalloc) 9 - Slab allocation of small objects of known type 10 - Page allocation 17 1. Slab allocation of small objects of unknown type 27 internal fragmented as a result of the allocation pattern. By correlating 29 the allocation sites were. 32 2. Slab allocation of small objects of known type 45 3. Page allocation 54 These four events deal with page allocation and freeing. mm_page_alloc is [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | protected_memory_allocator.h | 28 * struct protected_memory_allocation - Protected memory allocation 30 * @pa: Physical address of the protected memory allocation. 31 * @order: Size of memory allocation in pages, as a base-2 logarithm. 45 * @pma_get_phys_addr: Callback to get the physical address of an allocation 56 * Return: Pointer to allocated memory, or NULL if allocation failed. 64 * allocation 68 * @pma: The protected memory allocation whose physical address 71 * Return: The physical address of the given allocation. 82 * @pma: The protected memory allocation to free.
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | dmapool.c | 47 size_t allocation; member 53 struct dma_page { /* cacheable header for 'allocation' bytes */ 95 pages * (pool->allocation / pool->size), in show_pools() 127 * Return: a dma allocation pool with the requested characteristics, or 134 size_t allocation; in dma_pool_create() local 148 allocation = max_t(size_t, size, PAGE_SIZE); in dma_pool_create() 151 boundary = allocation; in dma_pool_create() 167 retval->allocation = allocation; in dma_pool_create() 216 } while (offset < pool->allocation); in pool_initialise_page() 226 page->vaddr = dma_alloc_coherent(pool->dev, pool->allocation, in pool_alloc_page() [all …]
|
| H A D | zbud.c | 38 * allocation function, zbud_alloc(), returns an opaque handle to the user, 41 * allocation data and unmap the handle with zbud_unmap() when operations 42 * on the allocation data are complete. 61 * NCHUNKS_ORDER determines the internal allocation granularity, effectively 64 * allocation granularity will be in chunks of size PAGE_SIZE/64. As one chunk 229 /* Converts an allocation size in bytes to size in zbud chunks */ 267 * Add CHUNK_SIZE to the handle if it is the first allocation to jump in encode_handle() 303 * Return: pointer to the new zbud pool or NULL if the metadata allocation 338 * @size: size in bytes of the desired allocation 340 * @handle: handle of the new allocation [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ |
| H A D | mali_kbase_mem.h | 118 * @mappings: List of CPU mappings of this physical memory allocation. 119 * @evict_node: Node used to store this allocation on the eviction list 122 * allocation, or NULL if it has been freed. 211 * but then the driver tries to destroy the allocation. 214 * then the driver tries to destroy the allocation. 247 * @group_id: Memory group ID obtained at the time of page allocation. 297 * enum kbase_jit_report_flags - Flags for just-in-time memory allocation 300 * to a just-in-time memory allocation or free 311 * physical allocation. 312 * @alloc: the physical allocation containing the pages whose metadata is going [all …]
|
| H A D | mali_kbase_mem_linux.h | 37 * kbase_mem_alloc - Create a new allocation for GPU 45 * properties for the new allocation. 83 * properties for the new allocation representing the external 92 * kbase_mem_alias - Create a new allocation for GPU, aliasing one or more 145 * @vma: Pointer to the struct containing the info where the GPU allocation 169 * kbase_mem_grow_gpu_mapping - Grow the GPU mapping of an allocation 179 * been added to the allocation. 189 * kbase_mem_evictable_make - Make a physical allocation eligible for eviction 190 * @gpu_alloc: The physical allocation to make evictable 198 * intact as and until the shrinker reclaims the allocation. [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/mm/ |
| H A D | numa_memory_policy.rst | 40 use "local allocation" described below. However, during boot 84 A VMA policy will govern the allocation of pages that back 140 support allocation at fault time--a.k.a lazy allocation--so hugetlbfs 142 Although hugetlbfs segments now support lazy allocation, their support 199 closest to the node where the allocation takes place. 202 This mode specifies that the allocation should be attempted 204 allocation fails, the kernel will search other nodes, in order 211 and the policy is interpreted as local allocation. "Local" 212 allocation policy can be viewed as a Preferred policy that 213 starts at the node containing the cpu where the allocation [all …]
|
| /OK3568_Linux_fs/kernel/fs/ocfs2/ |
| H A D | reservations.h | 7 * Allocation reservations function prototypes and structures. 84 * allocation mirror bitmap. 115 * @cstart: start of proposed allocation 116 * @clen: length (in clusters) of proposed allocation 123 * On success, zero is returned and the valid allocation area is set in cstart 136 * @cstart: start of allocation in clusters 137 * @clen: end of allocation in clusters. 139 * Tell the reservation code that bits were used to fulfill allocation in 143 * reservations bitmap. If resv is passed, it's next allocation window will be
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/ |
| H A D | mem-stats.h | 33 /* Memory allocation location. */ 122 /* Flag if used by GGC allocation. */ 256 /* Peak allocation in bytes. */ 275 /* Memory allocation description. */ 321 /* Register memory allocation descriptor for container PTR which is 325 /* Register memory allocation descriptor for container PTR. ORIGIN identifies 326 type of container and GGC identifes if the allocation is handled in GGC 333 /* Register instance overhead identified by PTR pointer. Allocation takes 338 we register allocation of SIZE bytes, identified by PTR pointer, belonging 351 /* Unregister a memory allocation descriptor registered with [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/ |
| H A D | mem-stats.h | 33 /* Memory allocation location. */ 122 /* Flag if used by GGC allocation. */ 256 /* Peak allocation in bytes. */ 275 /* Memory allocation description. */ 321 /* Register memory allocation descriptor for container PTR which is 325 /* Register memory allocation descriptor for container PTR. ORIGIN identifies 326 type of container and GGC identifes if the allocation is handled in GGC 333 /* Register instance overhead identified by PTR pointer. Allocation takes 338 we register allocation of SIZE bytes, identified by PTR pointer, belonging 351 /* Unregister a memory allocation descriptor registered with [all …]
|