tag | line | file | source code |
caller | 29 | fs/locks.c | static int lock_it(struct file *filp, struct file_lock *caller, unsigned int fd); |
caller | 272 | fs/locks.c | static int lock_it(struct file *filp, struct file_lock *caller, unsigned int fd) |
caller | 286 | fs/locks.c | (caller->fl_owner != fl->fl_owner || |
caller | 287 | fs/locks.c | caller->fl_fd != fl->fl_fd)) |
caller | 295 | fs/locks.c | && caller->fl_owner == fl->fl_owner |
caller | 296 | fs/locks.c | && caller->fl_fd == fl->fl_fd) { |
caller | 300 | fs/locks.c | if (caller->fl_type == fl->fl_type) { |
caller | 301 | fs/locks.c | if (fl->fl_end < caller->fl_start - 1) |
caller | 307 | fs/locks.c | if (fl->fl_start > caller->fl_end + 1) |
caller | 316 | fs/locks.c | if (fl->fl_start > caller->fl_start) |
caller | 317 | fs/locks.c | fl->fl_start = caller->fl_start; |
caller | 319 | fs/locks.c | caller->fl_start = fl->fl_start; |
caller | 320 | fs/locks.c | if (fl->fl_end < caller->fl_end) |
caller | 321 | fs/locks.c | fl->fl_end = caller->fl_end; |
caller | 323 | fs/locks.c | caller->fl_end = fl->fl_end; |
caller | 328 | fs/locks.c | caller = fl; |
caller | 335 | fs/locks.c | if (fl->fl_end < caller->fl_start) |
caller | 337 | fs/locks.c | if (fl->fl_start > caller->fl_end) |
caller | 339 | fs/locks.c | if (caller->fl_type == F_UNLCK) |
caller | 341 | fs/locks.c | if (fl->fl_start < caller->fl_start) |
caller | 347 | fs/locks.c | if (fl->fl_end > caller->fl_end) { |
caller | 351 | fs/locks.c | if (fl->fl_start >= caller->fl_start) { |
caller | 366 | fs/locks.c | fl->fl_start = caller->fl_start; |
caller | 367 | fs/locks.c | fl->fl_end = caller->fl_end; |
caller | 368 | fs/locks.c | fl->fl_type = caller->fl_type; |
caller | 369 | fs/locks.c | caller = fl; |
caller | 380 | fs/locks.c | if (caller->fl_type == F_UNLCK) |
caller | 382 | fs/locks.c | if (! (caller = alloc_lock(before, caller, fd))) |
caller | 398 | fs/locks.c | right->fl_start = caller->fl_end + 1; |
caller | 401 | fs/locks.c | left->fl_end = caller->fl_start - 1; |