Searched refs:queue_id (Results 1 - 14 of 14) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ipc/msgsnd/
H A Dmsgsnd01.c33 static int queue_id = -1; variable
43 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, 0));
49 SAFE_MSGCTL(queue_id, IPC_STAT, &qs_buf);
56 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, 1, 0);
63 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW);
68 if (queue_id != -1)
69 SAFE_MSGCTL(queue_id, IPC_RMID, NULL);
H A Dmsgsnd06.c35 static int queue_id = -1; variable
43 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, 0));
61 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW);
63 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1)
74 SAFE_MSGCTL(queue_id, IPC_RMID, NULL);
86 if (queue_id != -1)
87 SAFE_MSGCTL(queue_id, IPC_RMID, NULL);
H A Dmsgsnd02.c46 static int queue_id = -1; variable
66 {&queue_id, &snd_buf[0], MSGSIZE, EACCES, 1},
67 {&queue_id, NULL, MSGSIZE, EFAULT, 0},
69 {&queue_id, &snd_buf[1], MSGSIZE, EINVAL, 0},
70 {&queue_id, &snd_buf[2], MSGSIZE, EINVAL, 0},
71 {&queue_id, &snd_buf[0], -1, EINVAL, 0}
113 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW);
120 if (queue_id != -1)
121 SAFE_MSGCTL(queue_id, IPC_RMID, NULL);
H A Dmsgsnd05.c38 static int queue_id = -1; variable
56 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, tc->flag));
104 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW);
106 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1)
112 if (queue_id != -1)
113 SAFE_MSGCTL(queue_id, IPC_RMID, NULL);
/external/ltp/testcases/kernel/syscalls/ipc/msgget/
H A Dmsgget01.c34 static int queue_id = -1; variable
50 queue_id = TEST_RETURN;
52 SAFE_MSGSND(queue_id, &snd_buf, MSGSIZE, 0);
54 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, MSGTYPE, IPC_NOWAIT);
69 if (queue_id != -1)
70 SAFE_MSGCTL(queue_id, IPC_RMID, NULL);
H A Dmsgget02.c41 static int queue_id = -1; variable
100 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL);
107 if (queue_id != -1)
108 SAFE_MSGCTL(queue_id, IPC_RMID, NULL);
/external/ltp/testcases/kernel/syscalls/ipc/lib/
H A Dlibipc.c83 void rm_queue(int queue_id) argument
85 if (queue_id == -1) { /* no queue to remove */
89 if (msgctl(queue_id, IPC_RMID, NULL) == -1) {
92 tst_resm(TINFO, "id = %d", queue_id);
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
H A Dmsgctl12.c36 int *queue_id; member in struct:test_case_t
64 TEST(msgctl(*test_cases[i].queue_id,
H A Dmsgctl04.c76 int *queue_id; /* test cases that can all use the same */ member in struct:test_case_t
120 TEST(msgctl(*(TC[i].queue_id), TC[i].ipc_cmd,
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/
H A Dmsgrcv03.c68 int *queue_id; member in struct:test_case_t
101 TEST(msgrcv(*(TC[i].queue_id), &rcv_buf, TC[i].msize,
H A Dmsgrcv02.c80 int *queue_id; member in struct:test_case_t
113 TEST(msgrcv(*(TC[i].queue_id), TC[i].mbuf, MSGSIZE,
/external/iproute2/ip/
H A Diplink_bond_slave.c22 fprintf(f, "Usage: ... bond_slave [ queue_id ID ]\n");
99 "queue_id",
100 "queue_id %d ",
125 __u16 queue_id; local
128 if (matches(*argv, "queue_id") == 0) {
130 if (get_u16(&queue_id, *argv, 0))
131 invarg("queue_id is invalid", *argv);
132 addattr16(n, 1024, IFLA_BOND_SLAVE_QUEUE_ID, queue_id);
/external/kernel-headers/original/uapi/linux/
H A Dkfd_ioctl.h56 __u32 queue_id; /* from KFD */ member in struct:kfd_ioctl_create_queue_args
65 __u32 queue_id; /* to KFD */ member in struct:kfd_ioctl_destroy_queue_args
72 __u32 queue_id; /* to KFD */ member in struct:kfd_ioctl_update_queue_args
H A Dvirtio_crypto.h64 __le32 queue_id; member in struct:virtio_crypto_ctrl_header

Completed in 168 milliseconds