Searched refs:BO_LOCKED (Results 1 – 2 of 2) sorted by relevance
28 #define BO_LOCKED 0x4000 macro113 if (submit->bos[i].flags & BO_LOCKED) { in submit_unlock_object()117 submit->bos[i].flags &= ~BO_LOCKED; in submit_unlock_object()135 if (!(submit->bos[i].flags & BO_LOCKED)) { in submit_lock_objects()142 submit->bos[i].flags |= BO_LOCKED; in submit_lock_objects()165 submit->bos[contended].flags |= BO_LOCKED; in submit_lock_objects()
26 #define BO_LOCKED 0x4000 /* obj lock is held */ macro250 if (flags & BO_LOCKED) in submit_cleanup_bo()258 submit_cleanup_bo(submit, i, BO_PINNED | BO_ACTIVE | BO_LOCKED); in submit_unlock_unpin_bo()278 if (!(submit->bos[i].flags & BO_LOCKED)) { in submit_lock_objects()283 submit->bos[i].flags |= BO_LOCKED; in submit_lock_objects()310 submit->bos[contended].flags |= BO_LOCKED; in submit_lock_objects()514 unsigned cleanup_flags = BO_LOCKED; in submit_cleanup()