Home
last modified time | relevance | path

Searched refs:t_malloc (Results 1 – 17 of 17) sorted by relevance

/external/liburing/test/
Dhelpers.c19 void *t_malloc(size_t size) in t_malloc() function
58 buf = t_malloc(size); in t_create_file()
80 vecs = t_malloc(buf_num * sizeof(struct iovec)); in t_create_buffers()
Deeed8b54e0df-test.c34 buf = t_malloc(BLOCK); in get_file_fd()
74 iov.iov_base = t_malloc(4096); in main()
Dlink_drain.c32 iovecs.iov_base = t_malloc(4096); in test_link_drain_one()
115 iovecs.iov_base = t_malloc(4096); in test_link_drain_multi()
Dio_uring_enter.c129 iov = t_malloc(sizeof(*iov)); in io_prep_read()
132 iov->iov_base = t_malloc(len); in io_prep_read()
Dhelpers.h22 void *t_malloc(size_t size);
Ddefer.c36 ctx->sqes = t_malloc(nr * sizeof(*ctx->sqes)); in init_context()
37 ctx->cqes = t_malloc(nr * sizeof(*ctx->cqes)); in init_context()
Dfile-register.c160 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()
Dshort-read.c29 vec.iov_base = t_malloc(BUF_SIZE); in main()
Dfixed-link.c37 iovecs[i].iov_base = t_malloc(64); in main()
Dthread-exit.c38 buffer = t_malloc(WSIZE); in do_io()
Daccept.c36 d = t_malloc(sizeof(*d)); in queue_send()
49 d = t_malloc(sizeof(*d)); in queue_recv()
Dfile-update.c111 fds = t_malloc(sizeof(int) * 10); in test_sqe_update()
Dfsync.c73 iovecs[i].iov_base = t_malloc(4096); in test_barrier_fsync()
Dfadvise.c122 buf = t_malloc(FILE_SIZE); in test_fadvise()
Dmadvise.c107 buf = t_malloc(FILE_SIZE); in test_madvise()
Dio_uring_register.c245 buf = t_malloc(iov.iov_len); in test_memlock_exceeded()
292 buf = t_malloc(pagesize); in test_iovec_nr()
Dread-write.c32 vecs = t_malloc(BUFFERS * sizeof(struct iovec)); in create_nonaligned_buffers()
34 char *p = t_malloc(3 * BS); in create_nonaligned_buffers()