Home
last modified time | relevance | path

Searched refs:MSG_SIZE (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/tools/testing/selftests/mqueue/
Dmq_perf_tests.c87 #define MSG_SIZE 16 macro
322 char buff[MSG_SIZE]; in cont_thread()
338 while (mq_receive(queue, buff, MSG_SIZE, &prio_in) == MSG_SIZE)
342 if (mq_send(queue, buff, MSG_SIZE, prio_out)) \
349 if (mq_send(queue, buff, MSG_SIZE, prio_out)) \
352 if (mq_receive(queue, buff, MSG_SIZE, &prio_in) != MSG_SIZE) \
424 char buff[MSG_SIZE]; in perf_test_thread()
710 attr.mq_msgsize = MSG_SIZE; in main()
/Linux-v4.19/drivers/crypto/qat/qat_common/
Dadf_transport_access_macros.h109 #define ADF_MAX_INFLIGHTS(RING_SIZE, MSG_SIZE) \ argument
110 ((((1 << (RING_SIZE - 1)) << 3) >> ADF_SIZE_TO_POW(MSG_SIZE)) - 1)
/Linux-v4.19/drivers/tty/hvc/
Dhvc_iucv.c51 #define MSG_SIZE(s) ((s) + offsetof(struct iucv_tty_msg, data)) macro
162 bufp->msg.length = MSG_SIZE(size); in alloc_tty_buffer()
264 (rb->msg.length != MSG_SIZE(rb->mbuf->datalen))) in hvc_iucv_write()
411 sb->msg.length = MSG_SIZE(sb->mbuf->datalen); in hvc_iucv_send()
910 if (msg->length > MSG_SIZE(MSG_MAX_DATALEN)) { in hvc_iucv_msg_pending()
/Linux-v4.19/drivers/scsi/
Dgdth.h178 #define MSG_SIZE 34 /* size of message structure */ macro