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.h138 dnode_phys_t *objset_dnode_alloc(zfs_objset_t *, uint8_t, uint64_t *);
139 dnode_phys_t *objset_dnode_bonus_alloc(zfs_objset_t *, uint8_t, uint8_t,
141 dnode_phys_t *objset_dnode_lookup(zfs_objset_t *, uint64_t);
152 void vdev_pwrite_dnode_indir(zfs_opt_t *zfs, dnode_phys_t *dnode, uint8_t level,
154 void vdev_pwrite_dnode_data(zfs_opt_t *zfs, dnode_phys_t *dnode, const void *data,
161 zfs_zap_t *zap_alloc(zfs_objset_t *, dnode_phys_t *);
171 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.c249 dnode_phys_t *clones; in dsl_origindir_init()
389 dnode_phys_t *dnode; in dsl_dir_alloc()
529 dnode_phys_t *snapnames; in dsl_dir_finalize()
587 dnode_phys_t *snapnames; in dsl_write()
639 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.h81 dnode_phys_t os_meta_dnode;
87 char os_pad0[OBJSET_PHYS_SIZE_V2 - sizeof (dnode_phys_t)*3 -
90 dnode_phys_t os_userused_dnode;
91 dnode_phys_t os_groupused_dnode;
92 dnode_phys_t os_projectused_dnode;
94 sizeof (dnode_phys_t)];
H A Ddnode.h273 } dnode_phys_t; typedef
293 dnode_phys_t *dn_phys; /* pointer into dn->dn_dbuf->db.db_data */
417 void dnode_special_open(struct objset *dd, dnode_phys_t *dnp,
442 void dnode_byteswap(dnode_phys_t *dnp);
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_traverse.c73 const dnode_phys_t *dnp, uint64_t objset, uint64_t object);
74 static void prefetch_dnode_metadata(traverse_data_t *td, const dnode_phys_t *,
168 resume_skip_check(const traverse_data_t *td, const dnode_phys_t *dnp, in resume_skip_check()
191 traverse_prefetch_metadata(traverse_data_t *td, const dnode_phys_t *dnp, in traverse_prefetch_metadata()
231 traverse_visitbp(traverse_data_t *td, const dnode_phys_t *dnp, in traverse_visitbp()
380 dnode_phys_t *child_dnp; in traverse_visitbp()
506 prefetch_dnode_metadata(traverse_data_t *td, const dnode_phys_t *dnp, in prefetch_dnode_metadata()
524 traverse_dnode(traverse_data_t *td, const blkptr_t *bp, const dnode_phys_t *dnp, in traverse_dnode()
572 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) in traverse_prefetcher()
H A Ddmu_diff.c90 report_dnode(dmu_diffarg_t *da, uint64_t object, dnode_phys_t *dnp) in report_dnode()
114 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) in diff_cb()
136 dnode_phys_t *blk; in diff_cb()
H A Ddnode.c80 static dnode_phys_t dnode_phys_zero __maybe_unused;
450 (dnode_phys_t *)dn->dn_dbuf->db.db_data + in dnode_verify()
459 dnode_byteswap(dnode_phys_t *dnp) in dnode_byteswap()
465 memset(dnp, 0, sizeof (dnode_phys_t)); in dnode_byteswap()
507 ASSERT3U(sizeof (dnode_phys_t), ==, (1<<DNODE_SHIFT)); in dnode_buf_byteswap()
508 ASSERT0((size & (sizeof (dnode_phys_t)-1))); in dnode_buf_byteswap()
511 dnode_phys_t *dnp = (void *)(((char *)vbuf) + i); in dnode_buf_byteswap()
591 dnode_create(objset_t *os, dnode_phys_t *dnp, dmu_buf_impl_t *db, in dnode_create()
748 ASSERT0(memcmp(dn->dn_phys, &dnode_phys_zero, sizeof (dnode_phys_t))); in dnode_allocate()
1349 dnode_special_open(objset_t *os, dnode_phys_t *dnp, uint64_t object, in dnode_special_open()
[all …]
H A Ddnode_sync.c616 memset(dn->dn_phys, 0, sizeof (dnode_phys_t) * dn->dn_num_slots); in dnode_sync_free()
645 dnode_phys_t *dnp = dn->dn_phys; in dnode_sync()
648 static const dnode_phys_t zerodn __maybe_unused = { 0 }; in dnode_sync()
H A Ddsl_scan.c1878 scan_prefetch_ctx_create(dsl_scan_t *scn, dnode_phys_t *dnp, const void *tag) in scan_prefetch_ctx_create()
1926 dnode_phys_t tmp_dnp; in dsl_scan_check_prefetch_resume()
1927 dnode_phys_t *dnp = (spc->spc_root) ? NULL : &tmp_dnp; in dsl_scan_check_prefetch_resume()
1989 dsl_scan_prefetch_dnode(dsl_scan_t *scn, dnode_phys_t *dnp, in dsl_scan_prefetch_dnode()
2050 dnode_phys_t *cdnp; in dsl_scan_prefetch_cb()
2160 dsl_scan_check_resume(dsl_scan_t *scn, const dnode_phys_t *dnp, in dsl_scan_check_resume()
2195 dnode_phys_t *dnp, dsl_dataset_t *ds, dsl_scan_t *scn,
2199 dnode_phys_t *dnp, uint64_t object, dmu_tx_t *tx);
2207 dnode_phys_t *dnp, const blkptr_t *bp, in dsl_scan_recurse()
2255 dnode_phys_t *cdnp; in dsl_scan_recurse()
[all …]
H A Dbptree.c153 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) in bptree_visit_cb()
H A Ddmu_redact.c336 sizeof (dnode_phys_t)); in redact_cb()
340 sizeof (dnode_phys_t))) - 1; in redact_cb()
H A Ddmu_send.c182 dnode_phys_t *dnp;
234 size_t size = sizeof (dnode_phys_t) * in range_free()
714 dnode_phys_t *dnp) in dump_dnode()
1724 dnode_phys_t *dnp = range->sru.object.dnp; in piggyback_unmodified_spill()
H A Ddmu.c891 uint64_t blkid = dbuf_whichblock(dn, 0, object * sizeof (dnode_phys_t)); in dmu_prefetch_dnode()
2766 dnode_phys_t *dnp = dn->dn_phys; in __dmu_object_info_from_dnode()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c808 dnode_phys_t *dnp, *sdnp, *ddnp; in zio_crypt_copy_dnode_bonus()
812 sdnp = (dnode_phys_t *)src; in zio_crypt_copy_dnode_bonus()
813 ddnp = (dnode_phys_t *)dst; in zio_crypt_copy_dnode_bonus()
955 boolean_t should_bswap, dnode_phys_t *dnp) in zio_crypt_do_dnode_hmac_updates()
958 dnode_phys_t *adnp; in zio_crypt_do_dnode_hmac_updates()
960 uint8_t tmp_dncore[offsetof(dnode_phys_t, dn_blkptr)]; in zio_crypt_do_dnode_hmac_updates()
964 adnp = (dnode_phys_t *)tmp_dncore; in zio_crypt_do_dnode_hmac_updates()
1421 dnode_phys_t *dnp, *adnp, *sdnp, *ddnp; in zio_crypt_init_uios_dnode()
1436 sdnp = (dnode_phys_t *)src; in zio_crypt_init_uios_dnode()
1437 ddnp = (dnode_phys_t *)dst; in zio_crypt_init_uios_dnode()
[all …]
/freebsd/stand/libsa/zfs/
H A Dzfsimpl.c139 static const dnode_phys_t *dnode_cache_obj;
146 static int zap_lookup(const spa_t *spa, const dnode_phys_t *dnode,
150 dnode_phys_t *);
151 static int dnode_read(const spa_t *, const dnode_phys_t *, off_t, void *,
2412 dnode_read(const spa_t *spa, const dnode_phys_t *dnode, off_t offset, in dnode_read()
2781 fzap_lookup(const spa_t *spa, const dnode_phys_t *dnode, zap_phys_t *zh, in fzap_lookup()
2818 zap_lookup(const spa_t *spa, const dnode_phys_t *dnode, const char *name, in zap_lookup()
2883 fzap_list(const spa_t *spa, const dnode_phys_t *dnode, zap_phys_t *zh, in fzap_list()
2975 zap_list(const spa_t *spa, const dnode_phys_t *dnode) in zap_list()
2999 dnode_phys_t *dnode) in objset_get_dnode()
[all …]
/freebsd/usr.sbin/makefs/
H A Dzfs.c67 dnode_phys_t *dnode;
373 dnode_phys_t *dnode; in pool_init_objdir_config()
436 dnode_phys_t *dnode; in pool_init_objdir_feature_maps()
462 dnode_phys_t *dnode; in pool_init_objdir_poolprops()
479 dnode_phys_t *objdir; in pool_init_objdir()
646 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.h1120 } dnode_phys_t; typedef
1343 dnode_phys_t os_meta_dnode;
1349 char os_pad0[OBJSET_PHYS_SIZE_V2 - sizeof (dnode_phys_t)*3 -
1352 dnode_phys_t os_userused_dnode;
1353 dnode_phys_t os_groupused_dnode;
1354 dnode_phys_t os_projectused_dnode;
1356 sizeof (dnode_phys_t)];
1624 const dnode_phys_t *zap_dnode;
1970 dnode_phys_t *vim_dn;
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c891 dnode_phys_t *dnp, *sdnp, *ddnp; in zio_crypt_copy_dnode_bonus()
895 sdnp = (dnode_phys_t *)src; in zio_crypt_copy_dnode_bonus()
896 ddnp = (dnode_phys_t *)dst; in zio_crypt_copy_dnode_bonus()
1052 boolean_t should_bswap, dnode_phys_t *dnp) in zio_crypt_do_dnode_hmac_updates()
1055 dnode_phys_t *adnp, tmp_dncore; in zio_crypt_do_dnode_hmac_updates()
1056 size_t dn_core_size = offsetof(dnode_phys_t, dn_blkptr); in zio_crypt_do_dnode_hmac_updates()
1626 dnode_phys_t *dnp, *adnp, *sdnp, *ddnp; in zio_crypt_init_uios_dnode()
1641 sdnp = (dnode_phys_t *)src; in zio_crypt_init_uios_dnode()
1642 ddnp = (dnode_phys_t *)dst; in zio_crypt_init_uios_dnode()
1711 crypt_len = offsetof(dnode_phys_t, dn_blkptr); in zio_crypt_init_uios_dnode()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zinject/
H A Dtranslate.c207 record->zi_start = record->zi_object * sizeof (dnode_phys_t); in initialize_range()
208 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()

12