Searched refs:objset (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzfeature.h43 struct objset;
H A Ddmu_impl.h237 struct objset;
H A Ddnode.h112 struct objset;
163 struct objset *dn_objset;
273 void dnode_special_open(struct objset *dd, dnode_phys_t *dnp,
281 int dnode_hold(struct objset *dd, uint64_t object,
283 int dnode_hold_impl(struct objset *dd, uint64_t object, int flag,
H A Ddsl_pool.h45 struct objset;
83 struct objset *dp_meta_objset;
H A Ddsl_scan.h38 struct objset;
H A Ddbuf.h162 /* the objset we belong to */
163 struct objset *db_objset;
300 dmu_buf_impl_t *dbuf_find(struct objset *os, uint64_t object, uint8_t level,
H A Ddmu_objset.h72 struct objset { struct
81 * root their descendents in this objset using handles anyway, so
H A Dzio.h238 * A bookmark is a four-tuple <objset, object, level, blkid> that uniquely
239 * identifies any block in the pool. By convention, the meta-objset (MOS)
240 * is objset 0, and the meta-dnode is object 0. This covers all blocks
243 * Root blocks (objset_phys_t) are object 0, level -1: <objset, 0, -1, 0>.
244 * ZIL blocks are bookmarked <objset, 0, -2, blkid == ZIL sequence number>.
245 * dmu_sync()ed ZIL data blocks are bookmarked <objset, object, -2, blkid>.
246 * dnode visit bookmarks are <objset, object id of dnode, -3, 0>.
262 #define SET_BOOKMARK(zb, objset, object, level, blkid) \
264 (zb)->zb_objset = objset; \
H A Ddmu.h79 typedef struct objset objset_t;
329 * Allocate an object from this objset. The range of object numbers
351 * Free an object from this objset.
375 * XXX Can only be called on a objset with no dirty data.
837 * Add entries to the nvlist for all the objset's properties. See
845 * refdbytes is the amount of space "referenced" by this objset.
846 * availbytes is the amount of space available to this objset, taking
865 * Get the [cm]time for an objset's snapshot dir
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddmu_traverse.c70 uint64_t objset, uint64_t object);
72 uint64_t objset, uint64_t object);
428 uint64_t objset, uint64_t object)
434 SET_BOOKMARK(&czb, objset, object, dnp->dn_nlevels - 1, j);
439 SET_BOOKMARK(&czb, objset, object, 0, DMU_SPILL_BLKID);
446 uint64_t objset, uint64_t object)
456 SET_BOOKMARK(&czb, objset, object, ZB_DNODE_LEVEL,
467 SET_BOOKMARK(&czb, objset, object, dnp->dn_nlevels - 1, j);
474 SET_BOOKMARK(&czb, objset, object, 0, DMU_SPILL_BLKID);
479 SET_BOOKMARK(&czb, objset, objec
427 prefetch_dnode_metadata(traverse_data_t *td, const dnode_phys_t *dnp, uint64_t objset, uint64_t object) argument
445 traverse_dnode(traverse_data_t *td, const dnode_phys_t *dnp, uint64_t objset, uint64_t object) argument
548 traverse_impl(spa_t *spa, dsl_dataset_t *ds, uint64_t objset, blkptr_t *rootbp, uint64_t txg_start, zbookmark_phys_t *resume, int flags, blkptr_cb_t func, void *arg) argument
[all...]
H A Dsa.c1411 sa_handle_get(objset_t *objset, uint64_t objid, void *userp, argument
1417 if (error = dmu_bonus_hold(objset, objid, NULL, &db))
1420 return (sa_handle_get_from_db(objset, db, userp, hdl_type,
1425 sa_buf_hold(objset_t *objset, uint64_t obj_num, void *tag, dmu_buf_t **db) argument
1427 return (dmu_bonus_hold(objset, obj_num, tag, db));
H A Dzfs_ctldir.c129 static vnode_t *zfsctl_snapshot_mknode(vnode_t *, uint64_t objset);
1192 zfsctl_snapshot_mknode(vnode_t *pvp, uint64_t objset) argument
1200 zcp->zc_id = objset;
1299 * This ZFS vnode is the root of the vfs for objset 'objsetid'.
H A Ddsl_scan.c560 uint64_t objset, uint64_t object, uint64_t blkid)
572 SET_BOOKMARK(&czb, objset, object, BP_GET_LEVEL(bp), blkid);
1343 * be -1, so we will skip this and find a new objset
559 dsl_scan_prefetch(dsl_scan_t *scn, arc_buf_t *buf, blkptr_t *bp, uint64_t objset, uint64_t object, uint64_t blkid) argument
/illumos-gate/usr/src/boot/sys/boot/zfs/
H A Dzfsimpl.c42 objset_phys_t objset; member in struct:zfsmount
1951 * and return its details in *objset
1954 zfs_mount_dataset(const spa_t *spa, uint64_t objnum, objset_phys_t *objset) argument
1965 if (zio_read(spa, &ds->ds_bp, objset)) {
1976 * dataset if there is none and return its details in *objset
2037 if (zfs_mount_dataset(spa, rootobj, &mnt->objset)) {
2203 if (mnt->objset.os_type != DMU_OST_ZFS) {
2205 (uintmax_t)mnt->objset.os_type);
2212 rc = objset_get_dnode(spa, &mnt->objset, MASTER_NODE_OBJ, &dn);
2220 rc = objset_get_dnode(spa, &mnt->objset, rootnu
[all...]
H A Dzfs.c568 if (mount->objset.os_type != DMU_OST_ZFS) {
570 (uintmax_t)mount->objset.os_type);
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c278 if (mdb_ctf_lookup_by_name(ZFS_STRUCT "objset",
280 mdb_warn("couldn't find struct objset");
715 uint64_t objset; member in struct:dbufs_data
729 uintptr_t objset; local
735 if (GETMEMBID(addr, &data->id, db_objset, objset) ||
742 if ((data->objset == DBUFS_UNSET || data->objset == objset) &&
743 (data->osname == NULL || (objset_name(objset, osname) == 0 &&
761 data.objset
[all...]

Completed in 116 milliseconds