diff options
author | Doug Moore <dougm@FreeBSD.org> | 2019-05-11 16:15:13 +0000 |
---|---|---|
committer | Doug Moore <dougm@FreeBSD.org> | 2019-05-11 16:15:13 +0000 |
commit | 87ae0686a2f3f0d3e68e072eeb3efdac7444f3b4 (patch) | |
tree | a92eb377735b2ae07cd43cc957ce366d79eba1a4 /sys/sys/blist.h | |
parent | 2f420a7c7f1ff5a22953627b8438eaf6237b5216 (diff) | |
download | src-87ae0686a2f3f0d3e68e072eeb3efdac7444f3b4.tar.gz src-87ae0686a2f3f0d3e68e072eeb3efdac7444f3b4.zip |
Notes
Diffstat (limited to 'sys/sys/blist.h')
-rw-r--r-- | sys/sys/blist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/blist.h b/sys/sys/blist.h index 2f0b43b61a11..3ad72e80cecc 100644 --- a/sys/sys/blist.h +++ b/sys/sys/blist.h @@ -33,7 +33,7 @@ * Usage: * blist = blist_create(blocks, flags) * (void) blist_destroy(blist) - * blkno = blist_alloc(blist, count) + * blkno = blist_alloc(blist, &count, maxcount) * (void) blist_free(blist, blkno, count) * nblks = blist_fill(blist, blkno, count) * (void) blist_resize(&blist, count, freeextra, flags) @@ -92,7 +92,7 @@ typedef struct blist { struct sbuf; -daddr_t blist_alloc(blist_t blist, daddr_t count); +daddr_t blist_alloc(blist_t blist, int *count, int maxcount); daddr_t blist_avail(blist_t blist); blist_t blist_create(daddr_t blocks, int flags); void blist_destroy(blist_t blist); |