/titanic_50/usr/src/uts/common/syscall/ |
H A D | fcntl.c | 308 bf.l_type = obf.l_type; in fcntl() 326 bf.l_type = sbf.l_type; in fcntl() 340 bf.l_type = sbf32.l_type; in fcntl() 362 if (bf.l_type < F_RDLCK || bf.l_type > F_UNLCK) { in fcntl() 413 cmd == F_OFD_GETLK) && bf.l_type == F_UNLCK) { in fcntl() 415 if (copyout(&bf.l_type, &((struct flock *)arg)->l_type, in fcntl() 416 sizeof (bf.l_type))) in fcntl() 425 obf.l_type = (int16_t)bf.l_type; in fcntl() 464 sbf.l_type = bf.l_type; in fcntl() 483 sbf32.l_type = (int16_t)bf.l_type; in fcntl() [all …]
|
/titanic_50/usr/src/lib/libc/port/sys/ |
H A D | lockf.c | 60 l.l_type = F_UNLCK; in __lockf() 64 l.l_type = F_WRLCK; in __lockf() 68 l.l_type = F_WRLCK; in __lockf() 72 l.l_type = F_WRLCK; in __lockf() 75 if (l.l_type == F_UNLCK) in __lockf()
|
/titanic_50/usr/src/lib/libbc/libc/sys/common/ |
H A D | flock.c | 41 fl.l_type = 0; 43 fl.l_type |= F_UNLCK; 45 fl.l_type |= F_RDLCK; 47 fl.l_type |= F_WRLCK;
|
H A D | ftruncate.c | 39 short l_type; member 56 lck.l_type = F_WRLCK; /* setting a write lock */ in ftruncate()
|
/titanic_50/usr/src/ucblib/libucb/port/sys/ |
H A D | flock.c | 53 fl.l_type = 0; in flock() 63 fl.l_type |= F_UNLCK; in flock() 66 fl.l_type |= F_RDLCK; in flock() 69 fl.l_type |= F_WRLCK; in flock()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | fcntl.h | 236 short l_type; member 250 int16_t l_type; member 266 short l_type; member 284 int16_t l_type; member 300 int16_t l_type; member 316 int16_t l_type; member
|
H A D | flock_impl.h | 73 int l_type; /* type of lock */ member 298 (((lock1)->l_type == F_WRLCK) || \ 299 ((lock2)->l_type == F_WRLCK)) && \ 394 (lock1)->l_type = (lock2)->l_type; \
|
/titanic_50/usr/src/cmd/sendmail/libsmutil/ |
H A D | lockfile.c | 51 lfd.l_type = F_UNLCK; 53 lfd.l_type = F_WRLCK; 55 lfd.l_type = F_RDLCK;
|
/titanic_50/usr/src/lib/libdevinfo/ |
H A D | devinfo_dli.c | 88 di_dli_open(char *path, int oflag, short l_type, int flags) in di_dli_open() argument 119 lock.l_type = l_type; in di_dli_open() 155 lock.l_type = F_UNLCK; in di_dli_close()
|
/titanic_50/usr/src/ucbhead/sys/ |
H A D | fcntl.h | 152 short l_type; member 162 short l_type; member 175 short l_type; 186 short l_type;
|
/titanic_50/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | fcntl.c | 68 short l_type; member 144 nfl.l_type = savarg->l_type; 178 savarg->l_type = nfl.l_type;
|
/titanic_50/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | fcntl.c | 67 short l_type; member 139 nfl.l_type = savarg->l_type; 173 savarg->l_type = nfl.l_type;
|
/titanic_50/usr/src/lib/libbc/libc/compat/common/ |
H A D | lockf.c | 53 ld.l_type = F_WRLCK; /* lockf() only deals with exclusive locks */ in lockf() 66 if (ld.l_type == F_UNLCK) { in lockf() 82 ld.l_type = F_UNLCK; in lockf()
|
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | lock_file.c | 77 lock_arg.l_type = F_RDLCK; in krb5_lock_file() 83 lock_arg.l_type = F_WRLCK; in krb5_lock_file() 89 lock_arg.l_type = F_UNLCK; in krb5_lock_file()
|
/titanic_50/usr/src/lib/libnsl/common/ |
H A D | daemon_utils.c | 73 lock.l_type = F_WRLCK; in _check_daemon_lock() 84 return ((lock.l_type == F_UNLCK) ? 0 : 1); in _check_daemon_lock() 152 lock.l_type = F_WRLCK; in _enter_daemon_lock()
|
/titanic_50/usr/src/cmd/ypcmd/yppasswd/ |
H A D | yplckpwdf.c | 70 flock.l_type = F_WRLCK; in yplckpwdf() 89 flock.l_type = F_UNLCK; in ypulckpwdf()
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | flock.c | 44 l.l_type = F_UNLCK; in flock() 49 l.l_type = ((operation & ~LOCK_NB) == LOCK_EX) ? in flock()
|
H A D | lckpwdf.c | 80 flock.l_type = F_WRLCK; in lckpwdf() 114 flock.l_type = F_UNLCK; in ulckpwdf()
|
H A D | posix_fallocate.c | 68 lck.l_type = F_WRLCK; in posix_fallocate() 94 lck.l_type = F_WRLCK; in posix_fallocate64()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | flock.c | 329 ((lckdat->l_type == F_RDLCK && (flag & FREAD) == 0) || in ofdlock() 330 (lckdat->l_type == F_WRLCK && (flag & FWRITE) == 0))) in ofdlock() 336 if (lckdat->l_type == F_UNLCK || !(cmd & SETFLCK)) { in ofdlock() 375 lock_request->l_type = lckdat->l_type; in ofdlock() 380 if (lock_request->l_type == F_RDLCK || in ofdlock() 381 lock_request->l_type == F_WRLCK) in ofdlock() 390 if (fcmd != F_OFD_GETLK && lock_request->l_type != F_UNLCK && in ofdlock() 404 switch (lock_request->l_type) { in ofdlock() 548 ((lckdat->l_type == F_RDLCK && (flag & FREAD) == 0) || in reclock() 549 (lckdat->l_type == F_WRLCK && (flag & FWRITE) == 0))) in reclock() [all …]
|
/titanic_50/usr/src/lib/libunistat/common/ |
H A D | spcs_log.c | 76 lk.l_type = F_WRLCK; in spcs_log() 93 lk.l_type = F_UNLCK; in spcs_log()
|
/titanic_50/usr/src/lib/libbc/inc/include/sys/ |
H A D | fcntlcom.h | 159 short l_type; /* F_RDLCK, F_WRLCK, or F_UNLCK */ member 170 short l_type; /* F_RDLCK, F_WRLCK, or F_UNLCK */ member
|
/titanic_50/usr/src/cmd/prstat/ |
H A D | prstat.c | 382 ((list->l_type == LT_LWPS) || !(opts.o_outpmode & OPT_SPLIT))) in list_print() 388 switch (list->l_type) { in list_print() 441 switch (list->l_type) { in list_print() 458 if (list->l_type == LT_USERS) { in list_print() 463 } else if (list->l_type == LT_ZONES) { in list_print() 482 if (list->l_type == LT_PROJECTS) in list_print() 486 else if (list->l_type == LT_TASKS) in list_print() 490 else if (list->l_type == LT_ZONES) in list_print() 589 switch (list->l_type) { in list_print() 610 if ((opts.o_outpmode & OPT_SPLIT) && list->l_type == LT_LWPS) in list_print() [all …]
|
/titanic_50/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_lock.c | 292 if (lock->l_type == SMB_LOCK_TYPE_READONLY && !will_write) in smb_lock_range_access() 295 if (lock->l_type == SMB_LOCK_TYPE_READWRITE && in smb_lock_range_access() 555 if ((lock->l_type == SMB_LOCK_TYPE_READONLY) && in smb_lock_range_lckrules() 556 (dlock->l_type == SMB_LOCK_TYPE_READONLY)) { in smb_lock_range_lckrules() 564 if ((dlock->l_type == SMB_LOCK_TYPE_READONLY) && in smb_lock_range_lckrules() 565 !(lock->l_type == SMB_LOCK_TYPE_READONLY)) { in smb_lock_range_lckrules() 746 lock->l_type = locktype; in smb_lock_create()
|
/titanic_50/usr/src/lib/libdscfg/common/ |
H A D | cfg_lockdlck.c | 70 lk.l_type = F_WRLCK; in cfg_filelock() 91 lk.l_type = F_UNLCK; in cfg_fileunlock()
|