Searched refs:scratchbuf_alloc (Results 1 – 4 of 4) sorted by relevance
/external/kmod/testsuite/ |
D | test-scratchbuf.c | 34 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/ |
D | scratchbuf.h | 18 int scratchbuf_alloc(struct scratchbuf *buf, size_t sz);
|
D | scratchbuf.c | 31 int scratchbuf_alloc(struct scratchbuf *buf, size_t size) in scratchbuf_alloc() function
|
/external/kmod/tools/ |
D | depmod.c | 1248 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()
|