Lines Matching refs:runlist
370 * The attribute runlist lock has separate locking rules from the
371 * normal runlist lock, so split the two lock-classes:
395 ntfs_init_runlist(&ni->runlist);
722 * Setup the runlist. No need for locking as we have
1897 /* Setup the runlist. */
2015 * the result into the existing runlist. No need for locking
2019 nrl = ntfs_mapping_pairs_decompress(vol, a, ni->runlist.rl);
2026 ni->runlist.rl = nrl;
2058 * We have got the first extent of the runlist for
2130 ntfs_error(sb, "Failed to load the complete runlist for "
2146 lockdep_set_class(&ni->runlist.lock, &mft_ni_runlist_lock_key);
2166 down_write(&ni->runlist.lock);
2167 if (ni->runlist.rl) {
2168 ntfs_free(ni->runlist.rl);
2169 ni->runlist.rl = NULL;
2171 up_write(&ni->runlist.lock);
2350 * Lock the runlist for writing and map the mft record to ensure it is
2351 * safe to mess with the attribute runlist and sizes.
2353 down_write(&ni->runlist.lock);
2525 up_write(&ni->runlist.lock);
2630 up_write(&ni->runlist.lock);
2655 /* Truncate the runlist. */
2656 err = ntfs_rl_truncate_nolock(vol, &ni->runlist,
2659 * If the runlist truncation failed and/or the search context is no
2668 "truncate attribute runlist",
2673 /* Get the size for the shrunk mapping pairs array for the runlist. */
2674 mp_size = ntfs_get_size_for_mapping_pairs(vol, ni->runlist.rl, 0, -1);
2698 mp_size, ni->runlist.rl, 0, -1, NULL);
2747 up_write(&ni->runlist.lock);
2788 up_write(&ni->runlist.lock);