Searched refs:test_alloc (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/mm/kfence/ |
D | kfence_test.c | 243 static void *test_alloc(struct kunit *test, size_t size, gfp_t gfp, enum allocation_policy policy) in test_alloc() function 337 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_out_of_bounds_read() 343 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_RIGHT); in test_out_of_bounds_read() 361 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_out_of_bounds_write() 378 expect.addr = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_use_after_free_read() 393 expect.addr = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_double_free() 409 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_invalid_addr_free() 429 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_corruption() 435 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_RIGHT); in test_corruption() 463 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_RIGHT); in test_kmalloc_aligned_oob_read() [all …]
|
/linux-6.1.9/tools/testing/nvdimm/test/ |
D | nfit.c | 1648 static void *test_alloc(struct nfit_test *t, size_t size, dma_addr_t *dma) in test_alloc() function 1892 t->nfit_buf = test_alloc(t, nfit_size, &t->nfit_dma); in nfit_test0_alloc() 1897 t->spa_set[0] = test_alloc(t, SPA0_SIZE, &t->spa_set_dma[0]); in nfit_test0_alloc() 1901 t->spa_set[1] = test_alloc(t, SPA1_SIZE, &t->spa_set_dma[1]); in nfit_test0_alloc() 1905 t->spa_set[2] = test_alloc(t, SPA0_SIZE, &t->spa_set_dma[2]); in nfit_test0_alloc() 1910 t->dimm[i] = test_alloc(t, DIMM_SIZE, &t->dimm_dma[i]); in nfit_test0_alloc() 1914 t->label[i] = test_alloc(t, LABEL_SIZE, &t->label_dma[i]); in nfit_test0_alloc() 1919 t->flush[i] = test_alloc(t, max(PAGE_SIZE, in nfit_test0_alloc() 1927 t->dcr[i] = test_alloc(t, LABEL_SIZE, &t->dcr_dma[i]); in nfit_test0_alloc() 1932 t->_fit = test_alloc(t, sizeof(union acpi_object **), &t->_fit_dma); in nfit_test0_alloc() [all …]
|
/linux-6.1.9/Documentation/dev-tools/ |
D | kfence.rst | 92 test_alloc+0xfe/0x738 123 test_alloc+0xfe/0x738 156 test_alloc+0xfe/0x738 191 test_alloc+0xfe/0x738
|