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

Function dnode_special_open

freebsd/contrib/openzfs/module/zfs/dnode.c:1193–1206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1191}
1192
1193void
1194dnode_special_open(objset_t *os, dnode_phys_t *dnp, uint64_t object,
1195 dnode_handle_t *dnh)
1196{
1197 dnode_t *dn;
1198
1199 zrl_init(&dnh->dnh_zrlock);
1200 VERIFY3U(1, ==, zrl_tryenter(&dnh->dnh_zrlock));
1201
1202 dn = dnode_create(os, dnp, NULL, object, dnh);
1203 DNODE_VERIFY(dn);
1204
1205 zrl_exit(&dnh->dnh_zrlock);
1206}
1207
1208static void
1209dnode_buf_evict_async(void *dbu)

Callers 1

dmu_objset_open_implFunction · 0.85

Calls 4

zrl_initFunction · 0.85
zrl_tryenterFunction · 0.85
dnode_createFunction · 0.85
zrl_exitFunction · 0.85

Tested by

no test coverage detected