Home
last modified time | relevance | path

Searched refs:mos (Results 1 – 25 of 40) sorted by relevance

12

/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddsl_deleg.c161 objset_t *mos = dp->dp_meta_objset; in dsl_deleg_set_sync() local
170 zapobj = dsl_dir_phys(dd)->dd_deleg_zapobj = zap_create(mos, in dsl_deleg_set_sync()
182 if (zap_lookup(mos, zapobj, whokey, 8, 1, &jumpobj) != 0) { in dsl_deleg_set_sync()
183 jumpobj = zap_create_link(mos, DMU_OT_DSL_PERMS, in dsl_deleg_set_sync()
191 VERIFY(zap_update(mos, jumpobj, in dsl_deleg_set_sync()
206 objset_t *mos = dp->dp_meta_objset; in dsl_deleg_unset_sync() local
224 if (zap_lookup(mos, zapobj, whokey, 8, in dsl_deleg_unset_sync()
226 (void) zap_remove(mos, zapobj, whokey, tx); in dsl_deleg_unset_sync()
227 VERIFY(0 == zap_destroy(mos, jumpobj, tx)); in dsl_deleg_unset_sync()
234 if (zap_lookup(mos, zapobj, whokey, 8, 1, &jumpobj) != 0) in dsl_deleg_unset_sync()
[all …]
H A Ddsl_prop.c91 objset_t *mos = dd->dd_pool->dp_meta_objset; in dsl_prop_get_dd() local
124 err = zap_lookup(mos, dsl_dir_phys(dd)->dd_props_zapobj, in dsl_prop_get_dd()
136 err = zap_lookup(mos, dsl_dir_phys(dd)->dd_props_zapobj, in dsl_prop_get_dd()
148 err = zap_contains(mos, dsl_dir_phys(dd)->dd_props_zapobj, in dsl_prop_get_dd()
155 err = zap_lookup(mos, dsl_dir_phys(dd)->dd_props_zapobj, in dsl_prop_get_dd()
203 objset_t *mos = ds->ds_dir->dd_pool->dp_meta_objset; in dsl_prop_get_ds() local
209 err = zap_lookup(mos, zapobj, propname, intsz, numints, buf); in dsl_prop_get_ds()
223 err = zap_contains(mos, zapobj, inheritstr); in dsl_prop_get_ds()
233 err = zap_lookup(mos, zapobj, recvdstr, in dsl_prop_get_ds()
399 objset_t *mos; in dsl_prop_predict() local
[all …]
H A Ddsl_destroy.c159 objset_t *mos = dp->dp_meta_objset; in process_old_deadlist() local
185 dsl_deadlist_open(&ds->ds_deadlist, mos, in process_old_deadlist()
187 dsl_deadlist_open(&ds_next->ds_deadlist, mos, in process_old_deadlist()
208 objset_t *mos = dd->dd_pool->dp_meta_objset; in dsl_dir_remove_clones_key_impl() local
221 for (zap_cursor_init(zc, mos, dsl_dir_phys(dd)->dd_clones); in dsl_dir_remove_clones_key_impl()
311 objset_t *mos = dp->dp_meta_objset; in dsl_destroy_snapshot_sync_impl() local
364 VERIFY0(zap_add_int(mos, in dsl_destroy_snapshot_sync_impl()
435 dsl_deadlist_free(mos, dsl_dataset_phys(ds)->ds_deadlist_obj, tx); in dsl_destroy_snapshot_sync_impl()
553 ASSERT0(zap_count(mos, in dsl_destroy_snapshot_sync_impl()
556 VERIFY0(dmu_object_free(mos, in dsl_destroy_snapshot_sync_impl()
[all …]
H A Dspa_history.c91 objset_t *mos = spa->spa_meta_objset; in spa_history_create_obj() local
94 spa->spa_history = dmu_object_alloc(mos, DMU_OT_SPA_HISTORY, in spa_history_create_obj()
98 VERIFY0(zap_add(mos, DMU_POOL_DIRECTORY_OBJECT, in spa_history_create_obj()
102 VERIFY0(dmu_bonus_hold(mos, spa->spa_history, FTAG, &dbp)); in spa_history_create_obj()
126 objset_t *mos = spa->spa_meta_objset; in spa_history_advance_bof() local
134 if ((err = dmu_read(mos, spa->spa_history, phys_bof, firstread, in spa_history_advance_bof()
138 if ((err = dmu_read(mos, spa->spa_history, in spa_history_advance_bof()
155 objset_t *mos = spa->spa_meta_objset; in spa_history_write() local
171 dmu_write(mos, spa->spa_history, phys_eof, firstwrite, buf, tx); in spa_history_write()
176 dmu_write(mos, spa->spa_history, shpp->sh_pool_create_len, in spa_history_write()
[all …]
H A Ddsl_bookmark.c71 objset_t *mos = ds->ds_dir->dd_pool->dp_meta_objset; in dsl_bookmark_lookup_impl() local
88 err = zap_lookup_norm(mos, bmark_zapobj, shortname, sizeof (uint64_t), in dsl_bookmark_lookup_impl()
347 objset_t *mos = spa_get_dsl(spa)->dp_meta_objset; in dsl_bookmark_set_phys() local
365 (void) zap_lookup(mos, snap->ds_object, in dsl_bookmark_set_phys()
396 objset_t *mos = dp->dp_meta_objset; in dsl_bookmark_node_add() local
399 hds->ds_bookmarks_obj = zap_create_norm(mos, in dsl_bookmark_node_add()
405 VERIFY0(zap_add(mos, hds->ds_object, in dsl_bookmark_node_add()
430 VERIFY0(zap_add(mos, hds->ds_bookmarks_obj, dbn->dbn_name, in dsl_bookmark_node_add()
445 objset_t *mos = dp->dp_meta_objset; in dsl_bookmark_create_sync_impl_snap() local
472 dbn->dbn_phys.zbm_redaction_obj = dmu_object_alloc(mos, in dsl_bookmark_create_sync_impl_snap()
[all …]
H A Dspa_log_spacemap.c913 objset_t *mos = spa_meta_objset(spa); in spa_cleanup_old_sm_logs() local
916 int error = zap_lookup(mos, DMU_POOL_DIRECTORY_OBJECT, in spa_cleanup_old_sm_logs()
933 space_map_free_obj(mos, sls->sls_sm_obj, tx); in spa_cleanup_old_sm_logs()
934 VERIFY0(zap_remove_int(mos, spacemap_zap, sls->sls_txg, tx)); in spa_cleanup_old_sm_logs()
954 objset_t *mos = spa_meta_objset(spa); in spa_generate_syncing_log_sm() local
963 int error = zap_lookup(mos, DMU_POOL_DIRECTORY_OBJECT, in spa_generate_syncing_log_sm()
969 spacemap_zap = zap_create(mos, in spa_generate_syncing_log_sm()
971 VERIFY0(zap_add(mos, DMU_POOL_DIRECTORY_OBJECT, in spa_generate_syncing_log_sm()
979 ASSERT3U(zap_lookup_int_key(mos, spacemap_zap, txg, &sm_obj), in spa_generate_syncing_log_sm()
981 sm_obj = space_map_alloc(mos, zfs_log_sm_blksz, tx); in spa_generate_syncing_log_sm()
[all …]
H A Ddsl_crypt.c558 dsl_crypto_key_open(objset_t *mos, dsl_wrapping_key_t *wkey, in dsl_crypto_key_open() argument
573 ret = zap_lookup(mos, dckobj, DSL_CRYPTO_KEY_CRYPTO_SUITE, 8, 1, in dsl_crypto_key_open()
584 ret = zap_lookup(mos, dckobj, DSL_CRYPTO_KEY_GUID, 8, 1, &guid); in dsl_crypto_key_open()
588 ret = zap_lookup(mos, dckobj, DSL_CRYPTO_KEY_MASTER_KEY, 1, in dsl_crypto_key_open()
593 ret = zap_lookup(mos, dckobj, DSL_CRYPTO_KEY_HMAC_KEY, 1, in dsl_crypto_key_open()
598 ret = zap_lookup(mos, dckobj, DSL_CRYPTO_KEY_IV, 1, WRAPPING_IV_LEN, in dsl_crypto_key_open()
603 ret = zap_lookup(mos, dckobj, DSL_CRYPTO_KEY_MAC, 1, WRAPPING_MAC_LEN, in dsl_crypto_key_open()
609 (void) zap_lookup(mos, dckobj, DSL_CRYPTO_KEY_VERSION, 8, 1, &version); in dsl_crypto_key_open()
1204 dsl_crypto_key_sync_impl(objset_t *mos, uint64_t dckobj, uint64_t crypt, in dsl_crypto_key_sync_impl() argument
1209 VERIFY0(zap_update(mos, dckobj, DSL_CRYPTO_KEY_CRYPTO_SUITE, 8, 1, in dsl_crypto_key_sync_impl()
[all …]
H A Ddsl_userhold.c55 objset_t *mos = dp->dp_meta_objset; in dsl_dataset_user_hold_check_one() local
70 error = zap_lookup(mos, dsl_dataset_phys(ds)->ds_userrefs_obj, in dsl_dataset_user_hold_check_one()
159 objset_t *mos = dp->dp_meta_objset; in dsl_dataset_user_hold_sync_one_impl() local
171 zap_create(mos, DMU_OT_USERREFS, DMU_OT_NONE, 0, tx); in dsl_dataset_user_hold_sync_one_impl()
177 VERIFY0(zap_add(mos, zapobj, htag, 8, 1, &now, tx)); in dsl_dataset_user_hold_sync_one_impl()
374 objset_t *mos; in dsl_dataset_user_release_check_one() local
384 mos = ds->ds_dir->dd_pool->dp_meta_objset; in dsl_dataset_user_release_check_one()
395 error = zap_lookup(mos, zapobj, holdname, 8, 1, &tmp); in dsl_dataset_user_release_check_one()
499 objset_t *mos = dp->dp_meta_objset; in dsl_dataset_user_release_sync_one() local
510 VERIFY0(zap_remove(mos, dsl_dataset_phys(ds)->ds_userrefs_obj, in dsl_dataset_user_release_sync_one()
H A Ddmu_object.c458 dmu_object_zapify(objset_t *mos, uint64_t object, dmu_object_type_t old_type, in dmu_object_zapify() argument
465 VERIFY0(dnode_hold(mos, object, FTAG, &dn)); in dmu_object_zapify()
485 spa_feature_incr(dmu_objset_spa(mos), in dmu_object_zapify()
490 dmu_object_free_zapified(objset_t *mos, uint64_t object, dmu_tx_t *tx) in dmu_object_free_zapified() argument
497 VERIFY0(dnode_hold(mos, object, FTAG, &dn)); in dmu_object_free_zapified()
502 spa_feature_decr(dmu_objset_spa(mos), in dmu_object_free_zapified()
505 VERIFY0(dmu_object_free(mos, object, tx)); in dmu_object_free_zapified()
H A Ddsl_dataset.c374 load_zfeature(objset_t *mos, dsl_dataset_t *ds, spa_feature_t f) in load_zfeature() argument
379 err = zap_contains(mos, ds->ds_object, in load_zfeature()
392 err = zap_length(mos, ds->ds_object, in load_zfeature()
401 VERIFY0(zap_lookup(mos, ds->ds_object, in load_zfeature()
484 objset_t *mos = dp->dp_meta_objset; in dsl_dataset_get_snapname() local
491 err = dmu_bonus_hold(mos, dsl_dir_phys(ds->ds_dir)->dd_head_dataset_obj, in dsl_dataset_get_snapname()
512 objset_t *mos = ds->ds_dir->dd_pool->dp_meta_objset; in dsl_dataset_snap_lookup() local
520 err = zap_lookup_norm(mos, snapobj, name, 8, 1, in dsl_dataset_snap_lookup()
523 err = zap_lookup(mos, snapobj, name, 8, 1, value); in dsl_dataset_snap_lookup()
531 objset_t *mos = ds->ds_dir->dd_pool->dp_meta_objset; in dsl_dataset_snap_remove() local
[all …]
H A Dvdev_initialize.c80 objset_t *mos = vd->vdev_spa->spa_meta_objset; in vdev_initialize_zap_update_sync() local
84 VERIFY0(zap_update(mos, vd->vdev_leaf_zap, in vdev_initialize_zap_update_sync()
90 VERIFY0(zap_update(mos, vd->vdev_leaf_zap, in vdev_initialize_zap_update_sync()
96 VERIFY0(zap_update(mos, vd->vdev_leaf_zap, in vdev_initialize_zap_update_sync()
118 objset_t *mos = vd->vdev_spa->spa_meta_objset; in vdev_initialize_zap_remove_sync() local
121 error = zap_remove(mos, vd->vdev_leaf_zap, in vdev_initialize_zap_remove_sync()
125 error = zap_remove(mos, vd->vdev_leaf_zap, in vdev_initialize_zap_remove_sync()
129 error = zap_remove(mos, vd->vdev_leaf_zap, in vdev_initialize_zap_remove_sync()
H A Ddsl_pool.c674 objset_t *mos = dp->dp_meta_objset; in dsl_pool_sync() local
808 if (dmu_objset_is_dirty(mos, txg)) { in dsl_pool_sync()
1110 objset_t *mos = dp->dp_meta_objset; in upgrade_dir_clones_cb() local
1121 zap_create(mos, DMU_OT_DSL_CLONES, DMU_OT_NONE, in upgrade_dir_clones_cb()
1201 objset_t *mos = dp->dp_meta_objset; in dsl_pool_clean_tmp_userrefs() local
1212 for (zap_cursor_init(&zc, mos, zapobj); in dsl_pool_clean_tmp_userrefs()
1242 objset_t *mos = dp->dp_meta_objset; in dsl_pool_user_hold_create_obj() local
1247 dp->dp_tmp_userrefs_obj = zap_create_link(mos, DMU_OT_USERREFS, in dsl_pool_user_hold_create_obj()
1255 objset_t *mos = dp->dp_meta_objset; in dsl_pool_user_hold_rele_impl() local
1278 error = zap_add(mos, zapobj, name, 8, 1, &now, tx); in dsl_pool_user_hold_rele_impl()
[all …]
H A Ddsl_dir.c959 objset_t *mos = dp->dp_meta_objset; in dsl_dir_create_sync() local
964 ddobj = dmu_object_alloc(mos, DMU_OT_DSL_DIR, 0, in dsl_dir_create_sync()
967 VERIFY0(zap_add(mos, dsl_dir_phys(pds)->dd_child_dir_zapobj, in dsl_dir_create_sync()
971 VERIFY0(zap_add(mos, DMU_POOL_DIRECTORY_OBJECT, in dsl_dir_create_sync()
974 VERIFY0(dmu_bonus_hold(mos, ddobj, FTAG, &dbuf)); in dsl_dir_create_sync()
985 ddphys->dd_props_zapobj = zap_create(mos, in dsl_dir_create_sync()
987 ddphys->dd_child_dir_zapobj = zap_create(mos, in dsl_dir_create_sync()
2116 objset_t *mos = dp->dp_meta_objset; in dsl_dir_rename_sync() local
2184 VERIFY0(zap_remove(mos, in dsl_dir_rename_sync()
2196 VERIFY0(zap_add(mos, dsl_dir_phys(newparent)->dd_child_dir_zapobj, in dsl_dir_rename_sync()
[all …]
H A Dvdev.c419 objset_t *mos = spa->spa_meta_objset; in vdev_prop_get_int() local
433 err = zap_lookup(mos, objid, vdev_prop_to_name(prop), in vdev_prop_get_int()
3375 objset_t *mos = spa->spa_meta_objset; in vdev_dtl_load() local
3388 error = space_map_open(&vd->vdev_dtl_sm, mos, in vdev_dtl_load()
3422 objset_t *mos = spa->spa_meta_objset; in vdev_zap_allocation_data() local
3434 VERIFY0(zap_add(mos, vd->vdev_top_zap, VDEV_TOP_ZAP_ALLOCATION_BIAS, in vdev_zap_allocation_data()
3499 objset_t *mos = spa->spa_meta_objset; in vdev_dtl_sync() local
3534 new_object = space_map_alloc(mos, zfs_vdev_dtl_sm_blksz, tx); in vdev_dtl_sync()
3537 VERIFY0(space_map_open(&vd->vdev_dtl_sm, mos, new_object, in vdev_dtl_sync()
3855 objset_t *mos = spa_meta_objset(vd->vdev_spa); in vdev_load() local
[all …]
H A Dvdev_removal.c420 objset_t *mos = spa->spa_dsl_pool->dp_meta_objset; in vdev_remove_initiate_sync() local
447 vic->vic_mapping_object = vdev_indirect_mapping_alloc(mos, tx); in vdev_remove_initiate_sync()
449 vdev_indirect_mapping_open(mos, vic->vic_mapping_object); in vdev_remove_initiate_sync()
450 vic->vic_births_object = vdev_indirect_births_alloc(mos, tx); in vdev_remove_initiate_sync()
452 vdev_indirect_births_open(mos, vic->vic_births_object); in vdev_remove_initiate_sync()
502 VERIFY0(dmu_object_info(mos, DMU_POOL_DIRECTORY_OBJECT, &doi)); in vdev_remove_initiate_sync()
505 VERIFY0(dmu_buf_hold(mos, DMU_POOL_DIRECTORY_OBJECT, in vdev_remove_initiate_sync()
1814 objset_t *mos = spa->spa_meta_objset; in vdev_prop_allocating_off() local
1817 (void) zap_lookup(mos, objid, "allocating", sizeof (uint64_t), in vdev_prop_allocating_off()
1848 objset_t *mos = spa->spa_meta_objset; in spa_vdev_remove_cancel_sync() local
[all …]
H A Dvdev_trim.c237 objset_t *mos = vd->vdev_spa->spa_meta_objset; in vdev_trim_zap_update_sync() local
245 VERIFY0(zap_update(mos, vd->vdev_leaf_zap, in vdev_trim_zap_update_sync()
252 VERIFY0(zap_update(mos, vd->vdev_leaf_zap, in vdev_trim_zap_update_sync()
263 VERIFY0(zap_update(mos, vd->vdev_leaf_zap, in vdev_trim_zap_update_sync()
271 VERIFY0(zap_update(mos, vd->vdev_leaf_zap, VDEV_LEAF_ZAP_TRIM_PARTIAL, in vdev_trim_zap_update_sync()
278 VERIFY0(zap_update(mos, vd->vdev_leaf_zap, VDEV_LEAF_ZAP_TRIM_SECURE, in vdev_trim_zap_update_sync()
283 VERIFY0(zap_update(mos, vd->vdev_leaf_zap, VDEV_LEAF_ZAP_TRIM_STATE, in vdev_trim_zap_update_sync()
H A Ddmu_recv.c842 objset_t *mos = dp->dp_meta_objset; in dmu_recv_begin_sync() local
937 VERIFY0(zap_add(mos, dsobj, DS_FIELD_RESUME_FROMGUID, in dmu_recv_begin_sync()
940 VERIFY0(zap_add(mos, dsobj, DS_FIELD_RESUME_TOGUID, in dmu_recv_begin_sync()
942 VERIFY0(zap_add(mos, dsobj, DS_FIELD_RESUME_TONAME, in dmu_recv_begin_sync()
946 VERIFY0(zap_add(mos, dsobj, DS_FIELD_RESUME_OBJECT, in dmu_recv_begin_sync()
948 VERIFY0(zap_add(mos, dsobj, DS_FIELD_RESUME_OFFSET, in dmu_recv_begin_sync()
950 VERIFY0(zap_add(mos, dsobj, DS_FIELD_RESUME_BYTES, in dmu_recv_begin_sync()
953 VERIFY0(zap_add(mos, dsobj, DS_FIELD_RESUME_LARGEBLOCK, in dmu_recv_begin_sync()
957 VERIFY0(zap_add(mos, dsobj, DS_FIELD_RESUME_EMBEDOK, in dmu_recv_begin_sync()
961 VERIFY0(zap_add(mos, dsobj, DS_FIELD_RESUME_COMPRESSOK, in dmu_recv_begin_sync()
[all …]
H A Dvdev_indirect.c365 objset_t *mos = spa->spa_meta_objset; in spa_condensing_indirect_create() local
374 vdev_indirect_mapping_open(mos, scip->scip_next_mapping_object); in spa_condensing_indirect_create()
488 objset_t *mos = spa->spa_meta_objset; in spa_condense_indirect_complete_sync() local
514 vdev_indirect_mapping_free(mos, vic->vic_mapping_object, tx); in spa_condense_indirect_complete_sync()
518 space_map_free_obj(mos, scip->scip_prev_obsolete_sm_object, tx); in spa_condense_indirect_complete_sync()
524 VERIFY0(zap_remove(mos, DMU_POOL_DIRECTORY_OBJECT, in spa_condense_indirect_complete_sync()
/freebsd/usr.sbin/makefs/
H A Dzfs.c377 dnode = objset_dnode_bonus_alloc(zfs->mos, DMU_OT_PACKED_NVLIST, in pool_init_objdir_config()
391 configloc = objset_space_alloc(zfs, zfs->mos, &configblksz); in pool_init_objdir_config()
417 (void)objset_dnode_bonus_alloc(zfs->mos, DMU_OT_BPOBJ, DMU_OT_BPOBJ_HDR, in pool_init_objdir_bplists()
421 (void)objset_dnode_bonus_alloc(zfs->mos, DMU_OT_BPOBJ, DMU_OT_BPOBJ_HDR, in pool_init_objdir_bplists()
436 dnode = objset_dnode_alloc(zfs->mos, DMU_OTN_ZAP_METADATA, &dnid); in pool_init_objdir_feature_maps()
438 zap_write(zfs, zap_alloc(zfs->mos, dnode)); in pool_init_objdir_feature_maps()
440 dnode = objset_dnode_alloc(zfs->mos, DMU_OTN_ZAP_METADATA, &dnid); in pool_init_objdir_feature_maps()
442 zap_write(zfs, zap_alloc(zfs->mos, dnode)); in pool_init_objdir_feature_maps()
444 dnode = objset_dnode_alloc(zfs->mos, DMU_OTN_ZAP_METADATA, &dnid); in pool_init_objdir_feature_maps()
446 zap_write(zfs, zap_alloc(zfs->mos, dnode)); in pool_init_objdir_feature_maps()
[all …]
/freebsd/usr.sbin/makefs/zfs/
H A Ddsl.c223 clones = objset_dnode_alloc(zfs->mos, DMU_OT_DSL_CLONES, &clonesid); in dsl_origindir_init()
224 zfs->cloneszap = zap_alloc(zfs->mos, clones); in dsl_origindir_init()
361 dnode = objset_dnode_bonus_alloc(zfs->mos, DMU_OT_DSL_DIR, in dsl_dir_alloc()
365 dnode = objset_dnode_alloc(zfs->mos, DMU_OT_DSL_PROPS, &propsid); in dsl_dir_alloc()
366 dir->propszap = zap_alloc(zfs->mos, dnode); in dsl_dir_alloc()
368 dnode = objset_dnode_alloc(zfs->mos, DMU_OT_DSL_DIR_CHILD_MAP, in dsl_dir_alloc()
370 dir->childzap = zap_alloc(zfs->mos, dnode); in dsl_dir_alloc()
510 snapnames = objset_dnode_alloc(zfs->mos, DMU_OT_DSL_DS_SNAP_MAP, in dsl_dir_finalize()
512 zap_write(zfs, zap_alloc(zfs->mos, snapnames)); in dsl_dir_finalize()
562 snapnames = objset_dnode_alloc(zfs->mos, DMU_OT_DSL_DS_SNAP_MAP, in dsl_write()
[all …]
H A Dvdev.c309 objarrloc = objset_space_alloc(zfs, zfs->mos, &objarrblksz); in vdev_spacemap_write()
312 objarr = objset_dnode_lookup(zfs->mos, zfs->objarrid); in vdev_spacemap_write()
327 sma[i].dnode = objset_dnode_bonus_alloc(zfs->mos, in vdev_spacemap_write()
330 sma[i].loc = objset_space_alloc(zfs, zfs->mos, &smblksz); in vdev_spacemap_write()
H A Dobjset.c173 if (os == zfs->mos) in objset_write()
181 if (os == zfs->mos) { in objset_write()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dbpobj.h75 uint64_t bpobj_alloc(objset_t *mos, int blocksize, dmu_tx_t *tx);
80 int bpobj_open(bpobj_t *bpo, objset_t *mos, uint64_t object);
/freebsd/sys/dev/usb/net/
H A Dif_mos.c145 static SYSCTL_NODE(_hw_usb, OID_AUTO, mos, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
246 DRIVER_MODULE(mos, uhub, mos_driver, NULL, NULL);
247 DRIVER_MODULE(miibus, mos, miibus_driver, 0, 0);
248 MODULE_DEPEND(mos, uether, 1, 1, 1);
249 MODULE_DEPEND(mos, usb, 1, 1, 1);
250 MODULE_DEPEND(mos, ether, 1, 1, 1);
251 MODULE_DEPEND(mos, miibus, 1, 1, 1);
/freebsd/sys/contrib/openzfs/cmd/
H A Dzhack.c292 objset_t *mos; in zhack_do_feature_enable() local
341 mos = spa->spa_meta_objset; in zhack_do_feature_enable()
346 if (0 == zap_contains(mos, spa->spa_feat_desc_obj, feature.fi_guid)) in zhack_do_feature_enable()
391 objset_t *mos; in zhack_do_feature_ref() local
435 mos = spa->spa_meta_objset; in zhack_do_feature_ref()
443 if (0 == zap_contains(mos, spa->spa_feat_for_read_obj, in zhack_do_feature_ref()
446 } else if (0 == zap_contains(mos, spa->spa_feat_for_write_obj, in zhack_do_feature_ref()

12