Searched refs:tst_alloc (Results 1 – 12 of 12) sorted by relevance
46 void *tst_alloc(size_t size) in tst_alloc() function96 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()
1039 cg = tst_alloc(sizeof(*cg)); in cgroup_group_from_roots()
112 server_addr = tst_alloc(sizeof(*server_addr)); in setup()113 client_addr = tst_alloc(sizeof(*client_addr)); in setup()114 mc_group = tst_alloc(sizeof(*mc_group)); in setup()
47 void *tst_alloc(size_t size);
53 fhp = tst_alloc(sizeof(*fhp) + fh.handle_bytes); in allocate_file_handle()
75 write_buffer = tst_alloc(pipe_max_size); in setup()
61 dirp = tst_alloc(size); in setup()
62 link_fhp = tst_alloc(sizeof(*link_fhp) + valid_fhp->handle_bytes); in setup()
199 data = tst_alloc(len); in do_pty()388 data = tst_alloc(plen); in read_netdev()
93 buf = tst_alloc(prog_size); in bpf_init_prog_attr()
100 buf = tst_alloc(invalid_plen); in verify_max_bytes()
1773 'tst_alloc()' or by 'tst_strdup()' as well as by filling up the .bufs array in