Lines Matching refs:debuglog
182 static void debuglog(char const *fmt, ...);
220 debuglog(char const *fmt, ...) in debuglog() function
249 debuglog("object is size 0\n"); in dump_static_object()
252 debuglog("Object of size %d being clamped" in dump_static_object()
259 debuglog("Hbuff not large enough." in dump_static_object()
271 debuglog("Cbuff not large enough." in dump_static_object()
298 debuglog("Null netobj pointer\n"); in dump_netobj()
301 debuglog("Size zero netobj\n"); in dump_netobj()
305 debuglog("netobj: len: %d data: %s ::: %s\n", in dump_netobj()
324 debuglog("Dumping file lock structure @ %p\n", fl); in dump_filelock()
330 debuglog("Filehandle: %8s ::: %8s\n", hbuff, cbuff); in dump_filelock()
333 debuglog("Dumping nlm4_holder:\n" in dump_filelock()
339 debuglog("Dumping client identity:\n"); in dump_filelock()
342 debuglog("Dumping client cookie:\n"); in dump_filelock()
345 debuglog("nsm: %d status: %d flags: %d svid: %x" in dump_filelock()
350 debuglog("NULL file lock structure\n"); in dump_filelock()
466 debuglog("Entering region overlap with vals: %llu:%llu--%llu:%llu\n", in regions_overlap()
472 debuglog("Exiting region overlap with val: %d\n",result); in regions_overlap()
659 debuglog("Entering netobj identity check\n"); in same_netobj()
662 debuglog("Preliminary length check passed\n"); in same_netobj()
664 debuglog("netobj %smatch\n", retval ? "" : "mis"); in same_netobj()
680 debuglog("Checking filelock identity\n"); in same_filelock_identity()
688 debuglog("Exiting checking filelock identity: retval: %d\n",retval); in same_filelock_identity()
708 debuglog("Entering get_lock_matching_unlock\n"); in get_lock_matching_unlock()
709 debuglog("********Dump of fl*****************\n"); in get_lock_matching_unlock()
713 debuglog("Pointer to file lock: %p\n",ifl); in get_lock_matching_unlock()
715 debuglog("****Dump of ifl****\n"); in get_lock_matching_unlock()
717 debuglog("*******************\n"); in get_lock_matching_unlock()
728 debuglog("get_lock_matching_unlock: Filehandles match, " in get_lock_matching_unlock()
736 debuglog("get_lock_matching_unlock: Region overlap" in get_lock_matching_unlock()
745 debuglog("get_lock_matching_unlock: Duplicate lock id. Granting\n"); in get_lock_matching_unlock()
749 debuglog("Exiting bet_lock_matching_unlock\n"); in get_lock_matching_unlock()
773 debuglog("Entering test_nfslock\n"); in test_nfslock()
778 debuglog("Entering lock search loop\n"); in test_nfslock()
780 debuglog("***********************************\n"); in test_nfslock()
781 debuglog("Dumping match filelock\n"); in test_nfslock()
782 debuglog("***********************************\n"); in test_nfslock()
784 debuglog("***********************************\n"); in test_nfslock()
790 debuglog("Top of lock loop\n"); in test_nfslock()
791 debuglog("Pointer to file lock: %p\n",ifl); in test_nfslock()
793 debuglog("***********************************\n"); in test_nfslock()
794 debuglog("Dumping test filelock\n"); in test_nfslock()
795 debuglog("***********************************\n"); in test_nfslock()
797 debuglog("***********************************\n"); in test_nfslock()
808 debuglog("test_nfslock: filehandle match found\n"); in test_nfslock()
815 debuglog("test_nfslock: Region overlap found" in test_nfslock()
824 debuglog("test_nfslock: Exclusivity failure: %d %d\n", in test_nfslock()
829 debuglog("test_nfslock: Duplicate id. Granting\n"); in test_nfslock()
834 debuglog("test_nfslock: Lock attempt failed\n"); in test_nfslock()
835 debuglog("Desired lock\n"); in test_nfslock()
837 debuglog("Conflicting lock\n"); in test_nfslock()
844 debuglog("Dumping file locks\n"); in test_nfslock()
845 debuglog("Exiting test_nfslock\n"); in test_nfslock()
876 debuglog("Entering lock_nfslock...\n"); in lock_nfslock()
881 debuglog("Inserting lock...\n"); in lock_nfslock()
886 debuglog("Exiting lock_nfslock...\n"); in lock_nfslock()
926 debuglog("Unable to allocate resource for split 1\n"); in split_nfslock()
940 debuglog("Unable to allocate resource for split 1\n"); in split_nfslock()
965 debuglog("Entering unlock_nfslock\n"); in unlock_nfslock()
973 debuglog("Attempting to match lock...\n"); in unlock_nfslock()
977 debuglog("Unlock matched. Querying for split\n"); in unlock_nfslock()
981 debuglog("Split returned %d %p %p %p %p\n",spstatus,mfl,fl,*left_lock,*right_lock); in unlock_nfslock()
982 debuglog("********Split dumps********"); in unlock_nfslock()
987 debuglog("********End Split dumps********"); in unlock_nfslock()
1005 debuglog("Split left activated\n"); in unlock_nfslock()
1010 debuglog("Split right activated\n"); in unlock_nfslock()
1020 debuglog("Exiting unlock_nfslock\n"); in unlock_nfslock()
1057 debuglog("hwlock resource allocation failure\n"); in lock_hwlock()
1064 debuglog("fhopen failed (from %16s): %32s\n", in lock_hwlock()
1088 debuglog("flock failed (from %16s): %32s\n", in lock_hwlock()
1108 debuglog("flock succeeded (from %16s)\n", fl->client_name); in lock_hwlock()
1117 debuglog("Entering unlock_hwlock\n"); in unlock_hwlock()
1118 debuglog("Entering loop interation\n"); in unlock_hwlock()
1129 debuglog("Completed iteration. Proceeding\n"); in unlock_hwlock()
1133 debuglog("Exiting unlock_hwlock (HW_DENIED_NOLOCK)\n"); in unlock_hwlock()
1141 debuglog("Negative hardware reference count\n"); in unlock_hwlock()
1149 debuglog("Exiting unlock_hwlock (HW_GRANTED)\n"); in unlock_hwlock()
1179 debuglog("Entering duplicate_block"); in duplicate_block()
1198 debuglog("Exiting duplicate_block: %s\n", retval ? "already blocked" in duplicate_block()
1206 debuglog("Entering add_blockingfilelock\n"); in add_blockingfilelock()
1216 debuglog("Exiting add_blockingfilelock: already blocked\n"); in add_blockingfilelock()
1228 debuglog("Exiting add_blockingfilelock: added blocked lock\n"); in add_blockingfilelock()
1235 debuglog("Entering remove_blockingfilelock\n"); in remove_blockingfilelock()
1239 debuglog("Exiting remove_blockingfilelock\n"); in remove_blockingfilelock()
1275 debuglog("Entering retry_blockingfilelocklist\n"); in retry_blockingfilelocklist()
1278 debuglog("Iterator choice %p\n",ifl); in retry_blockingfilelocklist()
1279 debuglog("Next iterator choice %p\n",nfl); in retry_blockingfilelocklist()
1292 debuglog("Granted blocked lock\n"); in retry_blockingfilelocklist()
1297 debuglog("Replacing blocked lock\n"); in retry_blockingfilelocklist()
1302 debuglog("Exiting retry_blockingfilelocklist\n"); in retry_blockingfilelocklist()
1344 debuglog("Entering lock_partialfilelock\n"); in lock_partialfilelock()
1367 debuglog("HW GRANTED\n"); in lock_partialfilelock()
1381 debuglog("HW RESERR\n"); in lock_partialfilelock()
1385 debuglog("HW DENIED\n"); in lock_partialfilelock()
1389 debuglog("Unmatched hwstatus %d\n",hwstatus); in lock_partialfilelock()
1396 debuglog("Deleting trial NFS lock\n"); in lock_partialfilelock()
1407 debuglog("Unmatched lnlstatus %d\n"); in lock_partialfilelock()
1423 debuglog("BLOCKING LOCK RECEIVED\n"); in lock_partialfilelock()
1429 debuglog("BLOCKING LOCK DENIED IN HARDWARE\n"); in lock_partialfilelock()
1434 debuglog("Lock denied. Non-blocking failure\n"); in lock_partialfilelock()
1439 debuglog("Exiting lock_partialfilelock\n"); in lock_partialfilelock()
1461 debuglog("Entering unlock_partialfilelock\n"); in unlock_partialfilelock()
1492 debuglog("Value of releasedfl: %p\n",releasedfl); in unlock_partialfilelock()
1495 debuglog("Value of releasedfl: %p\n",releasedfl); in unlock_partialfilelock()
1503 debuglog("HW duplicate lock failure for left split\n"); in unlock_partialfilelock()
1512 debuglog("HW duplicate lock failure for right split\n"); in unlock_partialfilelock()
1520 debuglog("NFS unlock granted. Attempting hardware unlock\n"); in unlock_partialfilelock()
1524 debuglog("HW unlock returned with code %d\n",unlhwstatus); in unlock_partialfilelock()
1528 debuglog("HW unlock granted\n"); in unlock_partialfilelock()
1534 debuglog("HW unlock denied no lock\n"); in unlock_partialfilelock()
1540 debuglog("HW unlock failed\n"); in unlock_partialfilelock()
1547 debuglog("Exiting with status retval: %d\n",retval); in unlock_partialfilelock()
1553 debuglog("All locks cleaned out\n"); in unlock_partialfilelock()
1557 debuglog("NFS unlock failure\n"); in unlock_partialfilelock()
1569 debuglog("Attempt to unlock self\n"); in unlock_partialfilelock()
1591 debuglog("WARNING! Destroying incoming lock pointer\n"); in unlock_partialfilelock()
1595 debuglog("Exiting unlock_partialfilelock\n"); in unlock_partialfilelock()
1651 debuglog("Entering testpartialfilelock...\n"); in test_partialfilelock()
1656 debuglog("test_partialfilelock: teststatus %d\n",teststatus); in test_partialfilelock()
1662 debuglog("Dumping locks...\n"); in test_partialfilelock()
1665 debuglog("Done dumping locks...\n"); in test_partialfilelock()
1668 debuglog("NFS test denied.\n"); in test_partialfilelock()
1670 debuglog("Conflicting.\n"); in test_partialfilelock()
1674 debuglog("Exiting testpartialfilelock...\n"); in test_partialfilelock()
1695 debuglog("Entering do_test...\n"); in do_test()
1701 debuglog("PFL test lock granted\n"); in do_test()
1707 debuglog("PFL test lock granted--duplicate id detected\n"); in do_test()
1710 debuglog("Clearing conflicting_fl for call semantics\n"); in do_test()
1716 debuglog("PFL test lock denied\n"); in do_test()
1723 debuglog("PFL test lock resource fail\n"); in do_test()
1729 debuglog("PFL test lock *FAILED*\n"); in do_test()
1736 debuglog("Exiting do_test...\n"); in do_test()
1754 debuglog("Entering do_lock...\n"); in do_lock()
1760 debuglog("PFL lock granted"); in do_lock()
1765 debuglog("PFL lock granted--duplicate id detected"); in do_lock()
1771 debuglog("PFL_NFS lock denied"); in do_lock()
1777 debuglog("PFL_NFS blocking lock denied. Queued.\n"); in do_lock()
1783 debuglog("PFL lock resource alocation fail\n"); in do_lock()
1788 debuglog("PFL lock *FAILED*"); in do_lock()
1794 debuglog("Exiting do_lock...\n"); in do_lock()
1805 debuglog("Entering do_unlock...\n"); in do_unlock()
1810 debuglog("PFL unlock granted"); in do_unlock()
1816 debuglog("PFL_NFS unlock denied"); in do_unlock()
1822 debuglog("PFL_NFS no lock found\n"); in do_unlock()
1827 debuglog("PFL unlock resource failure"); in do_unlock()
1832 debuglog("PFL unlock *FAILED*"); in do_unlock()
1838 debuglog("Exiting do_unlock...\n"); in do_unlock()
1884 debuglog("No conflicting lock found\n"); in testlock()
1888 debuglog("Found conflicting lock\n"); in testlock()
1909 debuglog("Entering getlock...\n"); in getlock()
1926 debuglog("received fhandle size %d, local size %d", in getlock()
1941 debuglog("Pointer to new lock is %p\n",newfl); in getlock()
1945 debuglog("Pointer to new lock is %p\n",newfl); in getlock()
1963 debuglog("Exiting getlock...\n"); in getlock()
1978 debuglog("Entering unlock...\n"); in unlock()
1989 debuglog("Exiting unlock...\n"); in unlock()
2032 debuglog("Unable to allocate entry for statd mon\n"); in monitor_lock_host()
2040 debuglog("Locally Monitoring host %16s\n",hostname); in monitor_lock_host()
2042 debuglog("Attempting to tell statd\n"); in monitor_lock_host()
2058 debuglog("Statd call failed\n"); in monitor_lock_host()
2064 debuglog("Rpc call to statd failed with return value: %d\n", in monitor_lock_host()
2101 debuglog("Could not find host %16s in mon list\n", hostname); in unmonitor_lock_host()
2109 debuglog("Negative refcount!: %d\n", in unmonitor_lock_host()
2113 debuglog("Attempting to unmonitor host %16s\n", hostname); in unmonitor_lock_host()
2128 debuglog("Rpc call to unmonitor statd failed with " in unmonitor_lock_host()
2155 debuglog("notify from %s, new state %d", hostname, state); in notify()
2161 debuglog("Leaving notify\n"); in notify()
2174 debuglog("About to send granted on blocked lock\n"); in send_granted()
2202 debuglog("sending v4 reply%s", in send_granted()
2225 debuglog("sending v1 reply%s", in send_granted()
2238 debuglog("clnt_call returns %d(%s) for granted", in send_granted()