Lines Matching defs:bmap
423 struct bmap_buf *bmap, *tmp;
426 LIST_FOREACH_SAFE(bmap, &node->bmap_bufs, list, tmp) {
427 LIST_REMOVE(bmap, list);
428 free(bmap->map);
429 free(bmap);
854 struct bmap_buf *bmap;
857 LIST_FOREACH(bmap, &node->bmap_bufs, list) {
858 if (bmap->blknr == blknr)
859 return (bmap->map);
868 bmap = malloc(sizeof(struct bmap_buf));
869 bmap->blknr = blknr;
870 bmap->map = map;
872 LIST_INSERT_HEAD(&node->bmap_bufs, bmap, list);