Searched refs:MSG_SIZE (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/tools/testing/selftests/mqueue/ |
D | mq_perf_tests.c | 87 #define MSG_SIZE 16 macro 325 char buff[MSG_SIZE]; in cont_thread() 341 while (mq_receive(queue, buff, MSG_SIZE, &prio_in) == MSG_SIZE) 345 if (mq_send(queue, buff, MSG_SIZE, prio_out)) \ 352 if (mq_send(queue, buff, MSG_SIZE, prio_out)) \ 355 if (mq_receive(queue, buff, MSG_SIZE, &prio_in) != MSG_SIZE) \ 427 char buff[MSG_SIZE]; in perf_test_thread() 714 attr.mq_msgsize = MSG_SIZE; in main()
|
/Linux-v6.1/drivers/crypto/qat/qat_common/ |
D | adf_transport_access_macros.h | 48 #define ADF_MAX_INFLIGHTS(RING_SIZE, MSG_SIZE) \ argument 49 ((((1 << (RING_SIZE - 1)) << 3) >> ADF_SIZE_TO_POW(MSG_SIZE)) - 1)
|
/Linux-v6.1/drivers/edac/ |
D | skx_common.c | 44 static char skx_msg[MSG_SIZE]; 96 adxl_msg = kzalloc(MSG_SIZE, GFP_KERNEL); in skx_adxl_get() 175 len += snprintf(adxl_msg + len, MSG_SIZE - len, " %s:0x%llx", in skx_adxl_decode() 177 if (MSG_SIZE - len <= 0) in skx_adxl_decode() 602 len = snprintf(skx_msg, MSG_SIZE, "%s%s err_code:0x%04x:0x%04x %s", in skx_mce_output_error() 607 len = snprintf(skx_msg, MSG_SIZE, in skx_mce_output_error() 617 skx_show_retry_rd_err_log(res, skx_msg + len, MSG_SIZE - len, scrub_err); in skx_mce_output_error()
|
D | skx_common.h | 15 #define MSG_SIZE 1024 macro
|
/Linux-v6.1/drivers/tty/hvc/ |
D | hvc_iucv.c | 50 #define MSG_SIZE(s) ((s) + offsetof(struct iucv_tty_msg, data)) macro 161 bufp->msg.length = MSG_SIZE(size); in alloc_tty_buffer() 263 (rb->msg.length != MSG_SIZE(rb->mbuf->datalen))) in hvc_iucv_write() 410 sb->msg.length = MSG_SIZE(sb->mbuf->datalen); in hvc_iucv_send() 907 if (msg->length > MSG_SIZE(MSG_MAX_DATALEN)) { in hvc_iucv_msg_pending()
|
/Linux-v6.1/drivers/media/platform/amphion/ |
D | vpu_windsor.c | 28 #define MSG_SIZE 25600 macro 594 iface->msg_buffer_desc.end = iface->msg_buffer_desc.start + MSG_SIZE; in vpu_windsor_init_rpc() 596 offset += MSG_SIZE; in vpu_windsor_init_rpc()
|
D | vpu_malone.c | 31 #define MSG_SIZE 25600 macro 385 iface->msg_buffer_desc.buffer.end = iface->msg_buffer_desc.buffer.start + MSG_SIZE; in vpu_malone_init_rpc() 386 offset += MSG_SIZE; in vpu_malone_init_rpc()
|