Searched refs:blkptr_t (Results 1 - 25 of 69) sorted by relevance

123

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dblkptr.h30 void encode_embedded_bp_compressed(blkptr_t *, void *,
32 void decode_embedded_bp_compressed(const blkptr_t *, void *);
33 int decode_embedded_bp(const blkptr_t *, void *, int);
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 Ddmu_traverse.h42 typedef int (blkptr_cb_t)(spa_t *spa, zilog_t *zilog, const blkptr_t *bp,
68 int traverse_dataset_destroyed(spa_t *spa, blkptr_t *blkptr,
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 Dddt.h191 extern void ddt_bp_fill(const ddt_phys_t *ddp, blkptr_t *bp,
194 const ddt_phys_t *ddp, blkptr_t *bp);
196 extern void ddt_key_fill(ddt_key_t *ddk, const blkptr_t *bp);
198 extern void ddt_phys_fill(ddt_phys_t *ddp, const blkptr_t *bp);
204 extern ddt_phys_t *ddt_phys_select(const ddt_entry_t *dde, const blkptr_t *bp);
226 extern ddt_t *ddt_select(spa_t *spa, const blkptr_t *bp);
229 extern ddt_entry_t *ddt_lookup(ddt_t *ddt, const blkptr_t *bp, boolean_t add);
230 extern void ddt_prefetch(spa_t *spa, const blkptr_t *bp);
234 const blkptr_t *bp);
236 extern ddt_entry_t *ddt_repair_start(ddt_t *ddt, const blkptr_t *b
[all...]
H A Dmetaslab.h83 blkptr_t *, int, uint64_t, blkptr_t *, int, zio_alloc_list_t *, zio_t *,
87 void metaslab_free(spa_t *, const blkptr_t *, uint64_t, boolean_t);
92 int metaslab_claim(spa_t *, const blkptr_t *, uint64_t);
94 void metaslab_check_free(spa_t *, const blkptr_t *);
130 void metaslab_group_alloc_verify(spa_t *, const blkptr_t *, void *, int);
H A Dzio_checksum.h102 extern int zio_checksum_equal(spa_t *, blkptr_t *, enum zio_checksum,
106 extern int zio_checksum_error_impl(spa_t *, const blkptr_t *, enum zio_checksum,
H A Dzio.h62 sizeof (zio_eck_t)) / sizeof (blkptr_t))
65 (SPA_GBH_NBLKPTRS * sizeof (blkptr_t))) /\
69 blkptr_t zg_blkptr[SPA_GBH_NBLKPTRS];
375 typedef zio_t *zio_gang_issue_func_t(zio_t *zio, blkptr_t *bp,
433 blkptr_t *io_bp;
434 blkptr_t *io_bp_override;
435 blkptr_t io_bp_copy;
448 blkptr_t io_bp_orig;
512 extern zio_t *zio_read(zio_t *pio, spa_t *spa, const blkptr_t *bp,
516 extern zio_t *zio_write(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *b
[all...]
H A Dzio_crypt.h123 void zio_crypt_encode_params_bp(blkptr_t *bp, uint8_t *salt, uint8_t *iv);
124 void zio_crypt_decode_params_bp(const blkptr_t *bp, uint8_t *salt, uint8_t *iv);
125 void zio_crypt_encode_mac_bp(blkptr_t *bp, uint8_t *mac);
126 void zio_crypt_decode_mac_bp(const blkptr_t *bp, uint8_t *mac);
H A Dbpobj.h42 * contents is an array of bpo_entries blkptr_t's, representing
68 typedef int bpobj_itor_t(void *arg, const blkptr_t *bp, dmu_tx_t *tx);
83 void bpobj_enqueue(bpobj_t *bpo, const blkptr_t *bp, dmu_tx_t *tx);
H A Dzil.h65 blkptr_t zh_log; /* log chain */
89 * number passed in the blk_cksum field of the blkptr_t
93 blkptr_t zc_next_blk; /* next block in chain */
315 blkptr_t lr_blkptr; /* spa block pointer for replay */
402 typedef int zil_parse_blk_func_t(zilog_t *zilog, blkptr_t *bp, void *arg,
448 extern void zil_lwb_add_block(struct lwb *lwb, const blkptr_t *bp);
450 extern int zil_bp_tree_add(zilog_t *zilog, const blkptr_t *bp);
H A Ddnode.h123 (((dnp)->dn_nblkptr - 1) * sizeof (blkptr_t))))
234 blkptr_t dn_blkptr[1+DN_OLD_MAX_BONUSLEN/sizeof (blkptr_t)];
236 blkptr_t __dn_ignore1;
240 blkptr_t __dn_ignore2;
242 sizeof (blkptr_t)];
243 blkptr_t dn_spill;
248 #define DN_SPILL_BLKPTR(dnp) ((blkptr_t *)((char *)(dnp) + \
H A Darc.h71 const blkptr_t *bp, arc_buf_t *buf, void *priv);
224 int arc_read(zio_t *pio, spa_t *spa, const blkptr_t *bp,
228 blkptr_t *bp, arc_buf_t *buf, boolean_t l2arc, const zio_prop_t *zp,
233 void arc_freed(spa_t *spa, const blkptr_t *bp);
H A Ddmu_objset.h145 blkptr_t *os_rootbp;
235 blkptr_t *bp, dmu_objset_type_t type, int levels, int blksz, int ibs,
238 blkptr_t *bp, dmu_objset_type_t type, dmu_tx_t *tx);
239 int dmu_objset_open_impl(spa_t *spa, struct dsl_dataset *ds, blkptr_t *bp,
H A Duberblock_impl.h84 blkptr_t ub_rootbp; /* MOS objset_phys_t */
/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Duberblock_impl.h48 blkptr_t ub_rootbp; /* MOS objset_phys_t */
H A Dzil.h46 blkptr_t zh_log; /* log chain */
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];
H A Ddsl_dataset.h51 blkptr_t ds_bp;
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dblkptr.c47 decode_embedded_bp_compressed(const blkptr_t *bp, void *buf)
H A Dzfsimpl.h213 * E blkptr_t contains embedded data (see below)
223 * "Embedded" blkptr_t's don't actually point to a block, instead they
224 * have a data payload embedded in the blkptr_t itself. See the comment
227 * The blkptr_t is laid out as follows:
315 #define SPA_BLKPTRSHIFT 7 /* blkptr_t is 128 bytes */
326 } blkptr_t; typedef in typeref:struct:blkptr
468 sizeof (zio_eck_t)) / sizeof (blkptr_t))
471 (SPA_GBH_NBLKPTRS * sizeof (blkptr_t))) /\
475 blkptr_t zg_blkptr[SPA_GBH_NBLKPTRS];
846 blkptr_t ub_rootb
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dblkptr.c47 encode_embedded_bp_compressed(blkptr_t *bp, void *data,
93 decode_embedded_bp_compressed(const blkptr_t *bp, void *buf)
123 * blkptr_t. Takes into account compression and byteorder (the payload is
128 decode_embedded_bp(const blkptr_t *bp, void *buf, int buflen)
H A Dbplist.c46 bplist_append(bplist_t *bpl, const blkptr_t *bp)
H A Dbpobj.c227 blkptr_t *bparray;
228 blkptr_t *bp;
231 offset = i * sizeof (blkptr_t);
269 (i + 1) * sizeof (blkptr_t), DMU_OBJECT_END, tx));
468 bpobj_enqueue(bpobj_t *bpo, const blkptr_t *bp, dmu_tx_t *tx)
470 blkptr_t stored_bp = *bp;
473 blkptr_t *bparray;
543 space_range_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx)

Completed in 254 milliseconds

123