/external/ltp/testcases/kernel/syscalls/cma/ |
D | process_vm_readv03.c | 77 bufsz_arr = SAFE_MALLOC(cleanup, nr_iovecs * sizeof(int)); in main() 142 foo = SAFE_MALLOC(tst_exit, nr_iovecs * sizeof(char *)); in child_alloc() 146 foo[i] = SAFE_MALLOC(tst_exit, bufsz_arr[i]); in child_alloc() 180 bar = SAFE_MALLOC(tst_exit, len); in fetch_remote_addrs() 203 remote = SAFE_MALLOC(tst_exit, nr_iovecs * sizeof(struct iovec)); in child_invoke() 212 local[i].iov_base = SAFE_MALLOC(tst_exit, rcv_arr[i]); in child_invoke()
|
D | process_vm01.c | 187 sane_params = SAFE_MALLOC(NULL, sizeof(struct process_vm_params)); in cma_alloc_sane_params() 189 sane_params->ldummy = SAFE_MALLOC(NULL, len); in cma_alloc_sane_params() 190 sane_params->rdummy = SAFE_MALLOC(NULL, len); in cma_alloc_sane_params() 192 sane_params->lvec = SAFE_MALLOC(NULL, sizeof(struct iovec)); in cma_alloc_sane_params() 197 sane_params->rvec = SAFE_MALLOC(NULL, sizeof(struct iovec)); in cma_alloc_sane_params()
|
D | process_vm_readv02.c | 106 foo = SAFE_MALLOC(tst_exit, len + 1); in child_alloc() 134 lp = SAFE_MALLOC(tst_exit, len + 1); in child_invoke()
|
D | process_vm_writev02.c | 119 foo = SAFE_MALLOC(tst_exit, bufsz); in child_init_and_verify() 164 lp = SAFE_MALLOC(tst_exit, bufsz + PADDING_SIZE * 2); in child_write()
|
/external/ltp/testcases/kernel/syscalls/migrate_pages/ |
D | migrate_pages01.c | 146 old_nodes = SAFE_MALLOC(NULL, sane_nodemask_size); in test_invalid_nodes() 147 new_nodes = SAFE_MALLOC(NULL, sane_nodemask_size); in test_invalid_nodes() 239 sane_old_nodes = SAFE_MALLOC(NULL, sane_nodemask_size); in setup() 240 sane_new_nodes = SAFE_MALLOC(NULL, sane_nodemask_size); in setup()
|
D | migrate_pages02.c | 113 old_nodes = SAFE_MALLOC(NULL, nodemask_size); in migrate_to_node() 114 new_nodes = SAFE_MALLOC(NULL, nodemask_size); in migrate_to_node() 177 testp = SAFE_MALLOC(NULL, getpagesize()); in test_migrate_current_process() 206 testp = SAFE_MALLOC(NULL, getpagesize()); in test_migrate_current_process() 262 testp = SAFE_MALLOC(NULL, getpagesize()); in test_migrate_other_process()
|
/external/ltp/testcases/kernel/syscalls/move_pages/ |
D | move_pages12.c | 72 pages = SAFE_MALLOC(sizeof(char *) * test_pages); in do_child() 73 nodes = SAFE_MALLOC(sizeof(int) * test_pages); in do_child() 74 status = SAFE_MALLOC(sizeof(int) * test_pages); in do_child()
|
/external/ltp/testcases/kernel/device-drivers/tbio/tbio_user/ |
D | tbio.c | 160 bif.cmd = SAFE_MALLOC(cleanup, 6); in tbio_to_dev() 200 bif.cmd = SAFE_MALLOC(cleanup, 5); in tbio_from_dev() 246 bif.cmd = SAFE_MALLOC(cleanup, 6); in tbio_split_to_dev()
|
/external/ltp/testcases/kernel/syscalls/mincore/ |
D | mincore01.c | 175 buf = SAFE_MALLOC(cleanup, global_len); in setup() 188 global_vec = SAFE_MALLOC(cleanup, in setup()
|
/external/ltp/testcases/kernel/syscalls/creat/ |
D | creat05.c | 63 opened_fds = SAFE_MALLOC(max_open * sizeof(int)); in setup()
|
/external/ltp/testcases/kernel/syscalls/kcmp/ |
D | kcmp03.c | 57 stack = SAFE_MALLOC(STACK_SIZE); in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/msgget/ |
D | msgget03.c | 61 queues = SAFE_MALLOC(maxmsgs * sizeof(int)); in setup()
|
/external/ltp/testcases/kernel/syscalls/fork/ |
D | fork14.c | 83 pointer_vec = SAFE_MALLOC(cleanup, EXTENT * sizeof(char *)); in setup()
|
/external/ltp/testcases/kernel/syscalls/confstr/ |
D | confstr01.c | 98 buf = SAFE_MALLOC(cleanup, len); in main()
|
/external/ltp/testcases/kernel/mem/mmapstress/ |
D | mmapstress04.c | 97 buf = SAFE_MALLOC(page_size); in mmapstress04()
|
/external/ltp/testcases/kernel/syscalls/mallopt/ |
D | mallopt01.c | 77 buf = SAFE_MALLOC(NULL, 20480); in main()
|
/external/ltp/testcases/kernel/syscalls/getrusage/ |
D | getrusage03_child.c | 154 ptr = SAFE_MALLOC(cleanup, sz); in consume()
|
D | getrusage03.c | 339 ptr = SAFE_MALLOC(cleanup, sz); in consume()
|
/external/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise02.c | 143 ptr_addr = SAFE_MALLOC(st.st_size); in setup()
|
/external/ltp/testcases/kernel/syscalls/sendmsg/ |
D | sendmsg02.c | 131 child_pids = SAFE_MALLOC(cleanup, sizeof(int) * child_pairs * 2); in reproduce()
|
/external/ltp/testcases/kernel/ipc/pipeio/ |
D | pipeio.c | 452 writebuf = SAFE_MALLOC(cleanup, size); in setup() 453 readbuf = SAFE_MALLOC(cleanup, size); in setup()
|
/external/ltp/testcases/network/netstress/ |
D | netstress.c | 348 thread_ids = SAFE_MALLOC(sizeof(pthread_t) * clients_num); in client_init() 350 client_msg = SAFE_MALLOC(client_msg_size); in client_init()
|
/external/ltp/testcases/kernel/syscalls/clone/ |
D | clone08.c | 108 child_stack = SAFE_MALLOC(cleanup, CHILD_STACK_SIZE); in setup()
|
/external/ltp/testcases/kernel/syscalls/readahead/ |
D | readahead02.c | 165 tmp = SAFE_MALLOC(cleanup, pagesize); in create_testfile()
|
/external/ltp/testcases/kernel/io/direct_io/ |
D | dma_thread_diotest.c | 411 worker = SAFE_MALLOC(cleanup, workers * sizeof(worker_t)); in setup()
|