Home
last modified time | relevance | path

Searched refs:scn (Results 1 – 11 of 11) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Ddsl_scan.c531 scn->scn_issued_before_pass = scn->scn_phys.scn_examined; in dsl_scan_init()
565 bcopy(&scn->scn_phys, &scn->scn_phys_cached, sizeof (scn->scn_phys)); in dsl_scan_init()
687 bcopy(&scn->scn_phys, &scn->scn_phys_cached, in dsl_scan_sync_state()
727 bzero(&scn->scn_phys, sizeof (scn->scn_phys)); in dsl_scan_setup_sync()
803 bcopy(&scn->scn_phys, &scn->scn_phys_cached, sizeof (scn->scn_phys)); in dsl_scan_setup_sync()
1742 (void) arc_read(scn->scn_zio_root, scn->scn_dp->dp_spa, in dsl_scan_prefetch_thread()
2033 scn->scn_prefetch_bookmark = scn->scn_phys.scn_bookmark; in dsl_scan_visit_rootbp()
2580 scan_funcs[scn->scn_phys.scn_func](scn->scn_dp, &bp, &zb); in dsl_scan_ddt_entry()
2949 if (scn->scn_checkpointing || scn->scn_clearing) { in scan_io_queue_fetch_ext()
3549 if (!scn->scn_async_stalled && !dsl_scan_active(scn)) in dsl_scan_sync()
[all …]
H A Dspa_misc.c2536 if (scn == NULL || scn->scn_phys.scn_func == POOL_SCAN_NONE) in spa_scan_get_stats()
2541 ps->pss_func = scn->scn_phys.scn_func; in spa_scan_get_stats()
2542 ps->pss_state = scn->scn_phys.scn_state; in spa_scan_get_stats()
2543 ps->pss_start_time = scn->scn_phys.scn_start_time; in spa_scan_get_stats()
2544 ps->pss_end_time = scn->scn_phys.scn_end_time; in spa_scan_get_stats()
2545 ps->pss_to_examine = scn->scn_phys.scn_to_examine; in spa_scan_get_stats()
2546 ps->pss_examined = scn->scn_phys.scn_examined; in spa_scan_get_stats()
2547 ps->pss_to_process = scn->scn_phys.scn_to_process; in spa_scan_get_stats()
2548 ps->pss_processed = scn->scn_phys.scn_processed; in spa_scan_get_stats()
2549 ps->pss_errors = scn->scn_phys.scn_errors; in spa_scan_get_stats()
[all …]
H A Dddt.c1120 dsl_scan_t *scn = spa->spa_dsl_pool->dp_scan; in ddt_sync() local
1137 ASSERT3P(scn->scn_zio_root, ==, NULL); in ddt_sync()
1138 scn->scn_zio_root = rio; in ddt_sync()
1149 scn->scn_zio_root = NULL; in ddt_sync()
H A Dvdev.c2782 dsl_scan_t *scn = vd->vdev_spa->spa_dsl_pool->dp_scan; in vdev_dtl_should_excise() local
2783 dsl_scan_phys_t *scnp __maybe_unused = &scn->scn_phys; in vdev_dtl_should_excise()
2796 if (vdev_dtl_max(vd) <= scn->scn_phys.scn_max_txg) { in vdev_dtl_should_excise()
2829 dsl_scan_t *scn = spa->spa_dsl_pool->dp_scan; in vdev_dtl_reassess() local
2840 if (scn != NULL) in vdev_dtl_reassess()
2841 scn->scn_phys.scn_errors = 0; in vdev_dtl_reassess()
2855 (u_longlong_t)(scn ? scn->scn_phys.scn_errors : 0)); in vdev_dtl_reassess()
2869 (scn != NULL && scn->scn_phys.scn_errors == 0)) { in vdev_dtl_reassess()
4347 dsl_scan_t *scn = spa->spa_dsl_pool->dp_scan; in vdev_stat_update() local
4348 dsl_scan_phys_t *scn_phys = &scn->scn_phys; in vdev_stat_update()
H A Dvdev_mirror.c274 dsl_scan_t *scn = spa->spa_dsl_pool->dp_scan; in vdev_mirror_map_init() local
295 scn->scn_is_sorted) { in vdev_mirror_map_init()
H A Ddsl_destroy.c975 dsl_scan_t *scn = dp->dp_scan; in dsl_async_dataset_destroy() local
983 ASSERT(!scn->scn_async_destroying); in dsl_async_dataset_destroy()
984 scn->scn_async_destroying = B_TRUE; in dsl_async_dataset_destroy()
H A Dspa.c9605 dsl_scan_t *scn = spa->spa_dsl_pool->dp_scan; local
9607 is_scrub = (scn->scn_phys.scn_func == POOL_SCAN_SCRUB);
9608 scanning = (scn->scn_phys.scn_state == DSS_SCANNING);
9609 paused = dsl_scan_is_paused_scrub(scn);
/f-stack/dpdk/drivers/bus/fslmc/qbman/include/
H A Dfsl_qbman_portal.h224 struct scn { struct
231 } scn; member
749 uint8_t qbman_result_SCN_state(const struct qbman_result *scn);
757 uint32_t qbman_result_SCN_rid(const struct qbman_result *scn);
765 uint64_t qbman_result_SCN_ctx(const struct qbman_result *scn);
789 uint16_t qbman_result_bpscn_bpid(const struct qbman_result *scn);
807 int qbman_result_bpscn_is_depleted(const struct qbman_result *scn);
816 int qbman_result_bpscn_is_surplus(const struct qbman_result *scn);
824 uint64_t qbman_result_bpscn_ctx(const struct qbman_result *scn);
833 uint16_t qbman_result_cgcu_cgid(const struct qbman_result *scn);
[all …]
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Ddsl_scan.h178 void dsl_scan_ddt_entry(dsl_scan_t *scn, enum zio_checksum checksum,
184 boolean_t dsl_scan_active(dsl_scan_t *scn);
185 boolean_t dsl_scan_is_paused_scrub(const dsl_scan_t *scn);
/f-stack/dpdk/drivers/bus/fslmc/qbman/
H A Dqbman_portal.c2398 return scn->scn.state; in qbman_result_SCN_state()
2401 uint32_t qbman_result_SCN_rid(const struct qbman_result *scn) in qbman_result_SCN_rid() argument
2403 return scn->scn.rid_tok; in qbman_result_SCN_rid()
2408 return scn->scn.ctx; in qbman_result_SCN_ctx()
2416 return (uint16_t)qbman_result_SCN_rid(scn) & 0x3FFF; in qbman_result_bpscn_bpid()
2421 return !(int)(qbman_result_SCN_state(scn) & 0x1); in qbman_result_bpscn_has_free_bufs()
2426 return (int)(qbman_result_SCN_state(scn) & 0x2); in qbman_result_bpscn_is_depleted()
2431 return (int)(qbman_result_SCN_state(scn) & 0x4); in qbman_result_bpscn_is_surplus()
2436 return qbman_result_SCN_ctx(scn); in qbman_result_bpscn_ctx()
2444 return (uint16_t)qbman_result_SCN_rid(scn) & 0xFFFF; in qbman_result_cgcu_cgid()
[all …]
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vnops_os.c3444 struct componentname scn, tcn; in zfs_rename() local
3452 error = zfs_lookup_internal(sdzp, sname, &svp, &scn, DELETE); in zfs_rename()
3468 error = zfs_rename_(sdvp, &svp, &scn, tdvp, &tvp, &tcn, cr, 0); in zfs_rename()