tag | line | file | source code |
caller | 80 | fs/locks.c | static int flock_lock_file(struct file *filp, struct file_lock *caller, |
caller | 82 | fs/locks.c | static int posix_lock_file(struct file *filp, struct file_lock *caller, |
caller | 413 | fs/locks.c | static int flock_lock_file(struct file *filp, struct file_lock *caller, |
caller | 426 | fs/locks.c | if (caller->fl_file == fl->fl_file) { |
caller | 427 | fs/locks.c | if (caller->fl_type == fl->fl_type) |
caller | 438 | fs/locks.c | locks_delete_lock(before, caller->fl_type != F_UNLCK); |
caller | 439 | fs/locks.c | if (caller->fl_type == F_UNLCK) |
caller | 441 | fs/locks.c | if ((new_fl = locks_alloc_lock(caller)) == NULL) |
caller | 481 | fs/locks.c | static int posix_lock_file(struct file *filp, struct file_lock *caller, |
caller | 491 | fs/locks.c | if (caller->fl_type != F_UNLCK) { |
caller | 494 | fs/locks.c | if (!posix_locks_conflict(caller, fl)) |
caller | 500 | fs/locks.c | if (posix_locks_deadlock(caller->fl_owner, fl->fl_owner)) |
caller | 519 | fs/locks.c | (caller->fl_owner != fl->fl_owner))) |
caller | 524 | fs/locks.c | while ((fl = *before) && (caller->fl_owner == fl->fl_owner)) { |
caller | 527 | fs/locks.c | if (caller->fl_type == fl->fl_type) { |
caller | 528 | fs/locks.c | if (fl->fl_end < caller->fl_start - 1) |
caller | 533 | fs/locks.c | if (fl->fl_start > caller->fl_end + 1) |
caller | 541 | fs/locks.c | if (fl->fl_start > caller->fl_start) |
caller | 542 | fs/locks.c | fl->fl_start = caller->fl_start; |
caller | 544 | fs/locks.c | caller->fl_start = fl->fl_start; |
caller | 545 | fs/locks.c | if (fl->fl_end < caller->fl_end) |
caller | 546 | fs/locks.c | fl->fl_end = caller->fl_end; |
caller | 548 | fs/locks.c | caller->fl_end = fl->fl_end; |
caller | 553 | fs/locks.c | caller = fl; |
caller | 559 | fs/locks.c | if (fl->fl_end < caller->fl_start) |
caller | 561 | fs/locks.c | if (fl->fl_start > caller->fl_end) |
caller | 563 | fs/locks.c | if (caller->fl_type == F_UNLCK) |
caller | 565 | fs/locks.c | if (fl->fl_start < caller->fl_start) |
caller | 570 | fs/locks.c | if (fl->fl_end > caller->fl_end) { |
caller | 574 | fs/locks.c | if (fl->fl_start >= caller->fl_start) { |
caller | 587 | fs/locks.c | fl->fl_start = caller->fl_start; |
caller | 588 | fs/locks.c | fl->fl_end = caller->fl_end; |
caller | 589 | fs/locks.c | fl->fl_type = caller->fl_type; |
caller | 590 | fs/locks.c | caller = fl; |
caller | 600 | fs/locks.c | if (caller->fl_type == F_UNLCK) |
caller | 602 | fs/locks.c | if ((new_fl = locks_alloc_lock(caller)) == NULL) |
caller | 620 | fs/locks.c | right->fl_start = caller->fl_end + 1; |
caller | 623 | fs/locks.c | left->fl_end = caller->fl_start - 1; |
caller | 600 | mm/mmap.c | static void avl_check (struct task_struct * task, char *caller) |
caller | 602 | mm/mmap.c | avl_check_point = caller; |