Home
last modified time | relevance | path

Searched refs:queue_id (Results 1 – 18 of 18) 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 = TST_RET; 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/libdrm/freedreno/msm/
Dmsm_pipe.c84 .queueid = to_msm_pipe(pipe)->queue_id, in msm_pipe_wait()
109 to_msm_pipe(pipe)->queue_id = 0; in open_submitqueue()
124 to_msm_pipe(pipe)->queue_id = req.id; in open_submitqueue()
128 static void close_submitqueue(struct fd_pipe *pipe, uint32_t queue_id) in close_submitqueue() argument
134 &queue_id, sizeof(queue_id)); in close_submitqueue()
140 close_submitqueue(pipe, msm_pipe->queue_id); in msm_pipe_destroy()
Dmsm_priv.h59 uint32_t queue_id; member
Dmsm_ringbuffer.c400 .queueid = to_msm_pipe(ring->pipe)->queue_id, in msm_ringbuffer_flush()
/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.c125 __u16 queue_id; in bond_slave_parse_opt() local
130 if (get_u16(&queue_id, *argv, 0)) in bond_slave_parse_opt()
132 addattr16(n, 1024, IFLA_BOND_SLAVE_QUEUE_ID, queue_id); in bond_slave_parse_opt()
/external/kernel-headers/original/uapi/linux/
Dkfd_ioctl.h56 __u32 queue_id; /* from KFD */ member
66 __u32 queue_id; /* to KFD */ member
73 __u32 queue_id; /* to KFD */ member
80 __u32 queue_id; /* to KFD */ member
89 __u32 queue_id; /* to KFD */ member
Dvirtio_crypto.h64 __le32 queue_id; member
/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/syzkaller/sys/linux/
Dsocket_netlink_generic_team.txt56 queue_id team_nl_option_policy_per_port["queue_id", NLA_U32, int32]