Home
last modified time | relevance | path

Searched refs:MSG_DATALEN (Results 1 – 6 of 6) sorted by relevance

/external/ltp/testcases/kernel/fs/dmapi/
Devent_us.c56 char msgDataReceived[MSG_DATALEN];
132 char buf[MSG_DATALEN]; in main()
139 rc = dm_create_userevent(INVALID_ADDR, MSG_DATALEN, buf, in main()
151 char buf[MSG_DATALEN]; in main()
175 rc = dm_create_userevent(sid, MSG_DATALEN, (void *)INVALID_ADDR, in main()
189 char buf[MSG_DATALEN]; in main()
195 rc = dm_create_userevent(sid, MSG_DATALEN, buf, in main()
207 char buf[MSG_DATALEN]; in main()
211 memcpy(buf, MSG_DATA, MSG_DATALEN); in main()
215 rc = dm_create_userevent(sid, MSG_DATALEN, buf, &token); in main()
[all …]
Devent.c40 #define MAX_EVENT (sizeof(dmMsgBuf)/(MSG_DATALEN+sizeof(dm_eventmsg_t)))
141 char buf[MSG_DATALEN]; in main()
159 char buf[MSG_DATALEN]; in main()
162 memcpy(buf, MSG_DATA, MSG_DATALEN); in main()
172 dm_send_msg(sid, DM_MSGTYPE_SYNC, MSG_DATALEN, buf); in main()
182 char buf[MSG_DATALEN]; in main()
185 memcpy(buf, MSG_DATA, MSG_DATALEN); in main()
195 dm_send_msg(sid, DM_MSGTYPE_SYNC, MSG_DATALEN, buf); in main()
205 char buf[MSG_DATALEN]; in main()
208 memcpy(buf, MSG_DATA, MSG_DATALEN); in main()
[all …]
Dtoken.c116 char msgbuf[MSG_DATALEN]; in main()
120 memcpy(msgbuf, MSG_DATA, MSG_DATALEN); in main()
121 rc = dm_create_userevent(sid, MSG_DATALEN, msgbuf, &token); in main()
153 char msgbuf[MSG_DATALEN]; in main()
157 memcpy(msgbuf, MSG_DATA, MSG_DATALEN); in main()
158 rc = dm_create_userevent(sid, MSG_DATALEN, msgbuf, &token); in main()
216 char msgbuf[MSG_DATALEN]; in main()
220 memcpy(msgbuf, MSG_DATA, MSG_DATALEN); in main()
221 rc = dm_create_userevent(sid, MSG_DATALEN, msgbuf, &token); in main()
253 char msgbuf[MSG_DATALEN]; in main()
[all …]
Ddm_test.h47 #define MSG_DATALEN sizeof(MSG_DATA) macro
Dsession.c500 char buf[MSG_DATALEN]; in main()
504 memcpy(buf, MSG_DATA, MSG_DATALEN); in main()
506 rc |= dm_send_msg(newsid, DM_MSGTYPE_ASYNC, MSG_DATALEN, buf); in main()
Dpmr_post.c75 char buf[MSG_DATALEN]; in main()
150 memcpy(buf, MSG_DATA, MSG_DATALEN); in main()
151 rc = dm_send_msg(sid, DM_MSGTYPE_SYNC, MSG_DATALEN, buf); in main()