Home
last modified time | relevance | path

Searched refs:scratchbuf_alloc (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/kmod/testsuite/
H A Dtest-scratchbuf.c34 assert_return(scratchbuf_alloc(&sbuf, strlen(smallstr) + 1) == 0, EXIT_FAILURE); in test_scratchbuf_onlystack()
39 assert_return(scratchbuf_alloc(&sbuf, strlen(smallstr) + 1) == 0, EXIT_FAILURE); in test_scratchbuf_onlystack()
63 assert_return(scratchbuf_alloc(&sbuf, strlen(smallstr) + 1) == 0, EXIT_FAILURE); in test_scratchbuf_heap()
68 assert_return(scratchbuf_alloc(&sbuf, strlen(largestr) + 1) == 0, EXIT_FAILURE); in test_scratchbuf_heap()
76 assert_return(scratchbuf_alloc(&sbuf, strlen(largestr2) + 1) == 0, EXIT_FAILURE); in test_scratchbuf_heap()
/aosp_15_r20/external/kmod/shared/
H A Dscratchbuf.h18 int scratchbuf_alloc(struct scratchbuf *buf, size_t sz);
H A Dscratchbuf.c31 int scratchbuf_alloc(struct scratchbuf *buf, size_t size) in scratchbuf_alloc() function
/aosp_15_r20/external/kmod/tools/
H A Ddepmod.c1312 if (scratchbuf_alloc(s_path, baselen + namelen + 2) < 0) { in depmod_modules_search_dir()
1396 if (scratchbuf_alloc(&s_path_buf, baselen + 2) < 0) { in depmod_modules_search_path()
2352 if (scratchbuf_alloc(&salias, baselen + len + 1) < 0) { in output_symbols_bin()