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

Function bq_init

freebsd/kern/vfs_bio.c:1847–1856  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1845}
1846
1847static void
1848bq_init(struct bufqueue *bq, int qindex, int subqueue, const char *lockname)
1849{
1850
1851 mtx_init(&bq->bq_lock, lockname, NULL, MTX_DEF);
1852 TAILQ_INIT(&bq->bq_queue);
1853 bq->bq_len = 0;
1854 bq->bq_index = qindex;
1855 bq->bq_subqueue = subqueue;
1856}
1857
1858static void
1859bd_init(struct bufdomain *bd)

Callers 2

bufinitFunction · 0.85
bd_initFunction · 0.85

Calls 1

mtx_initFunction · 0.85

Tested by

no test coverage detected