Lines Matching refs:retval
35 int retval; in osMailAlloc() local
42 retval = k_mem_slab_alloc( in osMailAlloc()
46 retval = k_mem_slab_alloc( in osMailAlloc()
50 retval = k_mem_slab_alloc( in osMailAlloc()
55 if (retval == 0) { in osMailAlloc()
69 int retval; in osMailCAlloc() local
76 retval = k_mem_slab_alloc( in osMailCAlloc()
80 retval = k_mem_slab_alloc( in osMailCAlloc()
84 retval = k_mem_slab_alloc( in osMailCAlloc()
89 if (retval == 0) { in osMailCAlloc()
130 int retval; in osMailGet() local
142 retval = k_mbox_get(queue_def->mbox, &mmsg, NULL, K_NO_WAIT); in osMailGet()
144 retval = k_mbox_get(queue_def->mbox, &mmsg, NULL, K_FOREVER); in osMailGet()
146 retval = k_mbox_get(queue_def->mbox, &mmsg, NULL, in osMailGet()
150 if (retval == 0) { in osMailGet()
153 } else if (retval == -EAGAIN) { in osMailGet()
155 } else if (retval == -ENOMSG) { in osMailGet()