Home
last modified time | relevance | path

Searched refs:dnode_phys_t (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/usr.sbin/makefs/zfs/
H A Dobjset.c40 #define DNODES_PER_CHUNK (MAXBLOCKSIZE / sizeof(dnode_phys_t))
43 dnode_phys_t buf[DNODES_PER_CHUNK];
64 dnode_init(dnode_phys_t *dnode, uint8_t type, uint8_t bonustype, in dnode_init()
138 (total + i) * sizeof(dnode_phys_t)); in _objset_write()
176 dnodesz = dnodecount * sizeof(dnode_phys_t); in objset_write()
194 dnode_phys_t *
199 dnode_phys_t *dnode; in objset_dnode_bonus_alloc()
216 dnode_phys_t *
226 dnode_phys_t *
H A Dzfs.h139 dnode_phys_t *objset_dnode_alloc(zfs_objset_t *, uint8_t, uint64_t *);
140 dnode_phys_t *objset_dnode_bonus_alloc(zfs_objset_t *, uint8_t, uint8_t,
142 dnode_phys_t *objset_dnode_lookup(zfs_objset_t *, uint64_t);
153 void vdev_pwrite_dnode_indir(zfs_opt_t *zfs, dnode_phys_t *dnode, uint8_t level,
155 void vdev_pwrite_dnode_data(zfs_opt_t *zfs, dnode_phys_t *dnode, const void *data,
162 zfs_zap_t *zap_alloc(zfs_objset_t *, dnode_phys_t *);
172 dnode_phys_t *, off_t, off_t);
H A Dvdev.c127 vdev_pwrite_dnode_indir(zfs_opt_t *zfs, dnode_phys_t *dnode, uint8_t level, in vdev_pwrite_dnode_indir()
138 vdev_pwrite_dnode_data(zfs_opt_t *zfs, dnode_phys_t *dnode, const void *data, in vdev_pwrite_dnode_data()
297 dnode_phys_t *objarr; in vdev_spacemap_write()
303 dnode_phys_t *dnode; in vdev_spacemap_write()
H A Ddsl.c251 dnode_phys_t *clones; in dsl_origindir_init()
391 dnode_phys_t *dnode; in dsl_dir_alloc()
531 dnode_phys_t *snapnames; in dsl_dir_finalize()
589 dnode_phys_t *snapnames; in dsl_write()
641 dnode_phys_t *dnode; in dsl_dataset_alloc()
H A Dzap.c67 dnode_phys_t *dnode; /* backpointer */
115 zap_alloc(zfs_objset_t *os, dnode_phys_t *dnode) in zap_alloc()
200 dnode_phys_t *dnode; in zap_micro_write()
363 dnode_phys_t *dnode; in zap_fat_write()
H A Dfs.c357 dnode_phys_t *dnode) in fs_populate_sattrs()
540 dnode_phys_t *dnode; in fs_populate_file()
613 dnode_phys_t *dnode; in fs_populate_dir()
669 dnode_phys_t *dnode; in fs_populate_symlink()
767 dnode_phys_t *saobj, *salobj, *sarobj; in fs_set_zpl_attrs()
968 dnode_phys_t *deleteq, *masterobj; in fs_build_one()
/freebsd/sys/contrib/openzfs/include/sys/
H A Ddmu_objset.h71 dnode_phys_t os_meta_dnode;
77 char os_pad0[OBJSET_PHYS_SIZE_V2 - sizeof (dnode_phys_t)*3 -
80 dnode_phys_t os_userused_dnode;
81 dnode_phys_t os_groupused_dnode;
82 dnode_phys_t os_projectused_dnode;
84 sizeof (dnode_phys_t)];
H A Ddnode.h263 } dnode_phys_t; typedef
283 dnode_phys_t *dn_phys; /* pointer into dn->dn_dbuf->db.db_data */
407 void dnode_special_open(struct objset *dd, dnode_phys_t *dnp,
432 void dnode_byteswap(dnode_phys_t *dnp);
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_traverse.c63 const dnode_phys_t *dnp, uint64_t objset, uint64_t object);
64 static void prefetch_dnode_metadata(traverse_data_t *td, const dnode_phys_t *,
158 resume_skip_check(const traverse_data_t *td, const dnode_phys_t *dnp, in resume_skip_check()
181 traverse_prefetch_metadata(traverse_data_t *td, const dnode_phys_t *dnp, in traverse_prefetch_metadata()
221 traverse_visitbp(traverse_data_t *td, const dnode_phys_t *dnp, in traverse_visitbp()
370 dnode_phys_t *child_dnp; in traverse_visitbp()
496 prefetch_dnode_metadata(traverse_data_t *td, const dnode_phys_t *dnp, in prefetch_dnode_metadata()
514 traverse_dnode(traverse_data_t *td, const blkptr_t *bp, const dnode_phys_t *dnp, in traverse_dnode()
562 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) in traverse_prefetcher()
H A Ddmu_diff.c80 report_dnode(dmu_diffarg_t *da, uint64_t object, dnode_phys_t *dnp) in report_dnode()
104 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) in diff_cb()
126 dnode_phys_t *blk; in diff_cb()
H A Ddnode.c70 static dnode_phys_t dnode_phys_zero __maybe_unused;
440 (dnode_phys_t *)dn->dn_dbuf->db.db_data + in dnode_verify()
449 dnode_byteswap(dnode_phys_t *dnp) in dnode_byteswap()
455 memset(dnp, 0, sizeof (dnode_phys_t)); in dnode_byteswap()
497 ASSERT3U(sizeof (dnode_phys_t), ==, (1<<DNODE_SHIFT)); in dnode_buf_byteswap()
498 ASSERT0((size & (sizeof (dnode_phys_t)-1))); in dnode_buf_byteswap()
501 dnode_phys_t *dnp = (void *)(((char *)vbuf) + i); in dnode_buf_byteswap()
581 dnode_create(objset_t *os, dnode_phys_t *dnp, dmu_buf_impl_t *db, in dnode_create()
738 ASSERT0(memcmp(dn->dn_phys, &dnode_phys_zero, sizeof (dnode_phys_t))); in dnode_allocate()
1346 dnode_special_open(objset_t *os, dnode_phys_t *dnp, uint64_t object, in dnode_special_open()
[all …]
H A Ddnode_sync.c591 memset(dn->dn_phys, 0, sizeof (dnode_phys_t) * dn->dn_num_slots); in dnode_sync_free()
678 dnode_phys_t *dnp = dn->dn_phys; in dnode_sync()
681 static const dnode_phys_t zerodn __maybe_unused = { 0 }; in dnode_sync()
H A Ddsl_scan.c1990 scan_prefetch_ctx_create(dsl_scan_t *scn, dnode_phys_t *dnp, const void *tag) in scan_prefetch_ctx_create()
2038 dnode_phys_t tmp_dnp; in dsl_scan_check_prefetch_resume()
2039 dnode_phys_t *dnp = (spc->spc_root) ? NULL : &tmp_dnp; in dsl_scan_check_prefetch_resume()
2101 dsl_scan_prefetch_dnode(dsl_scan_t *scn, dnode_phys_t *dnp, in dsl_scan_prefetch_dnode()
2162 dnode_phys_t *cdnp; in dsl_scan_prefetch_cb()
2272 dsl_scan_check_resume(dsl_scan_t *scn, const dnode_phys_t *dnp, in dsl_scan_check_resume()
2307 dnode_phys_t *dnp, dsl_dataset_t *ds, dsl_scan_t *scn,
2311 dnode_phys_t *dnp, uint64_t object, dmu_tx_t *tx);
2319 dnode_phys_t *dnp, const blkptr_t *bp, in dsl_scan_recurse()
2367 dnode_phys_t *cdnp; in dsl_scan_recurse()
[all …]
H A Dbptree.c144 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) in bptree_visit_cb()
H A Ddmu_redact.c322 sizeof (dnode_phys_t)); in redact_cb()
326 sizeof (dnode_phys_t))) - 1; in redact_cb()
H A Ddmu_send.c172 dnode_phys_t *dnp;
224 size_t size = sizeof (dnode_phys_t) * in range_free()
704 dnode_phys_t *dnp) in dump_dnode()
1714 dnode_phys_t *dnp = range->sru.object.dnp; in piggyback_unmodified_spill()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c803 dnode_phys_t *dnp, *sdnp, *ddnp; in zio_crypt_copy_dnode_bonus()
807 sdnp = (dnode_phys_t *)src; in zio_crypt_copy_dnode_bonus()
808 ddnp = (dnode_phys_t *)dst; in zio_crypt_copy_dnode_bonus()
950 boolean_t should_bswap, dnode_phys_t *dnp) in zio_crypt_do_dnode_hmac_updates()
953 dnode_phys_t *adnp; in zio_crypt_do_dnode_hmac_updates()
955 uint8_t tmp_dncore[offsetof(dnode_phys_t, dn_blkptr)]; in zio_crypt_do_dnode_hmac_updates()
959 adnp = (dnode_phys_t *)tmp_dncore; in zio_crypt_do_dnode_hmac_updates()
1416 dnode_phys_t *dnp, *adnp, *sdnp, *ddnp; in zio_crypt_init_uios_dnode()
1431 sdnp = (dnode_phys_t *)src; in zio_crypt_init_uios_dnode()
1432 ddnp = (dnode_phys_t *)dst; in zio_crypt_init_uios_dnode()
[all …]
/freebsd/stand/libsa/zfs/
H A Dzfsimpl.c141 static const dnode_phys_t *dnode_cache_obj;
150 static int zap_lookup(const spa_t *spa, const dnode_phys_t *dnode,
154 dnode_phys_t *);
155 static int dnode_read(const spa_t *, const dnode_phys_t *, off_t, void *,
2453 dnode_read(const spa_t *spa, const dnode_phys_t *dnode, off_t offset, in dnode_read()
2822 fzap_lookup(const spa_t *spa, const dnode_phys_t *dnode, zap_phys_t *zh, in fzap_lookup()
2859 zap_lookup(const spa_t *spa, const dnode_phys_t *dnode, const char *name, in zap_lookup()
2924 fzap_list(const spa_t *spa, const dnode_phys_t *dnode, zap_phys_t *zh, in fzap_list()
3016 zap_list(const spa_t *spa, const dnode_phys_t *dnode) in zap_list()
3040 dnode_phys_t *dnode) in objset_get_dnode()
[all …]
/freebsd/usr.sbin/makefs/
H A Dzfs.c67 dnode_phys_t *dnode;
381 dnode_phys_t *dnode; in pool_init_objdir_config()
444 dnode_phys_t *dnode; in pool_init_objdir_feature_maps()
470 dnode_phys_t *dnode; in pool_init_objdir_poolprops()
487 dnode_phys_t *objdir; in pool_init_objdir()
654 dnode_cursor_init(zfs_opt_t *zfs, zfs_objset_t *os, dnode_phys_t *dnode, in dnode_cursor_init()
/freebsd/tools/tools/zfsboottest/
H A Dzfsboottest.c86 zfs_read(spa_t *spa, dnode_phys_t *dn, void *buf, size_t size, off_t off) in zfs_read()
110 dnode_phys_t dn;
/freebsd/sys/cddl/boot/zfs/
H A Dzfsimpl.h1109 } dnode_phys_t; typedef
1332 dnode_phys_t os_meta_dnode;
1338 char os_pad0[OBJSET_PHYS_SIZE_V2 - sizeof (dnode_phys_t)*3 -
1341 dnode_phys_t os_userused_dnode;
1342 dnode_phys_t os_groupused_dnode;
1343 dnode_phys_t os_projectused_dnode;
1345 sizeof (dnode_phys_t)];
1613 const dnode_phys_t *zap_dnode;
1959 dnode_phys_t *vim_dn;
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c887 dnode_phys_t *dnp, *sdnp, *ddnp; in zio_crypt_copy_dnode_bonus()
891 sdnp = (dnode_phys_t *)src; in zio_crypt_copy_dnode_bonus()
892 ddnp = (dnode_phys_t *)dst; in zio_crypt_copy_dnode_bonus()
1048 boolean_t should_bswap, dnode_phys_t *dnp) in zio_crypt_do_dnode_hmac_updates()
1051 dnode_phys_t *adnp, tmp_dncore; in zio_crypt_do_dnode_hmac_updates()
1052 size_t dn_core_size = offsetof(dnode_phys_t, dn_blkptr); in zio_crypt_do_dnode_hmac_updates()
1622 dnode_phys_t *dnp, *adnp, *sdnp, *ddnp; in zio_crypt_init_uios_dnode()
1637 sdnp = (dnode_phys_t *)src; in zio_crypt_init_uios_dnode()
1638 ddnp = (dnode_phys_t *)dst; in zio_crypt_init_uios_dnode()
1707 crypt_len = offsetof(dnode_phys_t, dn_blkptr); in zio_crypt_init_uios_dnode()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zinject/
H A Dtranslate.c203 record->zi_start = record->zi_object * sizeof (dnode_phys_t); in initialize_range()
204 record->zi_end = record->zi_start + sizeof (dnode_phys_t); in initialize_range()
/freebsd/stand/efi/boot1/
H A Dzfs_module.c143 dnode_phys_t dn; in load()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c2539 blkid2offset(const dnode_phys_t *dnp, const blkptr_t *bp, in blkid2offset()
2755 const dnode_phys_t *dnp) in print_indirect()
2911 const dnode_phys_t *dnp) in print_file_layout()
2937 visit_indirect(spa_t *spa, const dnode_phys_t *dnp, in visit_indirect()
2999 dnode_phys_t *dnp = dn->dn_phys; in dump_indirect()
3017 dnode_phys_t *dnp = dn->dn_phys; in dump_indirect_layout()
6756 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) in zdb_blkptr_cb()
8147 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) in zdb_ddt_add_cb()

12