Home
last modified time | relevance | path

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

12

/freebsd-14.2/usr.sbin/makefs/zfs/
H A Dobjset.c39 #define DNODES_PER_CHUNK (MAXBLOCKSIZE / sizeof(dnode_phys_t))
42 dnode_phys_t buf[DNODES_PER_CHUNK];
63 dnode_init(dnode_phys_t *dnode, uint8_t type, uint8_t bonustype, in dnode_init()
137 (total + i) * sizeof(dnode_phys_t)); in _objset_write()
175 dnodesz = dnodecount * sizeof(dnode_phys_t); in objset_write()
193 dnode_phys_t *
198 dnode_phys_t *dnode; in objset_dnode_bonus_alloc()
215 dnode_phys_t *
225 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.c126 vdev_pwrite_dnode_indir(zfs_opt_t *zfs, dnode_phys_t *dnode, uint8_t level, in vdev_pwrite_dnode_indir()
137 vdev_pwrite_dnode_data(zfs_opt_t *zfs, dnode_phys_t *dnode, const void *data, in vdev_pwrite_dnode_data()
296 dnode_phys_t *objarr; in vdev_spacemap_write()
302 dnode_phys_t *dnode; in vdev_spacemap_write()
H A Ddsl.c216 dnode_phys_t *clones; in dsl_origindir_init()
355 dnode_phys_t *dnode; in dsl_dir_alloc()
494 dnode_phys_t *snapnames; in dsl_dir_finalize()
552 dnode_phys_t *snapnames; in dsl_write()
604 dnode_phys_t *dnode; in dsl_dataset_alloc()
H A Dzap.c66 dnode_phys_t *dnode; /* backpointer */
114 zap_alloc(zfs_objset_t *os, dnode_phys_t *dnode) in zap_alloc()
199 dnode_phys_t *dnode; in zap_micro_write()
355 dnode_phys_t *dnode; in zap_fat_write()
H A Dfs.c347 dnode_phys_t *dnode) in fs_populate_sattrs()
512 dnode_phys_t *dnode; in fs_populate_file()
585 dnode_phys_t *dnode; in fs_populate_dir()
641 dnode_phys_t *dnode; in fs_populate_symlink()
729 dnode_phys_t *saobj, *salobj, *sarobj; in fs_set_zpl_attrs()
930 dnode_phys_t *deleteq, *masterobj; in fs_build_one()
/freebsd-14.2/sys/contrib/openzfs/include/sys/
H A Ddmu_objset.h80 dnode_phys_t os_meta_dnode;
86 char os_pad0[OBJSET_PHYS_SIZE_V2 - sizeof (dnode_phys_t)*3 -
89 dnode_phys_t os_userused_dnode;
90 dnode_phys_t os_groupused_dnode;
91 dnode_phys_t os_projectused_dnode;
93 sizeof (dnode_phys_t)];
H A Ddnode.h278 } dnode_phys_t; typedef
298 dnode_phys_t *dn_phys; /* pointer into dn->dn_dbuf->db.db_data */
421 void dnode_special_open(struct objset *dd, dnode_phys_t *dnp,
447 void dnode_byteswap(dnode_phys_t *dnp);
/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Ddmu_traverse.c72 const dnode_phys_t *dnp, uint64_t objset, uint64_t object);
73 static void prefetch_dnode_metadata(traverse_data_t *td, const dnode_phys_t *,
157 resume_skip_check(const traverse_data_t *td, const dnode_phys_t *dnp, in resume_skip_check()
180 traverse_prefetch_metadata(traverse_data_t *td, const dnode_phys_t *dnp, in traverse_prefetch_metadata()
220 traverse_visitbp(traverse_data_t *td, const dnode_phys_t *dnp, in traverse_visitbp()
369 dnode_phys_t *child_dnp; in traverse_visitbp()
495 prefetch_dnode_metadata(traverse_data_t *td, const dnode_phys_t *dnp, in prefetch_dnode_metadata()
513 traverse_dnode(traverse_data_t *td, const blkptr_t *bp, const dnode_phys_t *dnp, in traverse_dnode()
561 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) in traverse_prefetcher()
H A Ddmu_diff.c89 report_dnode(dmu_diffarg_t *da, uint64_t object, dnode_phys_t *dnp) in report_dnode()
113 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) in diff_cb()
135 dnode_phys_t *blk; in diff_cb()
H A Ddnode.c79 static dnode_phys_t dnode_phys_zero __maybe_unused;
432 (dnode_phys_t *)dn->dn_dbuf->db.db_data + in dnode_verify()
441 dnode_byteswap(dnode_phys_t *dnp) in dnode_byteswap()
447 memset(dnp, 0, sizeof (dnode_phys_t)); in dnode_byteswap()
489 ASSERT3U(sizeof (dnode_phys_t), ==, (1<<DNODE_SHIFT)); in dnode_buf_byteswap()
490 ASSERT((size & (sizeof (dnode_phys_t)-1)) == 0); in dnode_buf_byteswap()
493 dnode_phys_t *dnp = (void *)(((char *)vbuf) + i); in dnode_buf_byteswap()
1398 dnode_phys_t *dn_block; in dnode_hold_impl()
1454 blk = dbuf_whichblock(mdn, 0, object * sizeof (dnode_phys_t)); in dnode_hold_impl()
1479 dn_block = (dnode_phys_t *)db->db.db_data; in dnode_hold_impl()
[all …]
H A Ddnode_sync.c607 memset(dn->dn_phys, 0, sizeof (dnode_phys_t) * dn->dn_num_slots); in dnode_sync_free()
635 dnode_phys_t *dnp = dn->dn_phys; in dnode_sync()
638 static const dnode_phys_t zerodn __maybe_unused = { 0 }; in dnode_sync()
H A Dbptree.c152 const zbookmark_phys_t *zb, const dnode_phys_t *dnp, void *arg) in bptree_visit_cb()
H A Ddsl_scan.c1880 dnode_phys_t tmp_dnp; in dsl_scan_check_prefetch_resume()
1881 dnode_phys_t *dnp = (spc->spc_root) ? NULL : &tmp_dnp; in dsl_scan_check_prefetch_resume()
1942 dsl_scan_prefetch_dnode(dsl_scan_t *scn, dnode_phys_t *dnp, in dsl_scan_prefetch_dnode()
2003 dnode_phys_t *cdnp; in dsl_scan_prefetch_cb()
2113 dsl_scan_check_resume(dsl_scan_t *scn, const dnode_phys_t *dnp, in dsl_scan_check_resume()
2148 dnode_phys_t *dnp, dsl_dataset_t *ds, dsl_scan_t *scn,
2152 dnode_phys_t *dnp, uint64_t object, dmu_tx_t *tx);
2160 dnode_phys_t *dnp, const blkptr_t *bp, in dsl_scan_recurse()
2208 dnode_phys_t *cdnp; in dsl_scan_recurse()
2284 dmu_objset_type_t ostype, dnode_phys_t *dnp, in dsl_scan_visitdnode()
[all …]
H A Ddmu_redact.c333 sizeof (dnode_phys_t)); in redact_cb()
337 sizeof (dnode_phys_t))) - 1; in redact_cb()
H A Ddmu_send.c181 dnode_phys_t *dnp;
231 size_t size = sizeof (dnode_phys_t) * in range_free()
709 dnode_phys_t *dnp) in dump_dnode()
H A Ddmu.c791 uint64_t blkid = dbuf_whichblock(dn, 0, object * sizeof (dnode_phys_t)); in dmu_prefetch_dnode()
2407 dnode_phys_t *dnp = dn->dn_phys; in __dmu_object_info_from_dnode()
/freebsd-14.2/stand/libsa/zfs/
H A Dzfsimpl.c144 static const dnode_phys_t *dnode_cache_obj;
155 dnode_phys_t *);
2906 dnode_phys_t *dnode) in objset_get_dnode()
2910 offset = objnum * sizeof(dnode_phys_t); in objset_get_dnode()
2912 dnode, sizeof(dnode_phys_t)); in objset_get_dnode()
3304 dnode_phys_t dataset; in zfs_mount_dataset()
3329 dnode_phys_t dir, propdir; in zfs_get_root()
3424 dnode_phys_t dir; in check_mos_features()
3470 dnode_phys_t dir; in load_nvlist()
3506 dnode_phys_t dir; in zfs_spa_init()
[all …]
/freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c807 dnode_phys_t *dnp, *sdnp, *ddnp; in zio_crypt_copy_dnode_bonus()
811 sdnp = (dnode_phys_t *)src; in zio_crypt_copy_dnode_bonus()
812 ddnp = (dnode_phys_t *)dst; in zio_crypt_copy_dnode_bonus()
954 boolean_t should_bswap, dnode_phys_t *dnp) in zio_crypt_do_dnode_hmac_updates()
957 dnode_phys_t *adnp; in zio_crypt_do_dnode_hmac_updates()
963 adnp = (dnode_phys_t *)tmp_dncore; in zio_crypt_do_dnode_hmac_updates()
1426 dnode_phys_t *dnp, *adnp, *sdnp, *ddnp; in zio_crypt_init_uios_dnode()
1441 sdnp = (dnode_phys_t *)src; in zio_crypt_init_uios_dnode()
1442 ddnp = (dnode_phys_t *)dst; in zio_crypt_init_uios_dnode()
1500 crypt_len = offsetof(dnode_phys_t, dn_blkptr); in zio_crypt_init_uios_dnode()
[all …]
/freebsd-14.2/usr.sbin/makefs/
H A Dzfs.c66 dnode_phys_t *dnode;
370 dnode_phys_t *dnode; in pool_init_objdir_config()
433 dnode_phys_t *dnode; in pool_init_objdir_feature_maps()
459 dnode_phys_t *dnode; in pool_init_objdir_poolprops()
476 dnode_phys_t *objdir; in pool_init_objdir()
642 dnode_cursor_init(zfs_opt_t *zfs, zfs_objset_t *os, dnode_phys_t *dnode, in dnode_cursor_init()
/freebsd-14.2/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-14.2/sys/cddl/boot/zfs/
H A Dzfsimpl.h1114 } dnode_phys_t; typedef
1337 dnode_phys_t os_meta_dnode;
1343 char os_pad0[OBJSET_PHYS_SIZE_V2 - sizeof (dnode_phys_t)*3 -
1346 dnode_phys_t os_userused_dnode;
1347 dnode_phys_t os_groupused_dnode;
1348 dnode_phys_t os_projectused_dnode;
1350 sizeof (dnode_phys_t)];
1618 const dnode_phys_t *zap_dnode;
1964 dnode_phys_t *vim_dn;
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c890 dnode_phys_t *dnp, *sdnp, *ddnp; in zio_crypt_copy_dnode_bonus()
894 sdnp = (dnode_phys_t *)src; in zio_crypt_copy_dnode_bonus()
895 ddnp = (dnode_phys_t *)dst; in zio_crypt_copy_dnode_bonus()
1051 boolean_t should_bswap, dnode_phys_t *dnp) in zio_crypt_do_dnode_hmac_updates()
1054 dnode_phys_t *adnp, tmp_dncore; in zio_crypt_do_dnode_hmac_updates()
1055 size_t dn_core_size = offsetof(dnode_phys_t, dn_blkptr); in zio_crypt_do_dnode_hmac_updates()
1629 dnode_phys_t *dnp, *adnp, *sdnp, *ddnp; in zio_crypt_init_uios_dnode()
1644 sdnp = (dnode_phys_t *)src; in zio_crypt_init_uios_dnode()
1645 ddnp = (dnode_phys_t *)dst; in zio_crypt_init_uios_dnode()
1714 crypt_len = offsetof(dnode_phys_t, dn_blkptr); in zio_crypt_init_uios_dnode()
[all …]
/freebsd-14.2/sys/contrib/openzfs/cmd/zinject/
H A Dtranslate.c206 record->zi_start = record->zi_object * sizeof (dnode_phys_t); in initialize_range()
207 record->zi_end = record->zi_start + sizeof (dnode_phys_t); in initialize_range()
/freebsd-14.2/stand/efi/boot1/
H A Dzfs_module.c143 dnode_phys_t dn; in load()

12