Lines Matching refs:mp

1104 throttle_info_mount_ref(mount_t mp, void *throttle_info)
1106 if ((throttle_info == NULL) || (mp == NULL))
1113 if (mp->mnt_throttle_info)
1114 throttle_info_rel(mp->mnt_throttle_info);
1115 mp->mnt_throttle_info = throttle_info;
1162 throttle_info_mount_rel(mount_t mp)
1164 if (mp->mnt_throttle_info)
1165 throttle_info_rel(mp->mnt_throttle_info);
1166 mp->mnt_throttle_info = NULL;
1170 throttle_info_get_last_io_time(mount_t mp, struct timeval *tv)
1174 if (mp == NULL)
1176 else if (mp->mnt_throttle_info == NULL)
1177 info = &_throttle_io_info[mp->mnt_devbsdunit];
1179 info = mp->mnt_throttle_info;
1185 update_last_io_time(mount_t mp)
1189 if (mp == NULL)
1191 else if (mp->mnt_throttle_info == NULL)
1192 info = &_throttle_io_info[mp->mnt_devbsdunit];
1194 info = mp->mnt_throttle_info;
1293 throttle_io_will_be_throttled(__unused int lowpri_window_msecs, mount_t mp)
1300 if (mp == NULL)
1302 else if (mp->mnt_throttle_info == NULL)
1303 info = &_throttle_io_info[mp->mnt_devbsdunit];
1305 info = mp->mnt_throttle_info;
1501 void throttle_info_update_by_mount(mount_t mp)
1512 if (mp != NULL) {
1513 if ((mp->mnt_kern_flag & MNTK_SSD) && !ignore_is_ssd)
1515 info = &_throttle_io_info[mp->mnt_devbsdunit];
1628 mount_t mp;
1638 mp = buf_vnode(bp)->v_mount;
1684 mp && (mp->mnt_kern_flag & MNTK_ROOTDEV))
1687 if (mp != NULL) {
1688 if ((mp->mnt_kern_flag & MNTK_SSD) && !ignore_is_ssd)
1690 throttle_info = &_throttle_io_info[mp->mnt_devbsdunit];
1699 if (mp) {
1700 INCR_PENDING_IO(buf_count(bp), mp->mnt_pending_write_size);
1702 } else if (mp) {
1703 INCR_PENDING_IO(buf_count(bp), mp->mnt_pending_read_size);