Lines Matching refs:result

237 	int			result;
559 result = 0;
564 result = 1;
567 result = 1;
573 result = lock_release(fd, kFlag, oFlag, qFlag);
576 result = lock_status(fd, kFlag, oFlag, qFlag);
585 return (result);
623 FINDLOCK_T result;
650 result = _lock_acquire(a_theLock, *a_fd, a_key, a_object,
653 /* return result if any result other than object is locked */
655 switch (result) {
680 return (result);
798 FINDLOCK_T result;
807 result = _findLock(&theLock, &recordNum, a_fd, a_object, a_key);
810 result, recordNum);
814 switch (result) {
822 return (result);
831 return (result);
840 return (result);
849 return (result);
859 return (result);
874 result = FINDLOCK_ERROR;
878 return (result);
1000 FINDLOCK_T result;
1011 result = _findLock(a_theLock, &recordNum, a_fd, a_object,
1014 if (result != FINDLOCK_LOCKED) {
1024 /* debug info on result of find of lock */
1028 result, recordNum);
1032 switch (result) {
1072 result = FINDLOCK_LOCKACQUIRED;
1074 result = FINDLOCK_ERROR;
1092 result = FINDLOCK_LOCKACQUIRED;
1094 result = FINDLOCK_ERROR;
1122 result = FINDLOCK_LOCKED;
1133 result = FINDLOCK_LOCKACQUIRED;
1135 result = FINDLOCK_ERROR;
1143 result = FINDLOCK_ERROR;
1147 return (result);
1166 int result;
1241 result = lockf(fd, F_LOCK, 0xFFFFF);
1245 if (result == 0) {
1261 if (result < 0) {
1298 int result = 0;
1574 result = fnmatch(s1Buf, s2Buf, 0);
1575 if (result != 0) {
1576 result = fnmatch(s2Buf, s1Buf, 0);
1581 if (result != 0) {
1738 ssize_t result;
1778 result = pwrite(a_fd, &theLock, LOCK_SIZE, pos);
1779 if (result != LOCK_SIZE) {
1799 ssize_t result;
1820 result = pwrite(a_fd, pld, pls, pll->lockRecordNum*pls);
1821 if (result != pls) {
1914 ssize_t result;
1935 result = pwrite(a_fd, pld, pls, pll->lockRecordNum*pls);
1936 if (result != pls) {
2008 result = pread(a_fd, tmpLock._lrLockData, pls, lastRecord*pls);
2009 if (result != pls) {
2037 result = pwrite(a_fd, tmpLock._lrLockData, pls, pll->lockRecordNum*pls);
2038 if (result != pls) {