Lines Matching defs:granted
225 * lock that prevents the lock from being granted and also to each
1145 * unblocked are added to 'granted'
1149 struct lockf_entry_list *granted)
1162 LIST_INSERT_HEAD(granted, deplock, lf_link);
1170 * adding any newly woken locks to 'granted'.
1174 struct lockf_entry_list *granted)
1181 lf_update_dependancies(state, lock, FALSE, granted);
1186 * adding any newly woken locks to 'granted'.
1190 struct lockf_entry_list *granted)
1195 lf_update_dependancies(state, lock, FALSE, granted);
1206 * activate the newly granted locks by looping.
1217 struct lockf_entry_list granted;
1220 LIST_INIT(&granted);
1221 LIST_INSERT_HEAD(&granted, lock, lf_link);
1223 while (!LIST_EMPTY(&granted)) {
1224 lock = LIST_FIRST(&granted);
1263 &granted);
1271 lf_split(state, overlap, lock, &granted);
1282 &granted);
1293 &granted);
1303 &granted);
1329 struct lockf_entry_list granted;
1360 LIST_INIT(&granted);
1361 lf_update_dependancies(state, lock, TRUE, &granted);
1367 while (!LIST_EMPTY(&granted)) {
1368 lock = LIST_FIRST(&granted);
1512 lf_print("lf_setlock: granted", lock);
1806 * 'granted'
1810 struct lockf_entry *lock2, struct lockf_entry_list *granted)
1824 lf_set_start(state, lock1, lock2->lf_end + 1, granted);
1828 lf_set_end(state, lock1, lock2->lf_start - 1, granted);
1853 lf_set_end(state, lock1, lock2->lf_start - 1, granted);