Home
last modified time | relevance | path

Searched refs:m_tmp (Results 1 – 8 of 8) sorted by relevance

/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
Ds-c.c561 mes_t *m_cur, *m_tmp; in main() local
612 m_tmp = malloc(sizeof(mes_t)); in main()
613 if (m_tmp == NULL) { in main()
617 m_tmp->nthreads = nth; in main()
618 m_tmp->next = NULL; in main()
621 dur = do_threads_test(nth, m_tmp); in main()
625 m_cur->next = m_tmp; in main()
626 m_cur = m_tmp; in main()
628 free(m_tmp); in main()
640 m_tmp = m_cur; in main()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_auth.c1014 struct mbuf *m_tmp; local
1052 m_tmp = m;
1053 while ((m_tmp != NULL) && (m_offset >= (uint32_t) SCTP_BUF_LEN(m_tmp))) {
1054 m_offset -= SCTP_BUF_LEN(m_tmp);
1055 m_tmp = SCTP_BUF_NEXT(m_tmp);
1058 while (m_tmp != NULL) {
1059 if ((SCTP_BUF_NEXT(m_tmp) == NULL) && trailer) {
1060 sctp_hmac_update(hmac_algo, &ctx, mtod(m_tmp, uint8_t *) + m_offset,
1061 SCTP_BUF_LEN(m_tmp) - (trailer+m_offset));
1063 sctp_hmac_update(hmac_algo, &ctx, mtod(m_tmp, uint8_t *) + m_offset,
[all …]
Dsctp_output.c5390 struct mbuf *mat, *m_tmp, *op_err, *op_err_last; local
5613 m_tmp = sctp_get_mbuf_for_msg(sizeof(struct sctp_paramhdr), 0, M_NOWAIT, 1, MT_DATA);
5614 if (m_tmp == NULL) {
5620 SCTP_BUF_LEN(m_tmp) = 0;
5621 SCTP_BUF_NEXT(m_tmp) = NULL;
5622 SCTP_BUF_NEXT(op_err_last) = m_tmp;
5623 op_err_last = m_tmp;
5931 struct mbuf *m, *m_tmp, *m_last, *m_cookie, *op_err; local
6583 for (m_tmp = op_err; m_tmp != NULL; m_tmp = SCTP_BUF_NEXT(m_tmp)) {
6584 parameter_len += SCTP_BUF_LEN(m_tmp);
[all …]
Dsctputil.c6308 struct mbuf *m_tmp; local
6310 m_tmp = control->data;
6311 while (m_tmp) {
6312 cnt += SCTP_BUF_LEN(m_tmp);
6313 if (SCTP_BUF_NEXT(m_tmp) == NULL) {
6314 control->tail_mbuf = m_tmp;
6317 m_tmp = SCTP_BUF_NEXT(m_tmp);
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/fork/
Ds-c1.c116 mes_t *m_cur, *m_tmp; in main() local
273 m_tmp = malloc(sizeof(mes_t)); in main()
275 if (m_tmp == NULL) { in main()
281 m_tmp->nprocess = nprocesses; in main()
282 m_tmp->next = NULL; in main()
283 m_tmp->_data = 0; in main()
284 m_cur->next = m_tmp; in main()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/sem_open/
Ds-c1.c121 mes_t *m_cur, *m_tmp; in main() local
244 m_tmp = malloc(sizeof(mes_t)); in main()
246 if (m_tmp == NULL) { in main()
258 m_tmp->nsem = nsem; in main()
259 m_tmp->next = NULL; in main()
260 m_tmp->prev = m_cur; in main()
261 m_cur->next = m_tmp; in main()
263 m_cur = m_tmp; in main()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/sem_init/
Ds-c1.c122 mes_t *m_cur, *m_tmp; in main() local
240 m_tmp = (mes_t *) malloc(sizeof(mes_t)); in main()
242 if (m_tmp == NULL) { in main()
254 m_tmp->nsem = nsem; in main()
255 m_tmp->next = NULL; in main()
256 m_tmp->prev = m_cur; in main()
257 m_cur->next = m_tmp; in main()
259 m_cur = m_tmp; in main()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/
Ds-c1.c152 mes_t *m_cur, *m_tmp; in main() local
301 m_tmp = malloc(sizeof(mes_t)); in main()
302 if (m_tmp == NULL) { in main()
307 m_tmp->nthreads = in main()
309 m_tmp->next = NULL; in main()
313 m_tmp-> in main()
316 m_cur->next = m_tmp; in main()