Home
last modified time | relevance | path

Searched refs:msgkey (Results 1 – 19 of 19) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/ipc/msgget/
Dmsgget02.c31 static key_t msgkey, msgkey1; variable
42 {&msgkey, IPC_CREAT | IPC_EXCL, EEXIST, 0},
45 {&msgkey, MSG_RD, EACCES, 1},
46 {&msgkey, MSG_WR, EACCES, 1},
47 {&msgkey, MSG_RW, EACCES, 1}
77 msgkey = GETIPCKEY(); in setup()
80 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL); in setup()
Dmsgget05.c28 static key_t msgkey[2]; variable
34 queue_id[1] = SAFE_MSGGET(msgkey[1], IPC_CREAT | MSG_RW); in verify_msgget()
47 msgkey[0] = GETIPCKEY(); in setup()
48 msgkey[1] = GETIPCKEY(); in setup()
51 queue_id[0] = SAFE_MSGGET(msgkey[0], IPC_CREAT | MSG_RW); in setup()
Dmsgget03.c26 static key_t msgkey; variable
30 TST_EXP_FAIL2(msgget(msgkey + maxmsgs, IPC_CREAT | IPC_EXCL), ENOSPC, in verify_msgget()
31 "msgget(%i, %i)", msgkey + maxmsgs, IPC_CREAT | IPC_EXCL); in verify_msgget()
38 msgkey = GETIPCKEY(); in setup()
49 res = msgget(msgkey + num, IPC_CREAT | IPC_EXCL); in setup()
Dmsgget04.c29 static key_t msgkey; variable
35 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | MSG_RW); in verify_msgget()
48 msgkey = GETIPCKEY(); in setup()
Dmsgget01.c24 static key_t msgkey; variable
33 TEST(msgget(msgkey, IPC_CREAT | MSG_RW)); in verify_msgget()
53 msgkey = GETIPCKEY(); in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl01.c20 static key_t msgkey; variable
77 if (buf.msg_perm.__key == msgkey) { in verify_msgctl()
78 tst_res(TPASS, "msg_perm.__key == %u", (unsigned)msgkey); in verify_msgctl()
81 (unsigned)buf.msg_perm.__key, (unsigned)msgkey); in verify_msgctl()
122 msgkey = GETIPCKEY(); in setup()
124 msg_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW | mode); in setup()
Dmsgctl02.c53 key_t msgkey = GETIPCKEY(); in setup() local
55 msg_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW | 0660); in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/
Dmsgrcv06.c18 static key_t msgkey; variable
35 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in do_test()
48 msgkey = GETIPCKEY(); in setup()
Dmsgrcv05.c16 static key_t msgkey; variable
53 msgkey = GETIPCKEY(); in setup()
54 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in setup()
Dmsgrcv08.c33 static key_t msgkey; variable
65 msgkey = GETIPCKEY(); in setup()
66 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in setup()
Dmsgrcv03.c33 static key_t msgkey; variable
68 msgkey = GETIPCKEY(); in setup()
69 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in setup()
Dmsgrcv01.c15 static key_t msgkey; variable
67 msgkey = GETIPCKEY(); in setup()
68 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in setup()
Dmsgrcv02.c35 static key_t msgkey; variable
75 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in do_test()
91 msgkey = GETIPCKEY(); in setup()
Dmsgrcv07.c40 static key_t msgkey; variable
52 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in prepare_queue()
84 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in test_msg_noerror()
248 msgkey = GETIPCKEY(); in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgsnd/
Dmsgsnd06.c22 static key_t msgkey; variable
39 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in do_test()
59 msgkey = GETIPCKEY(); in setup()
Dmsgsnd01.c21 static key_t msgkey; variable
68 msgkey = GETIPCKEY(); in setup()
69 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in setup()
Dmsgsnd05.c25 static key_t msgkey; variable
80 msgkey = GETIPCKEY(); in setup()
82 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in setup()
Dmsgsnd02.c33 static key_t msgkey; variable
89 msgkey = GETIPCKEY(); in setup()
91 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in setup()
/third_party/ltp/include/
Dipcmsg.h54 key_t msgkey; /* the ftok() generated message key */ variable
56 extern key_t msgkey; /* the ftok() generated message key */