Lines Matching defs:vol
55 * @vol: ntfs volume on which to mark the quotas out of date
57 * Mark the quotas out of date on the ntfs volume @vol and return 0 on success
60 errno_t ntfs_quotas_mark_out_of_date(ntfs_volume *vol)
70 if (NVolQuotaOutOfDate(vol))
72 quota_ni = vol->quota_ni;
73 if (!quota_ni || !vol->quota_q_ni) {
74 ntfs_error(vol->mp, "Quota inodes are not open.");
77 err = vnode_get(vol->quota_q_ni->vn);
79 ntfs_error(vol->mp, "Failed to get index vnode for "
83 lck_rw_lock_exclusive(&vol->quota_q_ni->lock);
84 ictx = ntfs_index_ctx_get(vol->quota_q_ni);
86 ntfs_error(vol->mp, "Failed to get index context.");
93 ntfs_error(vol->mp, "Quota defaults entry is not "
96 ntfs_error(vol->mp, "Lookup of quota defaults entry "
103 ntfs_error(vol->mp, "Quota defaults entry size is invalid. "
110 ntfs_error(vol->mp, "Quota defaults entry version 0x%x is not "
142 lck_rw_unlock_exclusive(&vol->quota_q_ni->lock);
143 (void)vnode_put(vol->quota_q_ni->vn);
148 NVolSetQuotaOutOfDate(vol);
155 lck_rw_unlock_exclusive(&vol->quota_q_ni->lock);
156 (void)vnode_put(vol->quota_q_ni->vn);