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

Function getblk

freebsd/kern/vfs_bio.c:3824–3835  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3822}
3823
3824struct buf *
3825getblk(struct vnode *vp, daddr_t blkno, int size, int slpflag, int slptimeo,
3826 int flags)
3827{
3828 struct buf *bp;
3829 int error;
3830
3831 error = getblkx(vp, blkno, blkno, size, slpflag, slptimeo, flags, &bp);
3832 if (error != 0)
3833 return (NULL);
3834 return (bp);
3835}
3836
3837/*
3838 * getblkx:

Callers 3

breadaFunction · 0.85
cluster_readFunction · 0.85
cluster_rbuildFunction · 0.85

Calls 1

getblkxFunction · 0.85

Tested by

no test coverage detected