Home
last modified time | relevance | path

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

/external/kmod/testsuite/
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()
/external/kmod/shared/
Dscratchbuf.h18 int scratchbuf_alloc(struct scratchbuf *buf, size_t sz);
Dscratchbuf.c31 int scratchbuf_alloc(struct scratchbuf *buf, size_t size) in scratchbuf_alloc() function
/external/kmod/tools/
Ddepmod.c1248 if (scratchbuf_alloc(s_path, baselen + namelen + 2) < 0) { in depmod_modules_search_dir()
1332 if (scratchbuf_alloc(&s_path_buf, baselen + 2) < 0) { in depmod_modules_search_path()
2288 if (scratchbuf_alloc(&salias, baselen + len + 1) < 0) { in output_symbols_bin()