Home
last modified time | relevance | path

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

12

/external/ltp/testcases/kernel/syscalls/ipc/msgsnd/
Dmsgsnd02.c34 static int queue_id = -1; variable
54 {&queue_id, &snd_buf[0], MSGSIZE, EACCES, 1},
55 {&queue_id, NULL, MSGSIZE, EFAULT, 0},
57 {&queue_id, &snd_buf[1], MSGSIZE, EINVAL, 0},
58 {&queue_id, &snd_buf[2], MSGSIZE, EINVAL, 0},
59 {&queue_id, &snd_buf[0], -1, EINVAL, 0}
101 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in setup()
108 if (queue_id != -1) in cleanup()
109 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in cleanup()
Dmsgsnd01.c21 static int queue_id = -1; variable
31 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, 0)); in verify_msgsnd()
37 SAFE_MSGCTL(queue_id, IPC_STAT, &qs_buf); in verify_msgsnd()
44 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, 1, 0); in verify_msgsnd()
51 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in setup()
56 if (queue_id != -1) in cleanup()
57 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in cleanup()
Dmsgsnd06.c23 static int queue_id = -1; variable
31 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, 0)); in verify_msgsnd()
49 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in do_test()
51 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1) in do_test()
62 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in do_test()
74 if (queue_id != -1) in cleanup()
75 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in cleanup()
Dmsgsnd05.c26 static int queue_id = -1; variable
44 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, tc->flag)); in verify_msgsnd()
92 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in setup()
94 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1) in setup()
100 if (queue_id != -1) in cleanup()
101 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in cleanup()
/external/ltp/testcases/kernel/syscalls/ipc/msgget/
Dmsgget01.c22 static int queue_id = -1; variable
38 queue_id = TST_RET; in verify_msgget()
40 SAFE_MSGSND(queue_id, &snd_buf, MSGSIZE, 0); in verify_msgget()
42 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, MSGTYPE, IPC_NOWAIT); in verify_msgget()
57 if (queue_id != -1) in cleanup()
58 SAFE_MSGCTL(queue_id, IPC_RMID, NULL); in cleanup()
Dmsgget02.c29 static int queue_id = -1; variable
88 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL); in setup()
95 if (queue_id != -1) in cleanup()
96 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
/external/mesa3d/src/freedreno/drm/
Dmsm_pipe.c57 .id = msm_pipe->queue_id, in query_queue_param()
113 .queueid = to_msm_pipe(pipe)->queue_id, in msm_pipe_wait()
138 to_msm_pipe(pipe)->queue_id = 0; in open_submitqueue()
153 to_msm_pipe(pipe)->queue_id = req.id; in open_submitqueue()
157 static void close_submitqueue(struct fd_pipe *pipe, uint32_t queue_id) in close_submitqueue() argument
163 &queue_id, sizeof(queue_id)); in close_submitqueue()
169 close_submitqueue(pipe, msm_pipe->queue_id); in msm_pipe_destroy()
Dmsm_priv.h55 uint32_t queue_id; member
/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 …]
/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/kernel-headers/original/uapi/linux/
Dkfd_ioctl.h61 __u32 queue_id; /* from KFD */ member
71 __u32 queue_id; /* to KFD */ member
78 __u32 queue_id; /* to KFD */ member
85 __u32 queue_id; /* to KFD */ member
94 __u32 queue_id; /* to KFD */ member
425 __u32 queue_id; /* to KFD */ member
Dxdp_diag.h53 __u32 queue_id; member
69 __u32 queue_id; member
/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/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/virglrenderer/src/
Dvirgl_context.h54 uint64_t queue_id,
121 uint64_t queue_id,
Dvirglrenderer.h66 … void (*write_context_fence)(void *cookie, uint32_t ctx_id, uint64_t queue_id, void *fence_cookie);
321 uint64_t queue_id,
Dvirglrenderer.c169 uint64_t queue_id, in per_context_fence_retire() argument
174 queue_id, in per_context_fence_retire()
372 uint64_t queue_id, in virgl_renderer_context_create_fence() argument
380 return ctx->submit_fence(ctx, flags, queue_id, fence_cookie); in virgl_renderer_context_create_fence()
/external/llvm-project/lldb/source/Target/
DQueue.cpp18 Queue::Queue(ProcessSP process_sp, lldb::queue_id_t queue_id, in Queue() argument
20 : m_process_wp(), m_queue_id(queue_id), m_queue_name(), in Queue()
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DThreadGDBRemote.cpp164 queue_id_t queue_id = GetQueueID(); in GetQueue() local
166 if (queue_id != LLDB_INVALID_QUEUE_ID) { in GetQueue()
169 queue = process_sp->GetQueueList().FindQueueByID(queue_id); in GetQueue()
/external/llvm-project/lldb/tools/debugserver/source/
DRNBSocket.cpp74 int queue_id = kqueue(); in Listen() local
75 if (queue_id < 0) { in Listen()
156 kevent(queue_id, events.data(), events.size(), event_list, 4, NULL); in Listen()
/external/mesa3d/src/freedreno/vulkan/
Dtu_kgsl.c55 uint32_t *queue_id) in tu_drm_submitqueue_new() argument
67 *queue_id = req.drawctxt_id; in tu_drm_submitqueue_new()
73 tu_drm_submitqueue_close(const struct tu_device *dev, uint32_t queue_id) in tu_drm_submitqueue_close() argument
76 .drawctxt_id = queue_id, in tu_drm_submitqueue_close()
/external/llvm-project/lldb/include/lldb/Target/
DQueue.h34 Queue(lldb::ProcessSP process_sp, lldb::queue_id_t queue_id,

12