Home
last modified time | relevance | path

Searched refs:queue_id (Results 1 – 16 of 16) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ipc/msgsnd/
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); in setup()
120 if (queue_id != -1) in cleanup()
121 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in cleanup()
Dmsgsnd01.c33 static int queue_id = -1; variable
43 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, 0)); in verify_msgsnd()
49 SAFE_MSGCTL(queue_id, IPC_STAT, &qs_buf); in verify_msgsnd()
56 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, 1, 0); in verify_msgsnd()
63 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in setup()
68 if (queue_id != -1) in cleanup()
69 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in cleanup()
Dmsgsnd06.c35 static int queue_id = -1; variable
43 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, 0)); in verify_msgsnd()
61 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in do_test()
63 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1) in do_test()
74 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in do_test()
86 if (queue_id != -1) in cleanup()
87 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in cleanup()
Dmsgsnd05.c38 static int queue_id = -1; variable
56 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, tc->flag)); in verify_msgsnd()
104 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in setup()
106 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1) in setup()
112 if (queue_id != -1) in cleanup()
113 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in cleanup()
/external/ltp/testcases/kernel/syscalls/ipc/msgget/
Dmsgget01.c34 static int queue_id = -1; variable
50 queue_id = TEST_RETURN; in verify_msgget()
52 SAFE_MSGSND(queue_id, &snd_buf, MSGSIZE, 0); in verify_msgget()
54 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, MSGTYPE, IPC_NOWAIT); in verify_msgget()
69 if (queue_id != -1) in cleanup()
70 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in cleanup()
Dmsgget02.c41 static int queue_id = -1; variable
100 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL); in setup()
107 if (queue_id != -1) in cleanup()
108 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in cleanup()
/external/tcpdump/tests/
Dof10_pf5240-vv.out132 queue_id 0, len 16
134 queue_id 1, len 16
136 queue_id 2, len 16
138 queue_id 3, len 16
140 queue_id 4, len 16
142 queue_id 5, len 16
144 queue_id 6, len 16
146 queue_id 7, len 16
154 queue_id 0, len 16
156 queue_id 1, len 16
[all …]
Dof10_p3295-vv.out455 action type ENQUEUE, len 16, port 1, queue_id 2
720 action type ENQUEUE, len 16, port 1, queue_id 2
/external/ltp/testcases/kernel/syscalls/ipc/lib/
Dlibipc.c83 void rm_queue(int queue_id) in rm_queue() argument
85 if (queue_id == -1) { /* no queue to remove */ in rm_queue()
89 if (msgctl(queue_id, IPC_RMID, NULL) == -1) { in rm_queue()
92 tst_resm(TINFO, "id = %d", queue_id); in rm_queue()
/external/iproute2/ip/
Diplink_bond_slave.c94 __u16 queue_id; in bond_slave_parse_opt() local
99 if (get_u16(&queue_id, *argv, 0)) in bond_slave_parse_opt()
101 addattr16(n, 1024, IFLA_BOND_SLAVE_QUEUE_ID, queue_id); in bond_slave_parse_opt()
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/
Dmsgrcv03.c68 int *queue_id; member
101 TEST(msgrcv(*(TC[i].queue_id), &rcv_buf, TC[i].msize, in main()
Dmsgrcv02.c80 int *queue_id; member
113 TEST(msgrcv(*(TC[i].queue_id), TC[i].mbuf, MSGSIZE, in main()
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl12.c36 int *queue_id; member
64 TEST(msgctl(*test_cases[i].queue_id, in main()
Dmsgctl04.c76 int *queue_id; /* test cases that can all use the same */ member
120 TEST(msgctl(*(TC[i].queue_id), TC[i].ipc_cmd, in main()
/external/kernel-headers/original/uapi/linux/
Dkfd_ioctl.h56 uint32_t queue_id; /* from KFD */ member
65 uint32_t queue_id; /* to KFD */ member
72 uint32_t queue_id; /* to KFD */ member
Dvirtio_crypto.h64 __le32 queue_id; member