tag | line | file | source code |
caller | 96 | fs/locks.c | static int flock_lock_file(struct file *filp, struct file_lock *caller, |
caller | 98 | fs/locks.c | static int posix_lock_file(struct file *filp, struct file_lock *caller, |
caller | 587 | fs/locks.c | static int flock_lock_file(struct file *filp, struct file_lock *caller, |
caller | 600 | fs/locks.c | if (caller->fl_file == fl->fl_file) { |
caller | 601 | fs/locks.c | if (caller->fl_type == fl->fl_type) |
caller | 612 | fs/locks.c | locks_delete_lock(before, caller->fl_type != F_UNLCK); |
caller | 613 | fs/locks.c | if (caller->fl_type == F_UNLCK) |
caller | 615 | fs/locks.c | if ((new_fl = locks_alloc_lock(caller)) == NULL) |
caller | 669 | fs/locks.c | static int posix_lock_file(struct file *filp, struct file_lock *caller, |
caller | 679 | fs/locks.c | if (caller->fl_type != F_UNLCK) { |
caller | 682 | fs/locks.c | if (!posix_locks_conflict(caller, fl)) |
caller | 688 | fs/locks.c | if (posix_locks_deadlock(caller->fl_owner, fl->fl_owner)) |
caller | 707 | fs/locks.c | (caller->fl_owner != fl->fl_owner))) { |
caller | 714 | fs/locks.c | while ((fl = *before) && (caller->fl_owner == fl->fl_owner)) { |
caller | 717 | fs/locks.c | if (caller->fl_type == fl->fl_type) { |
caller | 718 | fs/locks.c | if (fl->fl_end < caller->fl_start - 1) |
caller | 723 | fs/locks.c | if (fl->fl_start > caller->fl_end + 1) |
caller | 731 | fs/locks.c | if (fl->fl_start > caller->fl_start) |
caller | 732 | fs/locks.c | fl->fl_start = caller->fl_start; |
caller | 734 | fs/locks.c | caller->fl_start = fl->fl_start; |
caller | 735 | fs/locks.c | if (fl->fl_end < caller->fl_end) |
caller | 736 | fs/locks.c | fl->fl_end = caller->fl_end; |
caller | 738 | fs/locks.c | caller->fl_end = fl->fl_end; |
caller | 743 | fs/locks.c | caller = fl; |
caller | 750 | fs/locks.c | if (fl->fl_end < caller->fl_start) |
caller | 752 | fs/locks.c | if (fl->fl_start > caller->fl_end) |
caller | 754 | fs/locks.c | if (caller->fl_type == F_UNLCK) |
caller | 756 | fs/locks.c | if (fl->fl_start < caller->fl_start) |
caller | 761 | fs/locks.c | if (fl->fl_end > caller->fl_end) { |
caller | 765 | fs/locks.c | if (fl->fl_start >= caller->fl_start) { |
caller | 779 | fs/locks.c | fl->fl_start = caller->fl_start; |
caller | 780 | fs/locks.c | fl->fl_end = caller->fl_end; |
caller | 781 | fs/locks.c | fl->fl_type = caller->fl_type; |
caller | 782 | fs/locks.c | caller = fl; |
caller | 793 | fs/locks.c | if (caller->fl_type == F_UNLCK) |
caller | 795 | fs/locks.c | if ((new_fl = locks_alloc_lock(caller)) == NULL) |
caller | 813 | fs/locks.c | right->fl_start = caller->fl_end + 1; |
caller | 816 | fs/locks.c | left->fl_end = caller->fl_start - 1; |
caller | 569 | mm/mmap.c | static void avl_check (struct task_struct * task, char *caller) |
caller | 571 | mm/mmap.c | avl_check_point = caller; |