/kernel/linux/linux-5.10/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() 157 struct acpi_debug_mem_block *allocation; acpi_ut_allocate_zeroed_and_track() local 217 acpi_ut_free_and_track(void *allocation, u32 component, const char *module, u32 line) acpi_ut_free_and_track() argument 277 acpi_ut_find_allocation(struct acpi_debug_mem_block *allocation) acpi_ut_find_allocation() argument 331 acpi_ut_track_allocation(struct acpi_debug_mem_block *allocation, acpi_size size, u8 alloc_type, u32 component, const char *module, u32 line) acpi_ut_track_allocation() argument 421 acpi_ut_remove_allocation(struct acpi_debug_mem_block *allocation, u32 component, const char *module, u32 line) acpi_ut_remove_allocation() argument [all...] |
H A D | utalloc.c | 4 * Module Name: utalloc - local memory allocation routines 22 * PARAMETERS: size - Size of the allocation 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() 152 /* Memory allocation lists */ in acpi_ut_create_caches() 222 /* Debug only - display leftover memory allocation, if any */ in acpi_ut_delete_caches() 322 * purposefully bypass the (optionally enabled) internal allocation in acpi_ut_initialize_buffer() [all...] |
/kernel/linux/linux-6.6/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() 157 struct acpi_debug_mem_block *allocation; acpi_ut_allocate_zeroed_and_track() local 217 acpi_ut_free_and_track(void *allocation, u32 component, const char *module, u32 line) acpi_ut_free_and_track() argument 277 acpi_ut_find_allocation(struct acpi_debug_mem_block *allocation) acpi_ut_find_allocation() argument 331 acpi_ut_track_allocation(struct acpi_debug_mem_block *allocation, acpi_size size, u8 alloc_type, u32 component, const char *module, u32 line) acpi_ut_track_allocation() argument 421 acpi_ut_remove_allocation(struct acpi_debug_mem_block *allocation, u32 component, const char *module, u32 line) acpi_ut_remove_allocation() argument [all...] |
H A D | utalloc.c | 4 * Module Name: utalloc - local memory allocation routines 22 * PARAMETERS: size - Size of the allocation 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() 152 /* Memory allocation lists */ in acpi_ut_create_caches() 222 /* Debug only - display leftover memory allocation, if any */ in acpi_ut_delete_caches() 322 * purposefully bypass the (optionally enabled) internal allocation in acpi_ut_initialize_buffer() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/ |
H A D | mba_test.c | 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 44 if (allocation < ALLOCATION_MIN || allocation > ALLOCATION_MAX) in mba_setup() 47 sprintf(allocation_str, "%d", allocation); in mba_setup() 54 allocation -= ALLOCATION_STEP; in mba_setup() 61 int allocation, runs; in show_mba_info() local 66 for (allocation = 0; allocation < ALLOCATION_MAX / ALLOCATION_STEP; in show_mba_info() 67 allocation in show_mba_info() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/resctrl/ |
H A D | mba_test.c | 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 38 if (allocation < ALLOCATION_MIN || allocation > ALLOCATION_MAX) in mba_setup() 41 sprintf(allocation_str, "%d", allocation); in mba_setup() 48 allocation -= ALLOCATION_STEP; in mba_setup() 55 int allocation, runs; in show_mba_info() local 60 for (allocation = 0; allocation < ALLOCATION_MAX / ALLOCATION_STEP; in show_mba_info() 61 allocation in show_mba_info() [all...] |
/kernel/linux/linux-5.10/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() 498 dmam_pool_create(const char *name, struct device *dev, size_t size, size_t align, size_t allocation) dmam_pool_create() argument [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | dmapool.c | 57 unsigned int allocation; member 63 struct dma_page { /* cacheable header for 'allocation' bytes */ 127 if ((dma - page->dma) < pool->allocation) in pool_find_page() 161 memset(page->vaddr, POOL_POISON_FREED, pool->allocation); in pool_init_page() 221 * Return: a dma allocation pool with the requested characteristics, or 228 size_t allocation; in dma_pool_create() local 245 allocation = max_t(size_t, size, PAGE_SIZE); in dma_pool_create() 248 boundary = allocation; in dma_pool_create() 252 boundary = min(boundary, allocation); in dma_pool_create() 266 retval->allocation in dma_pool_create() 493 dmam_pool_create(const char *name, struct device *dev, size_t size, size_t align, size_t allocation) dmam_pool_create() argument [all...] |
/kernel/linux/linux-5.10/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() 47 struct device *dev, size_t size, size_t align, size_t allocation) in dmam_pool_create() 38 dma_pool_create(const char *name, struct device *dev, size_t size, size_t align, size_t allocation) dma_pool_create() argument 46 dmam_pool_create(const char *name, struct device *dev, size_t size, size_t align, size_t allocation) dmam_pool_create() argument
|
H A D | netlink.h | 156 __u32 group, gfp_t allocation); 158 __u32 portid, __u32 group, gfp_t allocation,
|
/kernel/linux/linux-6.6/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() 47 struct device *dev, size_t size, size_t align, size_t allocation) in dmam_pool_create() 38 dma_pool_create(const char *name, struct device *dev, size_t size, size_t align, size_t allocation) dma_pool_create() argument 46 dmam_pool_create(const char *name, struct device *dev, size_t size, size_t align, size_t allocation) dmam_pool_create() argument
|
H A D | netlink.h | 230 __u32 group, gfp_t allocation); 232 __u32 portid, __u32 group, gfp_t allocation,
|
/kernel/linux/linux-6.6/fs/dlm/ |
H A D | memory.c | 137 struct dlm_mhandle *dlm_allocate_mhandle(gfp_t allocation) in dlm_allocate_mhandle() argument 139 return kmem_cache_alloc(mhandle_cache, allocation); in dlm_allocate_mhandle() 157 struct dlm_msg *dlm_allocate_msg(gfp_t allocation) in dlm_allocate_msg() argument 159 return kmem_cache_alloc(msg_cache, allocation); in dlm_allocate_msg()
|
H A D | memory.h | 23 struct dlm_mhandle *dlm_allocate_mhandle(gfp_t allocation); 27 struct dlm_msg *dlm_allocate_msg(gfp_t allocation);
|
H A D | lowcomms.h | 42 struct dlm_msg *dlm_lowcomms_new_msg(int nodeid, int len, gfp_t allocation,
|
H A D | midcomms.h | 20 gfp_t allocation, char **ppc);
|
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/ |
H A D | test_zswap.c | 102 /* Verify that no writeback happened because of the memcg allocation */ in test_no_invasive_cgroup_shrink() 121 void *allocation; in no_kmem_bypass_child() local 123 allocation = malloc(values->target_alloc_bytes); in no_kmem_bypass_child() 124 if (!allocation) { in no_kmem_bypass_child() 129 ((char *)allocation)[i] = 'a'; in no_kmem_bypass_child() 132 free(allocation); in no_kmem_bypass_child() 142 * a very high value so that the allocation falls below low wm, then makes 143 * another allocation to trigger kswapd that should push the memcg-owned pages
|
/kernel/linux/linux-5.10/drivers/soundwire/ |
H A D | Makefile | 11 soundwire-generic-allocation-objs := generic_bandwidth_allocation.o 12 obj-$(CONFIG_SOUNDWIRE_GENERIC_ALLOCATION) += soundwire-generic-allocation.o
|
/kernel/linux/linux-6.6/drivers/soundwire/ |
H A D | Makefile | 11 soundwire-generic-allocation-objs := generic_bandwidth_allocation.o 12 obj-$(CONFIG_SOUNDWIRE_GENERIC_ALLOCATION) += soundwire-generic-allocation.o
|
/kernel/linux/linux-5.10/fs/dlm/ |
H A D | lowcomms.h | 19 void *dlm_lowcomms_get_buffer(int nodeid, int len, gfp_t allocation, char **ppc);
|
/kernel/linux/linux-5.10/tools/testing/fault-injection/ |
H A D | failcmd.sh | 5 # failcmd.sh - run a command with injecting slab/page allocation failures 12 # Run command with injecting slab/page allocation failures by fault 59 inject slab allocation failures 61 inject page allocation failures
|
/kernel/linux/linux-6.6/tools/testing/fault-injection/ |
H A D | failcmd.sh | 5 # failcmd.sh - run a command with injecting slab/page allocation failures 12 # Run command with injecting slab/page allocation failures by fault 59 inject slab allocation failures 61 inject page allocation failures
|
/kernel/linux/linux-5.10/drivers/staging/android/ion/ |
H A D | ion.c | 445 struct ion_allocation_data allocation; member 495 fd = ion_alloc(data.allocation.len, in ion_ioctl() 496 data.allocation.heap_id_mask, in ion_ioctl() 497 data.allocation.flags); in ion_ioctl() 501 data.allocation.fd = fd; in ion_ioctl()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/bios/ |
H A D | command_table.c | 979 SET_PIXEL_CLOCK_PS_ALLOCATION allocation; in set_pixel_clock_v3() local 981 memset(&allocation, 0, sizeof(allocation)); in set_pixel_clock_v3() 984 allocation.sPCLKInput.ucPpll = ATOM_PPLL1; in set_pixel_clock_v3() 986 allocation.sPCLKInput.ucPpll = ATOM_PPLL2; in set_pixel_clock_v3() 990 allocation.sPCLKInput.usRefDiv = in set_pixel_clock_v3() 992 allocation.sPCLKInput.usFbDiv = in set_pixel_clock_v3() 994 allocation.sPCLKInput.ucFracFbDiv = in set_pixel_clock_v3() 996 allocation.sPCLKInput.ucPostDiv = in set_pixel_clock_v3() 1000 allocation in set_pixel_clock_v3() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/bios/ |
H A D | command_table.c | 980 SET_PIXEL_CLOCK_PS_ALLOCATION allocation; in set_pixel_clock_v3() local 982 memset(&allocation, 0, sizeof(allocation)); in set_pixel_clock_v3() 985 allocation.sPCLKInput.ucPpll = ATOM_PPLL1; in set_pixel_clock_v3() 987 allocation.sPCLKInput.ucPpll = ATOM_PPLL2; in set_pixel_clock_v3() 991 allocation.sPCLKInput.usRefDiv = in set_pixel_clock_v3() 993 allocation.sPCLKInput.usFbDiv = in set_pixel_clock_v3() 995 allocation.sPCLKInput.ucFracFbDiv = in set_pixel_clock_v3() 997 allocation.sPCLKInput.ucPostDiv = in set_pixel_clock_v3() 1001 allocation in set_pixel_clock_v3() [all...] |