Lines Matching refs:retval
35 int retval; in osMessagePut() local
42 retval = k_msgq_put(queue_def->msgq, (void *)&info, K_NO_WAIT); in osMessagePut()
44 retval = k_msgq_put(queue_def->msgq, (void *)&info, K_FOREVER); in osMessagePut()
46 retval = k_msgq_put(queue_def->msgq, (void *)&info, in osMessagePut()
50 if (retval == 0) { in osMessagePut()
52 } else if (retval == -EAGAIN) { in osMessagePut()
67 int retval; in osMessageGet() local
75 retval = k_msgq_get(queue_def->msgq, &info, K_NO_WAIT); in osMessageGet()
77 retval = k_msgq_get(queue_def->msgq, &info, K_FOREVER); in osMessageGet()
79 retval = k_msgq_get(queue_def->msgq, &info, K_MSEC(millisec)); in osMessageGet()
82 if (retval == 0) { in osMessageGet()
85 } else if (retval == -EAGAIN) { in osMessageGet()
87 } else if (retval == -ENOMSG) { in osMessageGet()