tag | line | file | source code |
caller | 37 | fs/locks.c | static int lock_it(struct file *filp, struct file_lock *caller, unsigned int fd); |
caller | 296 | fs/locks.c | static int lock_it(struct file *filp, struct file_lock *caller, unsigned int fd) |
caller | 310 | fs/locks.c | (caller->fl_owner != fl->fl_owner || |
caller | 311 | fs/locks.c | caller->fl_fd != fl->fl_fd)) |
caller | 319 | fs/locks.c | && caller->fl_owner == fl->fl_owner |
caller | 320 | fs/locks.c | && caller->fl_fd == fl->fl_fd) { |
caller | 324 | fs/locks.c | if (caller->fl_type == fl->fl_type) { |
caller | 325 | fs/locks.c | if (fl->fl_end < caller->fl_start - 1) |
caller | 331 | fs/locks.c | if (fl->fl_start > caller->fl_end + 1) |
caller | 340 | fs/locks.c | if (fl->fl_start > caller->fl_start) |
caller | 341 | fs/locks.c | fl->fl_start = caller->fl_start; |
caller | 343 | fs/locks.c | caller->fl_start = fl->fl_start; |
caller | 344 | fs/locks.c | if (fl->fl_end < caller->fl_end) |
caller | 345 | fs/locks.c | fl->fl_end = caller->fl_end; |
caller | 347 | fs/locks.c | caller->fl_end = fl->fl_end; |
caller | 352 | fs/locks.c | caller = fl; |
caller | 359 | fs/locks.c | if (fl->fl_end < caller->fl_start) |
caller | 361 | fs/locks.c | if (fl->fl_start > caller->fl_end) |
caller | 363 | fs/locks.c | if (caller->fl_type == F_UNLCK) |
caller | 365 | fs/locks.c | if (fl->fl_start < caller->fl_start) |
caller | 371 | fs/locks.c | if (fl->fl_end > caller->fl_end) { |
caller | 375 | fs/locks.c | if (fl->fl_start >= caller->fl_start) { |
caller | 390 | fs/locks.c | fl->fl_start = caller->fl_start; |
caller | 391 | fs/locks.c | fl->fl_end = caller->fl_end; |
caller | 392 | fs/locks.c | fl->fl_type = caller->fl_type; |
caller | 393 | fs/locks.c | caller = fl; |
caller | 404 | fs/locks.c | if (caller->fl_type == F_UNLCK) { |
caller | 420 | fs/locks.c | if (! (caller = alloc_lock(before, caller, fd))) |
caller | 436 | fs/locks.c | right->fl_start = caller->fl_end + 1; |
caller | 439 | fs/locks.c | left->fl_end = caller->fl_start - 1; |