Lines Matching defs:locked
1173 * Return 1 if the entire region is locked (if @locked is true) or unlocked (if
1174 * @locked is false); 0 otherwise
1177 u8 sr, bool locked)
1187 if (locked)
1188 /* Requested range is a sub-range of locked range */
1191 /* Requested range does not overlap with locked range */
1272 /* lock_len: length of region that should end up locked */
1333 /* If nothing in our range is locked, we don't need to do anything */
1337 /* If anything below us is locked, we can't use 'top' protection */
1341 /* If anything above us is locked, we can't use 'bottom' protection */
1352 /* lock_len: length of region that should remain locked */
1401 * Returns 1 if entire region is unlocked, 0 if any portion is locked, and
1647 * Returns EACCES (positive value) if region is (partially) locked, 0 if region