Lines Matching refs:scan_data
415 struct scan_dquots_data *scan_data = cb_data; in scan_dquots_callback() local
416 dict_t *quota_dict = scan_data->quota_dict; in scan_dquots_callback()
426 scan_data->usage_is_inconsistent = 1; in scan_dquots_callback()
435 if (scan_data->update_limits) { in scan_dquots_callback()
442 if (scan_data->update_usage) { in scan_dquots_callback()
456 struct scan_dquots_data scan_data; in quota_read_all_dquots() local
458 scan_data.quota_dict = qctx->quota_dict[qh->qh_type]; in quota_read_all_dquots()
459 scan_data.update_limits = update_limits; in quota_read_all_dquots()
460 scan_data.update_usage = 0; in quota_read_all_dquots()
462 return qh->qh_ops->scan_dquots(qh, scan_dquots_callback, &scan_data); in quota_read_all_dquots()
532 struct scan_dquots_data scan_data; in quota_compare_and_update() local
547 scan_data.quota_dict = qctx->quota_dict[qtype]; in quota_compare_and_update()
548 scan_data.update_limits = 1; in quota_compare_and_update()
549 scan_data.update_usage = 0; in quota_compare_and_update()
550 scan_data.usage_is_inconsistent = 0; in quota_compare_and_update()
551 err = qh.qh_ops->scan_dquots(&qh, scan_dquots_callback, &scan_data); in quota_compare_and_update()
556 *usage_inconsistent = scan_data.usage_is_inconsistent; in quota_compare_and_update()