Searched refs:t_malloc (Results 1 – 17 of 17) sorted by relevance
19 void *t_malloc(size_t size) in t_malloc() function58 buf = t_malloc(size); in t_create_file()80 vecs = t_malloc(buf_num * sizeof(struct iovec)); in t_create_buffers()
34 buf = t_malloc(BLOCK); in get_file_fd()74 iov.iov_base = t_malloc(4096); in main()
32 iovecs.iov_base = t_malloc(4096); in test_link_drain_one()115 iovecs.iov_base = t_malloc(4096); in test_link_drain_multi()
129 iov = t_malloc(sizeof(*iov)); in io_prep_read()132 iov->iov_base = t_malloc(len); in io_prep_read()
22 void *t_malloc(size_t size);
36 ctx->sqes = t_malloc(nr * sizeof(*ctx->sqes)); in init_context()37 ctx->cqes = t_malloc(nr * sizeof(*ctx->cqes)); in init_context()
160 fds = t_malloc(100 * sizeof(int)); in test_replace_all()427 iov[0].iov_base = t_malloc(4096); in test_fixed_read_write()431 iov[1].iov_base = t_malloc(4096); in test_fixed_read_write()606 fds = t_malloc(256 * sizeof(int)); in test_sparse_updates()
29 vec.iov_base = t_malloc(BUF_SIZE); in main()
37 iovecs[i].iov_base = t_malloc(64); in main()
38 buffer = t_malloc(WSIZE); in do_io()
36 d = t_malloc(sizeof(*d)); in queue_send()49 d = t_malloc(sizeof(*d)); in queue_recv()
111 fds = t_malloc(sizeof(int) * 10); in test_sqe_update()
73 iovecs[i].iov_base = t_malloc(4096); in test_barrier_fsync()
122 buf = t_malloc(FILE_SIZE); in test_fadvise()
107 buf = t_malloc(FILE_SIZE); in test_madvise()
245 buf = t_malloc(iov.iov_len); in test_memlock_exceeded()292 buf = t_malloc(pagesize); in test_iovec_nr()
32 vecs = t_malloc(BUFFERS * sizeof(struct iovec)); in create_nonaligned_buffers()34 char *p = t_malloc(3 * BS); in create_nonaligned_buffers()