/external/ltp/testcases/kernel/syscalls/ipc/msgsnd/ |
H A D | msgsnd01.c | 33 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 D | msgsnd06.c | 35 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 D | msgsnd02.c | 46 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 D | msgsnd05.c | 38 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 D | msgget01.c | 34 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 D | msgget02.c | 41 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 D | libipc.c | 83 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 D | msgctl12.c | 36 int *queue_id; member in struct:test_case_t 64 TEST(msgctl(*test_cases[i].queue_id,
|
H A D | msgctl04.c | 76 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 D | msgrcv03.c | 68 int *queue_id; member in struct:test_case_t 101 TEST(msgrcv(*(TC[i].queue_id), &rcv_buf, TC[i].msize,
|
H A D | msgrcv02.c | 80 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 D | iplink_bond_slave.c | 22 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 D | kfd_ioctl.h | 56 __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 D | virtio_crypto.h | 64 __le32 queue_id; member in struct:virtio_crypto_ctrl_header
|