MCPcopy Create free account
hub / github.com/apache/nuttx / rpmsgfs_get_tx_payload_buffer

Function rpmsgfs_get_tx_payload_buffer

fs/rpmsgfs/rpmsgfs_client.c:279–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279static FAR void *rpmsgfs_get_tx_payload_buffer(FAR struct rpmsgfs_s *priv,
280 FAR uint32_t *len)
281{
282 int sval;
283
284 nxsem_get_value(&priv->wait, &sval);
285 if (sval <= 0)
286 {
287 rpmsg_wait(&priv->ept, &priv->wait);
288 rpmsg_post(&priv->ept, &priv->wait);
289 }
290
291 return rpmsg_get_tx_payload_buffer(&priv->ept, len, true);
292}
293
294static void rpmsgfs_ns_bound(struct rpmsg_endpoint *ept)
295{

Callers 11

rpmsgfs_client_openFunction · 0.85
rpmsgfs_client_writeFunction · 0.85
rpmsgfs_client_ioctlFunction · 0.85
rpmsgfs_client_opendirFunction · 0.85
rpmsgfs_client_statfsFunction · 0.85
rpmsgfs_client_unlinkFunction · 0.85
rpmsgfs_client_mkdirFunction · 0.85
rpmsgfs_client_rmdirFunction · 0.85
rpmsgfs_client_renameFunction · 0.85
rpmsgfs_client_statFunction · 0.85
rpmsgfs_client_chstatFunction · 0.85

Calls 3

nxsem_get_valueFunction · 0.85
rpmsg_waitFunction · 0.85
rpmsg_postFunction · 0.85

Tested by

no test coverage detected