Home
last modified time | relevance | path

Searched refs:tst_alloc (Results 1 – 6 of 6) sorted by relevance

/external/ltp/lib/
Dtst_buffers.c46 void *tst_alloc(size_t size) in tst_alloc() function
96 iovec = tst_alloc(sizeof(struct iovec) * cnt); in tst_iovec_alloc()
100 iovec[i].iov_base = tst_alloc(sizes[i]); in tst_iovec_alloc()
117 *((void**)bufs[i].ptr) = tst_alloc(bufs[i].size); in tst_buffers_alloc()
126 char *ret = tst_alloc(len + 1); in tst_strdup()
/external/ltp/testcases/kernel/syscalls/accept/
Daccept02.c109 server_addr = tst_alloc(sizeof(*server_addr)); in setup()
110 client_addr = tst_alloc(sizeof(*client_addr)); in setup()
111 mc_group = tst_alloc(sizeof(*mc_group)); in setup()
/external/ltp/include/
Dtst_buffers.h47 void *tst_alloc(size_t size);
/external/ltp/testcases/kernel/syscalls/bpf/
Dbpf_prog03.c89 prog = tst_alloc(sizeof(insn)); in load_prog()
Dbpf_prog02.c71 prog = tst_alloc(sizeof(insn)); in load_prog()
/external/ltp/doc/
Dtest-writing-guidelines.txt1770 'tst_alloc()' or by 'tst_strdup()' as well as by filling up the .bufs array in