Lines Matching refs:runlist

261 		 * determined from the runlist.  This would greatly reduce the
700 * cache, there is no need to check the runlist again. The
830 down_read(&ni->runlist.lock);
832 rl = ni->runlist.rl;
854 * runlist as the map cache will be used from
859 up_write(&ni->runlist.lock);
862 up_read(&ni->runlist.lock);
870 * If it is not a hole and not out of bounds, the runlist is
875 /* Attempt to map runlist. */
878 * We need the runlist locked for
884 up_read(&ni->runlist.lock);
885 down_write(&ni->runlist.lock);
960 * We need the runlist locked for writing, so if it is locked
966 up_read(&ni->runlist.lock);
967 down_write(&ni->runlist.lock);
975 while (--rl2 >= ni->runlist.rl) {
990 rl = ntfs_runlists_merge(ni->runlist.rl, rl2);
1005 ni->runlist.rl = rl;
1036 * Find the runlist element with which the attribute extent
1039 * runlist fragment must be mapped already to have ever gotten
1089 // the runlist as we are walking the extents...
1166 * runlist as the map cache will be used from now on.
1169 up_write(&ni->runlist.lock);
1178 /* If there are no errors, release the runlist lock if we took it. */
1181 up_write(&ni->runlist.lock);
1184 up_read(&ni->runlist.lock);
1253 * If the runlist has been modified, need to restore it by punching a
1255 * well. Note, we only modify the runlist if we are able to generate a
1261 /* Make the file cluster we allocated sparse in the runlist. */
1262 if (ntfs_rl_punch_nolock(vol, &ni->runlist, bh_cpos, 1)) {
1264 "attribute runlist in error code "
1273 * runlist.
1288 * pairs array. Note, we only can do this if the runlist has been
1303 mapping_pairs_offset), ni->runlist.rl,
1320 /* Release the runlist lock. */
1322 up_write(&ni->runlist.lock);
1324 up_read(&ni->runlist.lock);
1797 down_read(&ni->runlist.lock);
1800 up_read(&ni->runlist.lock);