Searched refs:test_alloc (Results  1 – 3 of 3) sorted by relevance
| /Linux-v5.15/mm/kfence/ | 
| D | kfence_test.c | 238 static void *test_alloc(struct kunit *test, size_t size, gfp_t gfp, enum allocation_policy policy)  in test_alloc()  function333 	buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT);  in test_out_of_bounds_read()
 339 	buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_RIGHT);  in test_out_of_bounds_read()
 357 	buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT);  in test_out_of_bounds_write()
 374 	expect.addr = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY);  in test_use_after_free_read()
 389 	expect.addr = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY);  in test_double_free()
 405 	buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY);  in test_invalid_addr_free()
 425 	buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT);  in test_corruption()
 431 	buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_RIGHT);  in test_corruption()
 459 	buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_RIGHT);  in test_kmalloc_aligned_oob_read()
 [all …]
 
 | 
| /Linux-v5.15/Documentation/dev-tools/ | 
| D | kfence.rst | 80      test_alloc+0xfe/0x738111      test_alloc+0xfe/0x738
 144      test_alloc+0xfe/0x738
 179      test_alloc+0xfe/0x738
 
 | 
| /Linux-v5.15/tools/testing/nvdimm/test/ | 
| D | nfit.c | 1650 static void *test_alloc(struct nfit_test *t, size_t size, dma_addr_t *dma)  in test_alloc()  function1894 	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 …]
 
 |