Lines Matching defs:fsp
138 static void hsched_enqueue_io(struct hsfs *fsp, struct hio *hsio, int ra);
139 int hsched_invoke_strategy(struct hsfs *fsp);
256 struct hsfs *fsp;
259 fsp = VFS_TO_HSFS(vp->v_vfsp);
288 (hp->hs_dirent.xar_len << fsp->hsfs_vol.lbn_shift), DEV_BSIZE);
318 struct hsfs *fsp;
323 fsp = VFS_TO_HSFS(vp->v_vfsp);
330 rw_enter(&fsp->hsfs_hash_lock, RW_WRITER);
343 rw_exit(&fsp->hsfs_hash_lock);
362 hs_freenode(vp, fsp, nopage);
367 rw_exit(&fsp->hsfs_hash_lock);
407 struct hsfs *fsp;
428 fsp = VFS_TO_HSFS(vp->v_vfsp);
440 dname_size = fsp->hsfs_namemax + 1; /* 1 for the ending NUL */
479 hs_log_bogus_disk_warning(fsp,
491 if (!hs_parsedir(fsp, &blkp[rel_offset(offset)],
522 (fsp->hsfs_flags & HSFSMNT_INODE) == 0) {
674 if (hsched_invoke_strategy(info->fsp)) {
712 caddr_t addr, struct hsnode *hp, struct hsfs *fsp, int xarsiz,
743 ASSERT(fsp->hqueue != NULL);
749 devvp = fsp->hsfs_devvp;
750 secsize = fsp->hsfs_vol.lbn_size; /* bytes per logical block */
941 hsched_enqueue_io(fsp, hsio, 1);
957 info->fsp = fsp;
960 (void) taskq_dispatch(fsp->hqueue->ra_task,
996 struct hsfs *fsp;
1039 fsp = VFS_TO_HSFS(vp->v_vfsp);
1040 devvp = fsp->hsfs_devvp;
1041 secsize = fsp->hsfs_vol.lbn_size; /* bytes per logical block */
1050 xarsiz = hp->hs_dirent.xar_len << fsp->hsfs_vol.lbn_shift;
1104 atomic_inc_64(&fsp->total_pages_requested);
1177 if (fsp->hqueue != NULL)
1292 if (fsp->hqueue == NULL) {
1321 hsched_enqueue_io(fsp, hsio, 0);
1333 if (fsp->hqueue == NULL) {
1360 if (hsched_invoke_strategy(fsp)) {
1412 atomic_inc_64(&fsp->cache_read_pages);
1442 if (fsp->hqueue != NULL &&
1448 addr + PAGESIZE, hp, fsp, xarsiz, bof,
1469 struct hsfs *fsp;
1472 fsp = VFS_TO_HSFS(vp->v_vfsp);
1498 if (fsp->hqueue != NULL) {
1518 fsp->hqueue->max_ra_bytes) {
1838 hsched_init(struct hsfs *fsp, int fsid, struct modlinkage *modlinkage)
1840 struct hsfs_queue *hqueue = fsp->hqueue;
1841 struct vnode *vp = fsp->hsfs_devvp;
1964 hsched_invoke_strategy(struct hsfs *fsp)
1975 hqueue = fsp->hqueue;
2096 fsp->coalesced_bytes += bsize;
2219 hsched_enqueue_io(struct hsfs *fsp, struct hio *hsio, int ra)
2221 struct hsfs_queue *hqueue = fsp->hqueue;
2225 fsp->physical_read_bytes += hsio->bp->b_bcount;
2227 fsp->readahead_bytes += hsio->bp->b_bcount;
2243 struct hsfs *fsp;
2250 fsp = VFS_TO_HSFS(vp->v_vfsp);
2251 *valp = fsp->hsfs_namemax;