MCPcopy Create free account
hub / github.com/F-Stack/f-stack / vhost_blk_ctrlr_find

Function vhost_blk_ctrlr_find

dpdk/examples/vhost_blk/vhost_blk.c:52–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50static enum CTRLR_WORKER_STATUS worker_thread_status;
51
52struct vhost_blk_ctrlr *
53vhost_blk_ctrlr_find(const char *ctrlr_name)
54{
55 if (ctrlr_name == NULL)
56 return NULL;
57
58 /* currently we only support 1 socket file fd */
59 return g_vhost_ctrlr;
60}
61
62static uint64_t
63gpa_to_vva(struct vhost_blk_ctrlr *ctrlr, uint64_t gpa, uint64_t *len)

Callers 5

new_deviceFunction · 0.85
destroy_deviceFunction · 0.85
signal_handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected