Searched refs:test_alloc (Results 1 – 3 of 3) sorted by relevance
/linux-6.14.4/mm/kfence/ |
D | kfence_test.c | 245 static void *test_alloc(struct kunit *test, size_t size, gfp_t gfp, enum allocation_policy policy) in test_alloc() function 340 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_out_of_bounds_read() 346 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_RIGHT); in test_out_of_bounds_read() 364 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_out_of_bounds_write() 381 expect.addr = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_use_after_free_read() 395 addr = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_use_after_free_read_nofault() 412 expect.addr = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_double_free() 428 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_invalid_addr_free() 448 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_corruption() 454 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_RIGHT); in test_corruption() [all …]
|
/linux-6.14.4/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 1894 t->nfit_buf = test_alloc(t, nfit_size, &t->nfit_dma); in nfit_test0_alloc() 1899 t->spa_set[0] = test_alloc(t, SPA0_SIZE, &t->spa_set_dma[0]); in nfit_test0_alloc() 1903 t->spa_set[1] = test_alloc(t, SPA1_SIZE, &t->spa_set_dma[1]); in nfit_test0_alloc() 1907 t->spa_set[2] = test_alloc(t, SPA0_SIZE, &t->spa_set_dma[2]); in nfit_test0_alloc() 1912 t->dimm[i] = test_alloc(t, DIMM_SIZE, &t->dimm_dma[i]); in nfit_test0_alloc() 1916 t->label[i] = test_alloc(t, LABEL_SIZE, &t->label_dma[i]); in nfit_test0_alloc() 1921 t->flush[i] = test_alloc(t, max(PAGE_SIZE, in nfit_test0_alloc() 1929 t->dcr[i] = test_alloc(t, LABEL_SIZE, &t->dcr_dma[i]); in nfit_test0_alloc() 1934 t->_fit = test_alloc(t, sizeof(union acpi_object **), &t->_fit_dma); in nfit_test0_alloc() [all …]
|
/linux-6.14.4/Documentation/dev-tools/ |
D | kfence.rst | 99 test_alloc+0xfe/0x738 130 test_alloc+0xfe/0x738 163 test_alloc+0xfe/0x738 198 test_alloc+0xfe/0x738
|