| /freebsd/sys/contrib/openzfs/cmd/ |
| H A D | zilstat.in | 149 for objset in d[pool]: 150 print_values(d[pool][objset]) 319 def kstat_process_str(k, file, objset = "GLOBAL", zil_start = 0): 324 kstat[objset] = dict() 330 kstat[objset][name[zil_start:]] = value \ 357 def kstat_process_str(k, file, objset = "GLOBAL", zil_start = 0): 363 kstat[objset] = dict() 369 kstat[objset][name] = value \ 426 for objset in curr[pool]: 427 for key in curr[pool][objset]: [all …]
|
| H A D | dbufstat.in | 400 objset = line[labels['objset']] 411 if objset not in d[pool]: 412 d[pool][objset] = dict() 414 if key not in d[pool][objset]: 415 d[pool][objset][key] = parse_line(line, labels) 416 d[pool][objset][key]['bonus'] = 0 417 d[pool][objset][key]['cached'] = 0 418 d[pool][objset][key]['direct'] = 0 419 d[pool][objset][key]['indirect'] = 0 420 d[pool][objset][key]['spill'] = 0 [all …]
|
| H A D | zfs_ids_to_path.c | 65 uint64_t objset, object; in main() local 66 if (sscanf(argv[1], "%llu", (u_longlong_t *)&objset) != 1) { in main() 87 zpool_obj_to_path_ds(pool, objset, object, pathname, in main() 90 zpool_obj_to_path(pool, objset, object, pathname, in main()
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | dataset_kstats.c | 95 dataset_kstats_create(dataset_kstats_t *dk, objset_t *objset) in dataset_kstats_create() argument 103 if (dmu_objset_is_snapshot(objset)) in dataset_kstats_create() 118 "zfs/%s", spa_name(dmu_objset_spa(objset))); in dataset_kstats_create() 122 (unsigned long long)dmu_objset_id(objset), n); in dataset_kstats_create() 127 (unsigned long long)dmu_objset_id(objset), in dataset_kstats_create() 134 (unsigned long long)dmu_objset_id(objset)); in dataset_kstats_create() 138 (unsigned long long)dmu_objset_id(objset), n); in dataset_kstats_create() 143 (unsigned long long)dmu_objset_id(objset), in dataset_kstats_create() 161 dsl_dataset_name(objset->os_dsl_dataset, ds_name); in dataset_kstats_create()
|
| H A D | dmu_traverse.c | 73 const dnode_phys_t *dnp, uint64_t objset, uint64_t object); 75 uint64_t objset, uint64_t object); 507 uint64_t objset, uint64_t object) in prefetch_dnode_metadata() argument 513 SET_BOOKMARK(&czb, objset, object, dnp->dn_nlevels - 1, j); in prefetch_dnode_metadata() 518 SET_BOOKMARK(&czb, objset, object, 0, DMU_SPILL_BLKID); in prefetch_dnode_metadata() 525 uint64_t objset, uint64_t object) in traverse_dnode() argument 535 SET_BOOKMARK(&czb, objset, object, ZB_DNODE_LEVEL, in traverse_dnode() 546 SET_BOOKMARK(&czb, objset, object, dnp->dn_nlevels - 1, j); in traverse_dnode() 553 SET_BOOKMARK(&czb, objset, object, 0, DMU_SPILL_BLKID); in traverse_dnode() 558 SET_BOOKMARK(&czb, objset, object, ZB_DNODE_LEVEL, in traverse_dnode() [all …]
|
| H A D | spa_stats.c | 60 uint64_t objset; /* read from this objset */ member 89 (longlong_t)srh->objset, (longlong_t)srh->object, in spa_read_history_show() 167 srh->objset = zb->zb_objset; in spa_read_history_add()
|
| H A D | sa.c | 1445 sa_handle_get(objset_t *objset, uint64_t objid, void *userp, in sa_handle_get() argument 1451 if ((error = dmu_bonus_hold(objset, objid, NULL, &db))) in sa_handle_get() 1454 return (sa_handle_get_from_db(objset, db, userp, hdl_type, in sa_handle_get() 1459 sa_buf_hold(objset_t *objset, uint64_t obj_num, const void *tag, dmu_buf_t **db) in sa_buf_hold() argument 1461 return (dmu_bonus_hold(objset, obj_num, tag, db)); in sa_buf_hold()
|
| H A D | dmu_send.c | 2206 uint64_t objset = dspp->ancestor_zb.zbm_redaction_obj; in setup_resume_points() local 2222 SET_BOOKMARK(&from_arg->resume, objset, obj, 0, blkid); in setup_resume_points()
|
| H A D | dsl_scan.c | 1994 uint64_t objset, uint64_t object) in dsl_scan_prefetch_dnode() argument 2003 SET_BOOKMARK(&zb, objset, object, 0, 0); in dsl_scan_prefetch_dnode()
|
| H A D | dnode.c | 92 struct objset *os = dn->dn_objset; in rt_name()
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/replacement/ |
| H A D | resilver_restart_002.ksh | 64 objset=$(zdb -d $TESTPOOL1/ | sed -ne 's/.*ID \([0-9]*\).*/\1/p') 68 log_must zinject -b $(printf "%x:%x:0:3fff" $objset $object) $TESTPOOL1
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | dnode.h | 141 struct objset; 289 struct objset *dn_objset; 417 void dnode_special_open(struct objset *dd, dnode_phys_t *dnp, 425 int dnode_hold(struct objset *dd, uint64_t object, 427 int dnode_hold_impl(struct objset *dd, uint64_t object, int flag, int dn_slots,
|
| H A D | dsl_pool.h | 52 struct objset; 95 struct objset *dp_meta_objset;
|
| H A D | zfeature.h | 44 struct objset;
|
| H A D | dbuf.h | 210 struct objset *db_objset; 376 dmu_buf_impl_t *dbuf_find(struct objset *os, uint64_t object, uint8_t level,
|
| H A D | zfs_ioctl.h | 590 struct objset; 603 extern int getzfsvfs_impl(struct objset *, struct zfsvfs **);
|
| H A D | dsl_scan.h | 41 struct objset;
|
| H A D | dsl_crypt.h | 194 int dsl_crypto_populate_key_nvlist(struct objset *os,
|
| H A D | dmu_objset.h | 103 struct objset { struct
|
| H A D | zio.h | 335 #define SET_BOOKMARK(zb, objset, object, level, blkid) \ argument 337 (zb)->zb_objset = objset; \
|
| H A D | dmu.h | 81 typedef struct objset objset_t;
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/include/ |
| H A D | kstat.shlib | 258 oid=$(printf 'kstat.zfs.%s.dataset.objset-0x%x.%s' \ 303 # kstat.zfs.shed.dataset.objset-0x8087.dataset_name: shed/poudriere 314 /\.objset-0x[0-9a-f]+\.dataset_name=/ && $6 ~ dsnamere { 326 # at top-level, pool in a directory, and dataset in a objset- file inside the 352 stat=$(printf 'objset-0x%x.%s' $objsetid $stat) 450 # /proc/spl/kstat/zfs/crayon/objset-0x113 466 ' /proc/spl/kstat/zfs/$pool/objset-0x* | xargs printf %d
|
| /freebsd/usr.sbin/makefs/zfs/ |
| H A D | Makefile.inc | 6 objset.c \
|
| /freebsd/stand/libsa/zfs/ |
| H A D | zfsimpl.c | 49 objset_phys_t objset; member 3436 zfs_mount_dataset(const spa_t *spa, uint64_t objnum, objset_phys_t *objset) in zfs_mount_dataset() argument 3447 if (zio_read(spa, &ds->ds_bp, objset)) { in zfs_mount_dataset() 3521 if (zfs_mount_dataset(spa, rootobj, &mount->objset)) { in zfs_mount_impl() 3836 if (mount->objset.os_type != DMU_OST_ZFS) { in zfs_lookup() 3838 (uintmax_t)mount->objset.os_type); in zfs_lookup() 3848 rc = objset_get_dnode(spa, &mount->objset, MASTER_NODE_OBJ, &dn); in zfs_lookup() 3862 rc = objset_get_dnode(spa, &mount->objset, objnum, &dn); in zfs_lookup() 3868 rc = objset_get_dnode(spa, &mount->objset, objnum, &dn); in zfs_lookup() 3925 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()
|