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

Function vn_dirty_blk

freebsd/vm/vnode_pager.c:1250–1259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1248}
1249
1250static bool
1251vn_dirty_blk(vm_page_t m, vm_ooffset_t offset)
1252{
1253
1254 KASSERT(IDX_TO_OFF(m->pindex) <= offset &&
1255 offset < IDX_TO_OFF(m->pindex + 1),
1256 ("page %p pidx %ju offset %ju", m, (uintmax_t)m->pindex,
1257 (uintmax_t)offset));
1258 return ((m->dirty & ((vm_page_bits_t)1 << vn_off2bidx(offset))) != 0);
1259}
1260
1261/*
1262 * This is now called from local media FS's to operate against their

Callers 1

Calls 1

vn_off2bidxFunction · 0.85

Tested by

no test coverage detected