Home
last modified time | relevance | path

Searched refs:blkptr_t (Results 1 – 25 of 61) sorted by relevance

123

/titanic_44/usr/src/uts/common/fs/zfs/sys/
H A Dzio.h61 sizeof (zio_eck_t)) / sizeof (blkptr_t))
64 (SPA_GBH_NBLKPTRS * sizeof (blkptr_t))) /\
68 blkptr_t zg_blkptr[SPA_GBH_NBLKPTRS];
356 typedef zio_t *zio_gang_issue_func_t(zio_t *zio, blkptr_t *bp,
400 blkptr_t *io_bp;
401 blkptr_t *io_bp_override;
402 blkptr_t io_bp_copy;
415 blkptr_t io_bp_orig;
468 extern zio_t *zio_read(zio_t *pio, spa_t *spa, const blkptr_t *bp, void *data,
472 extern zio_t *zio_write(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp,
[all …]
H A Dddt.h181 extern void ddt_bp_fill(const ddt_phys_t *ddp, blkptr_t *bp,
184 const ddt_phys_t *ddp, blkptr_t *bp);
186 extern void ddt_key_fill(ddt_key_t *ddk, const blkptr_t *bp);
188 extern void ddt_phys_fill(ddt_phys_t *ddp, const blkptr_t *bp);
194 extern ddt_phys_t *ddt_phys_select(const ddt_entry_t *dde, const blkptr_t *bp);
216 extern ddt_t *ddt_select(spa_t *spa, const blkptr_t *bp);
219 extern ddt_entry_t *ddt_lookup(ddt_t *ddt, const blkptr_t *bp, boolean_t add);
220 extern void ddt_prefetch(spa_t *spa, const blkptr_t *bp);
224 const blkptr_t *bp);
226 extern ddt_entry_t *ddt_repair_start(ddt_t *ddt, const blkptr_t *bp);
H A Dmetaslab.h65 blkptr_t *, int, uint64_t, blkptr_t *, int);
66 void metaslab_free(spa_t *, const blkptr_t *, uint64_t, boolean_t);
67 int metaslab_claim(spa_t *, const blkptr_t *, uint64_t);
68 void metaslab_check_free(spa_t *, const blkptr_t *);
H A Dbplist.h36 blkptr_t bpe_blk;
45 typedef int bplist_itor_t(void *arg, const blkptr_t *bp, dmu_tx_t *tx);
49 void bplist_append(bplist_t *bpl, const blkptr_t *bp);
H A Dbptree.h44 blkptr_t be_bp;
49 typedef int bptree_itor_t(void *arg, const blkptr_t *bp, dmu_tx_t *tx);
55 void bptree_add(objset_t *os, uint64_t obj, blkptr_t *bp, uint64_t birth_txg,
H A Dzil.h62 blkptr_t zh_log; /* log chain */
90 blkptr_t zc_next_blk; /* next block in chain */
289 blkptr_t lr_blkptr; /* spa block pointer for replay */
377 typedef int zil_parse_blk_func_t(zilog_t *zilog, blkptr_t *bp, void *arg,
420 extern void zil_add_block(zilog_t *zilog, const blkptr_t *bp);
421 extern int zil_bp_tree_add(zilog_t *zilog, const blkptr_t *bp);
H A Dblkptr.h30 void encode_embedded_bp_compressed(blkptr_t *, void *,
32 void decode_embedded_bp_compressed(const blkptr_t *, void *);
H A Ddsl_dataset.h141 blkptr_t ds_bp;
273 blkptr_t *dsl_dataset_get_blkptr(dsl_dataset_t *ds);
274 void dsl_dataset_set_blkptr(dsl_dataset_t *ds, blkptr_t *bp, dmu_tx_t *tx);
283 void dsl_dataset_block_born(dsl_dataset_t *ds, const blkptr_t *bp,
285 int dsl_dataset_block_kill(dsl_dataset_t *ds, const blkptr_t *bp,
287 boolean_t dsl_dataset_block_freeable(dsl_dataset_t *ds, const blkptr_t *bp,
H A Ddmu_traverse.h42 typedef int (blkptr_cb_t)(spa_t *spa, zilog_t *zilog, const blkptr_t *bp,
59 int traverse_dataset_destroyed(spa_t *spa, blkptr_t *blkptr,
H A Darc.h136 int arc_read(zio_t *pio, spa_t *spa, const blkptr_t *bp,
140 blkptr_t *bp, arc_buf_t *buf, boolean_t l2arc, boolean_t l2arc_compress,
144 void arc_freed(spa_t *spa, const blkptr_t *bp);
H A Ddsl_pool.h93 blkptr_t dp_meta_rootbp;
146 void dsl_free(dsl_pool_t *dp, uint64_t txg, const blkptr_t *bpp);
148 const blkptr_t *bpp);
H A Ddmu_objset.h105 blkptr_t *os_rootbp;
167 blkptr_t *bp, dmu_objset_type_t type, dmu_tx_t *tx);
168 int dmu_objset_open_impl(spa_t *spa, struct dsl_dataset *ds, blkptr_t *bp,
H A Ddnode.h99 (((dnp)->dn_nblkptr - 1) * sizeof (blkptr_t))))
142 blkptr_t dn_blkptr[1];
143 uint8_t dn_bonus[DN_MAX_BONUSLEN - sizeof (blkptr_t)];
144 blkptr_t dn_spill;
H A Dbpobj.h68 typedef int bpobj_itor_t(void *arg, const blkptr_t *bp, dmu_tx_t *tx);
82 void bpobj_enqueue(bpobj_t *bpo, const blkptr_t *bp, dmu_tx_t *tx);
/titanic_44/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Ddnode.h56 (((dnp)->dn_nblkptr - 1) * sizeof (blkptr_t))))
77 blkptr_t dn_blkptr[1];
78 uint8_t dn_bonus[DN_MAX_BONUSLEN - sizeof (blkptr_t)];
79 blkptr_t dn_spill;
H A Dzio.h43 sizeof (zio_eck_t)) / sizeof (blkptr_t))
46 (SPA_GBH_NBLKPTRS * sizeof (blkptr_t))) /\
54 blkptr_t zg_blkptr[SPA_GBH_NBLKPTRS];
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dzio.c498 zio_create(zio_t *pio, spa_t *spa, uint64_t txg, const blkptr_t *bp, in zio_create()
535 zio->io_bp = (blkptr_t *)bp; in zio_create()
608 zfs_blkptr_verify(spa_t *spa, const blkptr_t *bp) in zfs_blkptr_verify()
690 zio_read(zio_t *pio, spa_t *spa, const blkptr_t *bp, in zio_read()
708 zio_write(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, in zio_write()
748 zio_rewrite(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, void *data, in zio_rewrite()
762 zio_write_override(zio_t *zio, blkptr_t *bp, int copies, boolean_t nopwrite) in zio_write_override()
781 zio_free(spa_t *spa, uint64_t txg, const blkptr_t *bp) in zio_free()
809 zio_free_sync(zio_t *pio, spa_t *spa, uint64_t txg, const blkptr_t *bp, in zio_free_sync()
841 zio_claim(zio_t *pio, spa_t *spa, uint64_t txg, const blkptr_t *bp, in zio_claim()
[all …]
H A Ddmu_traverse.c56 blkptr_t *td_rootbp;
74 traverse_zil_block(zilog_t *zilog, blkptr_t *bp, void *arg, uint64_t claim_txg) in traverse_zil_block()
100 blkptr_t *bp = &lr->lr_blkptr; in traverse_zil_record()
180 const blkptr_t *bp, const zbookmark_phys_t *zb) in traverse_prefetch_metadata()
203 prefetch_needed(prefetch_data_t *pfd, const blkptr_t *bp) in prefetch_needed()
214 const blkptr_t *bp, const zbookmark_phys_t *zb) in traverse_visitbp()
293 blkptr_t *cbp; in traverse_visitbp()
490 traverse_prefetcher(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, in traverse_prefetcher()
545 traverse_impl(spa_t *spa, dsl_dataset_t *ds, uint64_t objset, blkptr_t *rootbp, in traverse_impl()
642 traverse_dataset_destroyed(spa_t *spa, blkptr_t *blkptr, in traverse_dataset_destroyed()
H A Dblkptr.c47 encode_embedded_bp_compressed(blkptr_t *bp, void *data, in encode_embedded_bp_compressed()
93 decode_embedded_bp_compressed(const blkptr_t *bp, void *buf) in decode_embedded_bp_compressed()
H A Dbpobj.c218 blkptr_t *bparray; in bpobj_iterate_impl()
219 blkptr_t *bp; in bpobj_iterate_impl()
222 offset = i * sizeof (blkptr_t); in bpobj_iterate_impl()
260 (i + 1) * sizeof (blkptr_t), -1ULL, tx)); in bpobj_iterate_impl()
457 bpobj_enqueue(bpobj_t *bpo, const blkptr_t *bp, dmu_tx_t *tx) in bpobj_enqueue()
459 blkptr_t stored_bp = *bp; in bpobj_enqueue()
462 blkptr_t *bparray; in bpobj_enqueue()
531 space_range_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx) in space_range_cb()
H A Dddt.c245 ddt_bp_fill(const ddt_phys_t *ddp, blkptr_t *bp, uint64_t txg) in ddt_bp_fill()
256 const ddt_key_t *ddk, const ddt_phys_t *ddp, blkptr_t *bp) in ddt_bp_create()
277 ddt_key_fill(ddt_key_t *ddk, const blkptr_t *bp) in ddt_key_fill()
288 ddt_phys_fill(ddt_phys_t *ddp, const blkptr_t *bp) in ddt_phys_fill()
319 blkptr_t blk; in ddt_phys_free()
327 ddt_phys_select(const ddt_entry_t *dde, const blkptr_t *bp) in ddt_phys_select()
615 ddt_select(spa_t *spa, const blkptr_t *bp) in ddt_select()
671 ddt_lookup(ddt_t *ddt, const blkptr_t *bp, boolean_t add) in ddt_lookup()
734 ddt_prefetch(spa_t *spa, const blkptr_t *bp) in ddt_prefetch()
861 ddt_class_contains(spa_t *spa, enum ddt_class max_class, const blkptr_t *bp) in ddt_class_contains()
[all …]
H A Ddnode_sync.c72 ASSERT3U(sizeof (blkptr_t) * nblkptr, <=, db->db.db_size); in dnode_increase_indirection()
74 sizeof (blkptr_t) * nblkptr); in dnode_increase_indirection()
103 child->db_blkptr = (blkptr_t *)db->db.db_data + i; in dnode_increase_indirection()
112 bzero(dn->dn_phys->dn_blkptr, sizeof (blkptr_t) * nblkptr); in dnode_increase_indirection()
120 free_blocks(dnode_t *dn, blkptr_t *bp, int num, dmu_tx_t *tx) in free_blocks()
146 bzero(bp, sizeof (blkptr_t)); in free_blocks()
243 blkptr_t *bp; in free_children()
325 blkptr_t *bp = dn->dn_phys->dn_blkptr; in dnode_sync_free_range_impl()
696 sizeof (blkptr_t) * in dnode_sync()
H A Ddsl_scan.c53 typedef int (scan_cb_t)(dsl_pool_t *, const blkptr_t *,
354 static void dsl_scan_visitbp(blkptr_t *bp, const zbookmark_phys_t *zb,
362 dsl_free(dsl_pool_t *dp, uint64_t txg, const blkptr_t *bp) in dsl_free()
368 dsl_free_sync(zio_t *pio, dsl_pool_t *dp, uint64_t txg, const blkptr_t *bpp) in dsl_free_sync()
460 dsl_scan_zil_block(zilog_t *zilog, blkptr_t *bp, void *arg, uint64_t claim_txg) in dsl_scan_zil_block()
497 blkptr_t *bp = &lr->lr_blkptr; in dsl_scan_zil_record()
545 dsl_scan_prefetch(dsl_scan_t *scn, arc_buf_t *buf, blkptr_t *bp, in dsl_scan_prefetch()
607 dnode_phys_t *dnp, const blkptr_t *bp, in dsl_scan_recurse()
617 blkptr_t *cbp; in dsl_scan_recurse()
656 blkptr_t *cbp = &cdnp->dn_blkptr[j]; in dsl_scan_recurse()
[all …]
H A Dzio_checksum.c129 zio_checksum_gang_verifier(zio_cksum_t *zcp, blkptr_t *bp) in zio_checksum_gang_verifier()
157 blkptr_t *bp = zio->io_bp; in zio_checksum_compute()
194 blkptr_t *bp = zio->io_bp; in zio_checksum_error()
/titanic_44/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c92 static int zio_read_data(blkptr_t *bp, void *buf, char *stack);
160 zio_checksum_verify(blkptr_t *bp, char *data, int size) in zio_checksum_verify()
246 blkptr_t bp; in uberblock_verify()
305 zio_read_gang(blkptr_t *bp, dva_t *dva, void *buf, char *stack) in zio_read_gang()
309 blkptr_t tmpbp; in zio_read_gang()
354 zio_read_data(blkptr_t *bp, void *buf, char *stack) in zio_read_data()
388 decode_embedded_bp_compressed(const blkptr_t *bp, void *buf) in decode_embedded_bp_compressed()
420 decode_embedded_bp(const blkptr_t *bp, void *buf) in decode_embedded_bp()
458 zio_read(blkptr_t *bp, void *buf, char *stack) in zio_read()
528 blkptr_t *bp_array = dn->dn_blkptr; in dmu_read()
[all …]

123