Home
last modified time | relevance | path

Searched refs:read_from_mem (Results 1 - 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/mem/mtest07/
H A Dshm_test.c184 char *read_from_mem; /* ptr to touch each (4096) block in memory */ in shmat_rd_wr() local
235 read_from_mem = shmat_addr; in shmat_rd_wr()
237 buff = *read_from_mem; in shmat_rd_wr()
239 read_from_mem++; in shmat_rd_wr()
/third_party/ltp/testcases/kernel/mem/mtest06/
H A Dshmat1.c329 /* Function: read_from_mem */
340 void *read_from_mem(void *args) in read_from_mem() function
352 "%s[%#lx]: read_from_mem(): memory address: [%p]\n", in read_from_mem()
488 if (pthread_create(&thid[2], NULL, read_from_mem, chld_args)) { in main()
493 "created thread id[%#lx], execs fn read_from_mem()\n", in main()

Completed in 2 milliseconds