Lines Matching refs:flc_type
93 return fl->c.flc_type;
216 flc->flc_type, flc->flc_pid);
249 flc->flc_type, flc->flc_pid);
402 new->c.flc_type = fl->c.flc_type;
473 fl->c.flc_type = type;
483 flc->flc_type = type;
889 if (sys_flc->flc_type == F_WRLCK)
891 if (caller_flc->flc_type == F_WRLCK)
962 fl->c.flc_type = F_UNLCK;
984 fl->c.flc_type = F_UNLCK;
1083 ctx = locks_get_lock_context(inode, request->c.flc_type);
1085 if (request->c.flc_type != F_UNLCK)
1090 if (!(request->c.flc_flags & FL_ACCESS) && (request->c.flc_type != F_UNLCK)) {
1104 if (request->c.flc_type == fl->c.flc_type)
1161 ctx = locks_get_lock_context(inode, request->c.flc_type);
1172 (request->c.flc_type != F_UNLCK ||
1186 if (request->c.flc_type != F_UNLCK) {
1244 if (request->c.flc_type == fl->c.flc_type) {
1667 if (flc && flc->flc_type == F_WRLCK)
2166 error = security_file_lock(fd_file(f), fl.c.flc_type);
2254 flock->l_type = fl->c.flc_type;
2266 flock->l_type = fl->c.flc_type;
2303 flock->l_type = fl->c.flc_type;
2304 if (fl->c.flc_type != F_UNLCK) {
2364 error = security_file_lock(filp, fl->c.flc_type);
2386 switch (fl->c.flc_type) {
2455 if (!error && file_lock->c.flc_type != F_UNLCK &&
2512 flock->l_type = fl->c.flc_type;
2513 if (fl->c.flc_type != F_UNLCK)
2577 if (!error && file_lock->c.flc_type != F_UNLCK &&
2621 lock.c.flc_type = F_UNLCK;
2763 int type = flc->flc_type;