Home
last modified time | relevance | path

Searched refs:dmu_buf_t (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/sys/contrib/openzfs/include/sys/
H A Ddmu.h355 } dmu_buf_t; typedef
546 dmu_buf_t **dbp);
547 int dmu_bonus_hold_by_dnode(dnode_t *dn, const void *tag, dmu_buf_t **dbp,
550 int dmu_set_bonus(dmu_buf_t *, int, dmu_tx_t *);
551 int dmu_set_bonustype(dmu_buf_t *, dmu_object_type_t, dmu_tx_t *);
552 dmu_object_type_t dmu_get_bonustype(dmu_buf_t *);
559 int dmu_spill_hold_by_bonus(dmu_buf_t *bonus, uint32_t flags, const void *tag,
560 dmu_buf_t **dbp);
562 const void *tag, dmu_buf_t **dbp);
563 int dmu_spill_hold_existing(dmu_buf_t *bonus, const void *tag, dmu_buf_t **dbp);
[all …]
H A Ddbuf.h218 dmu_buf_t db;
361 int dbuf_spill_set_blksz(dmu_buf_t *db, uint64_t blksz, dmu_tx_t *tx);
379 boolean_t dbuf_try_add_ref(dmu_buf_t *db, objset_t *os, uint64_t obj,
391 void dmu_buf_will_clone_or_dio(dmu_buf_t *db, dmu_tx_t *tx);
392 void dmu_buf_will_not_fill(dmu_buf_t *db, dmu_tx_t *tx);
393 void dmu_buf_will_fill(dmu_buf_t *db, dmu_tx_t *tx, boolean_t canfail);
394 boolean_t dmu_buf_fill_done(dmu_buf_t *db, dmu_tx_t *tx, boolean_t failed);
403 void dmu_buf_write_embedded(dmu_buf_t *dbuf, void *data,
410 void dmu_buf_redact(dmu_buf_t *dbuf, dmu_tx_t *tx);
H A Dsa.h124 int sa_handle_get_from_db(objset_t *, dmu_buf_t *, void *userp,
127 int sa_buf_hold(objset_t *, uint64_t, const void *, dmu_buf_t **);
128 void sa_buf_rele(dmu_buf_t *, const void *);
141 dmu_buf_t *sa_get_db(sa_handle_t *);
H A Dsa_impl.h214 dmu_buf_t *sa_bonus;
215 dmu_buf_t *sa_spill;
236 (dmu_get_bonustype((dmu_buf_t *)db))
H A Dbpobj.h68 dmu_buf_t *bpo_dbuf;
69 dmu_buf_t *bpo_cached_dbuf;
H A Ddsl_bookmark.h75 dmu_buf_t *rl_bonus;
76 dmu_buf_t *rl_dbuf;
H A Dvdev_indirect_births.h52 dmu_buf_t *vib_dbuf;
H A Dvdev_indirect_mapping.h93 dmu_buf_t *vim_dbuf;
H A Dzap_leaf.h167 dmu_buf_t *l_dbuf;
H A Dspace_map.h99 dmu_buf_t *sm_dbuf; /* space_map_phys_t dbuf */
H A Ddsl_dir.h102 dmu_buf_t *dd_dbuf;
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu.c176 const void *tag, dmu_buf_t **dbp) in dmu_buf_hold_noread_by_dnode()
197 const void *tag, dmu_buf_t **dbp) in dmu_buf_hold_noread()
224 const void *tag, dmu_buf_t **dbp, int flags) in dmu_buf_hold_by_dnode()
249 const void *tag, dmu_buf_t **dbp, int flags) in dmu_buf_hold()
279 dmu_set_bonus(dmu_buf_t *db_fake, int newsize, dmu_tx_t *tx) in dmu_set_bonus()
303 dmu_set_bonustype(dmu_buf_t *db_fake, dmu_object_type_t type, dmu_tx_t *tx) in dmu_set_bonustype()
327 dmu_get_bonustype(dmu_buf_t *db_fake) in dmu_get_bonustype()
359 int dmu_bonus_hold_by_dnode(dnode_t *dn, const void *tag, dmu_buf_t **dbp, in dmu_bonus_hold_by_dnode()
408 dmu_bonus_hold(objset_t *os, uint64_t object, const void *tag, dmu_buf_t **dbp) in dmu_bonus_hold()
434 dmu_buf_t **dbp) in dmu_spill_hold_by_dnode()
[all …]
H A Dzfs_znode.c60 dmu_buf_t **db, const void *tag) in zfs_grab_sa_handle()
87 zfs_release_sa_handle(sa_handle_t *hdl, dmu_buf_t *db, const void *tag) in zfs_release_sa_handle()
107 dmu_buf_t *sa_db; in zfs_obj_to_pobj()
178 dmu_buf_t *prevdb = NULL; in zfs_obj_to_path_impl()
179 dmu_buf_t *sa_db = NULL; in zfs_obj_to_path_impl()
265 dmu_buf_t *db; in zfs_obj_to_path()
289 dmu_buf_t *db; in zfs_obj_to_stats()
H A Dbptree.c63 dmu_buf_t *db; in bptree_alloc()
90 dmu_buf_t *db; in bptree_free()
107 dmu_buf_t *db; in bptree_is_empty()
122 dmu_buf_t *db; in bptree_add()
194 dmu_buf_t *db; in bptree_iterate()
H A Dzfs_sa.c80 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl); in zfs_sa_readlink()
90 dmu_buf_t *dbp; in zfs_sa_readlink()
105 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl); in zfs_sa_symlink()
114 dmu_buf_t *dbp; in zfs_sa_symlink()
143 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl); in zfs_sa_get_scanstamp()
176 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl); in zfs_sa_set_scanstamp()
307 dmu_buf_t *db = sa_get_db(hdl); in zfs_sa_upgrade()
H A Dzap.c145 dmu_buf_t *db; in fzap_upgrade()
205 dmu_buf_t *db_old; in zap_table_grow()
212 dmu_buf_t *db_new; in zap_table_grow()
267 dmu_buf_t *db; in zap_table_store()
278 dmu_buf_t *db2; in zap_table_store()
309 dmu_buf_t *db; in zap_table_load()
371 dmu_buf_t *db_new; in zap_grow_ptrtbl()
431 dmu_buf_t *db = NULL; in zap_create_leaf()
489 zap_open_leaf(uint64_t blkid, dmu_buf_t *db) in zap_open_leaf()
538 dmu_buf_t *db; in zap_get_leaf_byblk()
[all …]
H A Dspace_map.c101 dmu_buf_t *db; in space_map_iterate()
206 dmu_buf_t *db; in space_map_reversed_last_block_entries()
553 maptype_t maptype, uint64_t vdev_id, uint8_t words, dmu_buf_t **dbp, in space_map_write_seg()
568 dmu_buf_t *db = *dbp; in space_map_write_seg()
676 dmu_buf_t *db; in space_map_write_impl()
H A Dspa_history.c89 dmu_buf_t *dbp; in spa_history_create_obj()
257 dmu_buf_t *dbp; in spa_history_log_sync()
424 dmu_buf_t *dbp; in spa_history_get()
H A Ddbuf.c2645 dmu_buf_will_dirty_impl(dmu_buf_t *db_fake, int flags, dmu_tx_t *tx) in dmu_buf_will_dirty_impl()
2707 dmu_buf_will_dirty(dmu_buf_t *db_fake, dmu_tx_t *tx) in dmu_buf_will_dirty()
2714 dmu_buf_is_dirty(dmu_buf_t *db_fake, dmu_tx_t *tx) in dmu_buf_is_dirty()
2805 dmu_buf_will_clone_or_dio(dmu_buf_t *db_fake, dmu_tx_t *tx) in dmu_buf_will_clone_or_dio()
2879 dmu_buf_will_not_fill(dmu_buf_t *db_fake, dmu_tx_t *tx) in dmu_buf_will_not_fill()
2893 dmu_buf_will_fill(dmu_buf_t *db_fake, dmu_tx_t *tx, boolean_t canfail) in dmu_buf_will_fill()
2943 dmu_buf_set_crypt_params(dmu_buf_t *db_fake, boolean_t byteorder, in dmu_buf_set_crypt_params()
2992 dmu_buf_fill_done(dmu_buf_t *dbuf, dmu_tx_t *tx, boolean_t failed) in dmu_buf_fill_done()
3030 dmu_buf_write_embedded(dmu_buf_t *dbuf, void *data, in dmu_buf_write_embedded()
3071 dmu_buf_redact(dmu_buf_t *dbuf, dmu_tx_t *tx) in dmu_buf_redact()
[all …]
H A Dsa.c556 dmu_buf_t *db, sa_buf_type_t buftype, int full_space, int *index, in sa_find_sizes()
1373 dmu_buf_t *db = hdl->sa_bonus; in sa_handle_destroy()
1394 sa_handle_get_from_db(objset_t *os, dmu_buf_t *db, void *userp, in sa_handle_get_from_db()
1447 dmu_buf_t *db; in sa_handle_get()
1458 sa_buf_hold(objset_t *objset, uint64_t obj_num, const void *tag, dmu_buf_t **db) in sa_buf_hold()
1464 sa_buf_rele(dmu_buf_t *db, const void *tag) in sa_buf_rele()
1576 dmu_buf_t *db = sa_get_db(hdl); in sa_add_projid()
2060 dmu_buf_t *saved_spill; in sa_bulk_update_impl()
2183 dmu_buf_t *
H A Dbpobj.c103 dmu_buf_t *dbuf = NULL; in bpobj_free()
284 dmu_buf_t *dbuf = NULL; in bpobj_iterate_blkptrs()
735 dmu_buf_t *subdb; in bpobj_enqueue_subobj()
764 dmu_buf_t *bps; in bpobj_enqueue_subobj()
H A Ddmu_direct.c212 dmu_buf_t **dbp; in dmu_write_abd()
253 dmu_buf_t **dbp; in dmu_read_abd()
H A Dddt_log.c100 dmu_buf_t *db; in ddt_log_update_header()
271 dmu_buf_t *db = dlu->dlu_dbp[dlu->dlu_block]; in ddt_log_entry()
559 dmu_buf_t *db; in ddt_log_load_one()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Ddmu_os.c69 dmu_buf_t **dbp; in dmu_write_pages()
85 dmu_buf_t *db = dbp[i]; in dmu_write_pages()
130 dmu_buf_t **dbp; in dmu_read_pages()
131 dmu_buf_t *db; in dmu_read_pages()
H A Dzfs_znode_os.c350 dmu_buf_t *db, dmu_object_type_t obj_type, sa_handle_t *sa_hdl) in zfs_znode_sa_init()
404 zfs_znode_alloc(zfsvfs_t *zfsvfs, dmu_buf_t *db, int blksz, in zfs_znode_alloc()
564 dmu_buf_t *db; in zfs_mknode()
920 dmu_buf_t *db; in zfs_zget()
1058 dmu_buf_t *db; in zfs_rezget()

12