| /OK3568_Linux_fs/kernel/drivers/acpi/acpica/ |
| H A D | uttrack.c | 32 *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() 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() 135 return ((void *)&allocation->user_space); in acpi_ut_allocate_and_track() 157 struct acpi_debug_mem_block *allocation; in acpi_ut_allocate_zeroed_and_track() local 168 allocation = in acpi_ut_allocate_zeroed_and_track() 171 if (!allocation) { in acpi_ut_allocate_zeroed_and_track() [all …]
|
| H A D | utalloc.c | 33 void *allocation; in acpi_os_allocate_zeroed() local 37 allocation = acpi_os_allocate(size); in acpi_os_allocate_zeroed() 38 if (allocation) { in acpi_os_allocate_zeroed() 42 memset(allocation, 0, size); in acpi_os_allocate_zeroed() 45 return (allocation); in acpi_os_allocate_zeroed()
|
| /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 …]
|
| H A D | 0070-desktop-shell-Support-clock-without-date.patch | 83 if (allocation.x > 0) 84 allocation.x += 85 - allocation.width - spacing * 1.5 - extents.width; 86 + allocation.width - spacing - extents.width; 88 allocation.x += 89 allocation.width / 2 - extents.width / 2;
|
| H A D | 0025-Support-setting-touch-calibration-through-environmen.patch | 29 + struct rectangle allocation; 37 + widget_get_allocation(calibrator->widget, &allocation); 38 + x_calib.f[2] /= allocation.width; 39 + y_calib.f[2] /= allocation.height;
|
| /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 …]
|
| H A D | 0070-desktop-shell-Support-clock-without-date.patch | 83 if (allocation.x > 0) 84 allocation.x += 85 - allocation.width - spacing * 1.5 - extents.width; 86 + allocation.width - spacing - extents.width; 88 allocation.x += 89 allocation.width / 2 - extents.width / 2;
|
| H A D | 0028-Support-setting-touch-calibration-through-environmen.patch | 29 + struct rectangle allocation; 37 + widget_get_allocation(calibrator->widget, &allocation); 38 + x_calib.f[2] /= allocation.width; 39 + y_calib.f[2] /= allocation.height;
|
| /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 …]
|
| H A D | 0071-desktop-shell-Support-clock-without-date.patch | 83 if (allocation.x > 0) 84 allocation.x += 85 - allocation.width - spacing * 1.5 - extents.width; 86 + allocation.width - spacing - extents.width; 88 allocation.x += 89 allocation.width / 2 - extents.width / 2;
|
| H A D | 0028-Support-setting-touch-calibration-through-environmen.patch | 29 + struct rectangle allocation; 37 + widget_get_allocation(calibrator->widget, &allocation); 38 + x_calib.f[2] /= allocation.width; 39 + y_calib.f[2] /= allocation.height;
|
| /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/tools/testing/selftests/resctrl/ |
| H A D | mba_test.c | 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() 72 runs < NUM_OF_RUNS * allocation + NUM_OF_RUNS ; runs++) { in show_mba_info() 83 ALLOCATION_MAX - ALLOCATION_STEP * allocation, in show_mba_info()
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | dmapool.c | 47 size_t allocation; member 95 pages * (pool->allocation / pool->size), in show_pools() 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() 230 memset(page->vaddr, POOL_POISON_FREED, pool->allocation); in pool_alloc_page() 252 memset(page->vaddr, POOL_POISON_FREED, pool->allocation); in pool_free_page() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/core-api/ |
| H A D | memory-allocation.rst | 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 93 * ``GFP_KERNEL & ~__GFP_RECLAIM`` - optimistic allocation without _any_ [all …]
|
| H A D | genalloc.rst | 4 There are a number of memory-allocation subsystems in the kernel, each 32 which NUMA node should be used for the allocation of the housekeeping 87 how the allocation functions choose which specific piece of memory to 107 - gen_pool_first_fit_align forces the allocation to have a specific 110 - gen_pool_first_fit_order_align aligns the allocation to the order of the 111 size. A 60-byte allocation will thus be 64-byte aligned, for example. 117 If the indicated memory is not available the allocation fails.
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | fifo.h | 29 size_t allocation; /* Number of bytes allocated for data. */ member 50 if (f->end + n <= f->allocation) { in fifo_reserve() 62 f->allocation += n; in fifo_reserve() 63 f->data = lsx_realloc(f->data, f->allocation); in fifo_reserve() 114 f->allocation = FIFO_MIN; in fifo_create() 115 f->data = lsx_malloc(f->allocation); in fifo_create()
|
| /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 | dmapool.h | 22 size_t size, size_t align, size_t allocation); 34 size_t size, size_t align, size_t allocation); 39 struct device *dev, size_t size, size_t align, size_t allocation) in dma_pool_create() argument 47 struct device *dev, size_t size, size_t align, size_t allocation) in dmam_pool_create() argument
|
| /OK3568_Linux_fs/kernel/Documentation/vm/ |
| H A D | page_frags.rst | 13 simple allocation framework for page fragments. This is used by the 19 cache is needed. This provides a central point for the fragment allocation 22 which can be expensive at allocation time. However due to the nature of 25 to be disabled when executing the fragment allocation. 28 allocation. The netdev_alloc_cache is used by callers making use of the 43 avoid calling get_page per allocation.
|
| /OK3568_Linux_fs/kernel/Documentation/filesystems/ext4/ |
| H A D | bigalloc.rst | 15 use clustered allocation, so that each bit in the ext4 block allocation 19 This means that each bit in the block allocation bitmap now addresses 20 256 4k blocks. This shrinks the total size of the block allocation 29 128MiB); however, the minimum allocation unit becomes a cluster, not a
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/shelf-pack/2.1.1/include/mapbox/ |
| H A D | shelf-pack.hpp | 207 Bin* allocation = packOne(bin.id, bin.w, bin.h); local 208 if (!allocation) { 212 bin.id = allocation->id; 213 bin.x = allocation->x; 214 bin.y = allocation->y; 216 results.push_back(allocation);
|
| /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/Documentation/admin-guide/ |
| H A D | numastat.rst | 12 the preferred node and numa_miss on the node where allocation succeeded. 17 incremented on allocation from a node by CPU on the same node. other_node is 18 similar to numa_miss and is incremented on the node where allocation succeeds 53 preferred node. As a result, such allocation will not increase the numa_foreign
|