/freebsd/sys/contrib/openzfs/cmd/ |
H A D | zilstat.in | 147 for objset in d[pool]: 148 print_values(d[pool][objset]) 317 def kstat_process_str(k, file, objset = "GLOBAL", zil_start = 0): 322 kstat[objset] = dict() 328 kstat[objset][name[zil_start:]] = value \ 355 def kstat_process_str(k, file, objset = "GLOBAL", zil_start = 0): 361 kstat[objset] = dict() 367 kstat[objset][name] = value \ 424 for objset in curr[pool]: 425 for key in curr[pool][objset]: [all …]
|
H A D | dbufstat.in | 399 objset = line[labels['objset']] 410 if objset not in d[pool]: 411 d[pool][objset] = dict() 413 if key not in d[pool][objset]: 414 d[pool][objset][key] = parse_line(line, labels) 415 d[pool][objset][key]['bonus'] = 0 416 d[pool][objset][key]['cached'] = 0 417 d[pool][objset][key]['direct'] = 0 418 d[pool][objset][key]['indirect'] = 0 419 d[pool][objset][key]['spill'] = 0 [all …]
|
H A D | zfs_ids_to_path.c | 64 uint64_t objset, object; in main() local 65 if (sscanf(argv[1], "%llu", (u_longlong_t *)&objset) != 1) { in main() 86 zpool_obj_to_path_ds(pool, objset, object, pathname, in main() 89 zpool_obj_to_path(pool, objset, object, pathname, in main()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dataset_kstats.c | 93 dataset_kstats_create(dataset_kstats_t *dk, objset_t *objset) in dataset_kstats_create() argument 101 if (dmu_objset_is_snapshot(objset)) in dataset_kstats_create() 116 "zfs/%s", spa_name(dmu_objset_spa(objset))); in dataset_kstats_create() 120 (unsigned long long)dmu_objset_id(objset), n); in dataset_kstats_create() 125 (unsigned long long)dmu_objset_id(objset), in dataset_kstats_create() 132 (unsigned long long)dmu_objset_id(objset)); in dataset_kstats_create() 136 (unsigned long long)dmu_objset_id(objset), n); in dataset_kstats_create() 141 (unsigned long long)dmu_objset_id(objset), in dataset_kstats_create() 159 dsl_dataset_name(objset->os_dsl_dataset, ds_name); in dataset_kstats_create()
|
H A D | dmu_traverse.c | 72 const dnode_phys_t *dnp, uint64_t objset, uint64_t object); 74 uint64_t objset, uint64_t object); 497 uint64_t objset, uint64_t object) in prefetch_dnode_metadata() argument 503 SET_BOOKMARK(&czb, objset, object, dnp->dn_nlevels - 1, j); in prefetch_dnode_metadata() 508 SET_BOOKMARK(&czb, objset, object, 0, DMU_SPILL_BLKID); in prefetch_dnode_metadata() 515 uint64_t objset, uint64_t object) in traverse_dnode() argument 525 SET_BOOKMARK(&czb, objset, object, ZB_DNODE_LEVEL, in traverse_dnode() 536 SET_BOOKMARK(&czb, objset, object, dnp->dn_nlevels - 1, j); in traverse_dnode() 543 SET_BOOKMARK(&czb, objset, object, 0, DMU_SPILL_BLKID); in traverse_dnode() 548 SET_BOOKMARK(&czb, objset, object, ZB_DNODE_LEVEL, in traverse_dnode() [all …]
|
H A D | spa_stats.c | 59 uint64_t objset; /* read from this objset */ member 88 (longlong_t)srh->objset, (longlong_t)srh->object, in spa_read_history_show() 166 srh->objset = zb->zb_objset; in spa_read_history_add()
|
H A D | sa.c | 1444 sa_handle_get(objset_t *objset, uint64_t objid, void *userp, in sa_handle_get() argument 1450 if ((error = dmu_bonus_hold(objset, objid, NULL, &db))) in sa_handle_get() 1453 return (sa_handle_get_from_db(objset, db, userp, hdl_type, 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() argument 1460 return (dmu_bonus_hold(objset, obj_num, tag, db)); in sa_buf_hold()
|
H A D | dmu_send.c | 2205 uint64_t objset = dspp->ancestor_zb.zbm_redaction_obj; in setup_resume_points() local 2221 SET_BOOKMARK(&from_arg->resume, objset, obj, 0, blkid); in setup_resume_points()
|
H A D | dsl_scan.c | 1983 uint64_t objset, uint64_t object) in dsl_scan_prefetch_dnode() argument 1992 SET_BOOKMARK(&zb, objset, object, 0, 0); in dsl_scan_prefetch_dnode()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/replacement/ |
H A D | resilver_restart_002.ksh | 63 objset=$(zdb -d $TESTPOOL1/ | sed -ne 's/.*ID \([0-9]*\).*/\1/p') 67 log_must zinject -b $(printf "%x:%x:0:3fff" $objset $object) $TESTPOOL1
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | dnode.h | 140 struct objset; 294 struct objset *dn_objset; 424 void dnode_special_open(struct objset *dd, dnode_phys_t *dnp, 432 int dnode_hold(struct objset *dd, uint64_t object, 434 int dnode_hold_impl(struct objset *dd, uint64_t object, int flag, int dn_slots,
|
H A D | dsl_pool.h | 51 struct objset; 92 struct objset *dp_meta_objset;
|
H A D | zfeature.h | 43 struct objset;
|
H A D | zfs_ioctl.h | 562 struct objset; 575 extern int getzfsvfs_impl(struct objset *, struct zfsvfs **);
|
H A D | dbuf.h | 221 struct objset *db_objset; 387 dmu_buf_impl_t *dbuf_find(struct objset *os, uint64_t object, uint8_t level,
|
H A D | dsl_scan.h | 40 struct objset;
|
H A D | dsl_crypt.h | 193 int dsl_crypto_populate_key_nvlist(struct objset *os,
|
H A D | dmu_objset.h | 102 struct objset { struct
|
H A D | zio.h | 318 #define SET_BOOKMARK(zb, objset, object, level, blkid) \ argument 320 (zb)->zb_objset = objset; \
|
H A D | dmu.h | 79 typedef struct objset objset_t;
|
/freebsd/usr.sbin/makefs/zfs/ |
H A D | Makefile.inc | 6 objset.c \
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/ |
H A D | zdb_objset_id.ksh | 22 # zdb -d pool/<objset id> will display the dataset 28 # 4. Run zdb -d to get the objset ID of the dataset 34 # 10. Obtain dataset name from testpool.objset-0x<objsetID>.dataset_name kstat 49 log_assert "Verify zdb -d <pool>/<objset ID> generates the correct names." 71 log_note "objset $TESTPOOL/$TESTFS has objset ID $objset_id ($objset_hex)" 106 log_pass "zdb -d <pool>/<objset ID> generates the correct names."
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mount/ |
H A D | umount_unlinked_drain.ksh |
|
/freebsd/stand/libsa/zfs/ |
H A D | zfsimpl.c | 49 objset_phys_t objset; member 3302 zfs_mount_dataset(const spa_t *spa, uint64_t objnum, objset_phys_t *objset) in zfs_mount_dataset() argument 3313 if (zio_read(spa, &ds->ds_bp, objset)) { in zfs_mount_dataset() 3387 if (zfs_mount_dataset(spa, rootobj, &mount->objset)) { in zfs_mount_impl() 3700 if (mount->objset.os_type != DMU_OST_ZFS) { in zfs_lookup() 3702 (uintmax_t)mount->objset.os_type); in zfs_lookup() 3712 rc = objset_get_dnode(spa, &mount->objset, MASTER_NODE_OBJ, &dn); in zfs_lookup() 3726 rc = objset_get_dnode(spa, &mount->objset, objnum, &dn); in zfs_lookup() 3732 rc = objset_get_dnode(spa, &mount->objset, objnum, &dn); in zfs_lookup() 3789 rc = objset_get_dnode(spa, &mount->objset, objnum, &dn); in zfs_lookup()
|
H A D | zfs.c | 423 if (rv == 0 && mnt->objset.os_type != DMU_OST_ZFS) { in zfs_mount() 425 (uintmax_t)mnt->objset.os_type); in zfs_mount()
|