Lines Matching defs:fsp
309 hs_log_bogus_disk_warning(fsp, errtype, data)
310 struct hsfs *fsp;
315 if (fsp->hsfs_err_flags & (1 << errtype))
319 fsp->hsfs_fsmnt);
340 fsp->hsfs_err_flags |= (1 << errtype);
350 struct hsfs *fsp;
362 fsp = ksp->ks_private;
365 mutex_enter(&(fsp->hqueue->strategy_lock));
366 mutex_enter(&(fsp->hqueue->hsfs_queue_lock));
368 cache_read_pages = fsp->cache_read_pages;
370 physical_read_bytes = fsp->physical_read_bytes;
371 readahead_bytes = fsp->readahead_bytes;
372 coalesced_bytes = fsp->coalesced_bytes;
373 total_pages_requested = fsp->total_pages_requested;
375 mutex_exit(&(fsp->hqueue->strategy_lock));
376 mutex_exit(&(fsp->hqueue->hsfs_queue_lock));
394 hsfs_setup_named_kstats(struct hsfs *fsp, int fsid, char *name,
400 char *mntpt = fsp->hsfs_fsmnt;
410 ksp->ks_private = fsp;
428 hsfs_init_kstats(struct hsfs *fsp, int fsid)
430 fsp->hsfs_kstats = hsfs_setup_named_kstats(fsp, fsid, "hsfs_read_stats",
435 hsfs_fini_kstats(struct hsfs *fsp)
439 if (fsp->hsfs_kstats != NULL) {
440 data = fsp->hsfs_kstats->ks_data;
441 kstat_delete(fsp->hsfs_kstats);
445 fsp->hsfs_kstats = NULL;