Lines Matching refs:logrec

551 	nfslog_request_record *logrec,  in trans_read()  argument
559 nfslog_nfsreadargs *args = (nfslog_nfsreadargs *)logrec->re_rpc_arg; in trans_read()
561 nfslog_rdresult *res = (nfslog_rdresult *)logrec->re_rpc_res; in trans_read()
577 newte->starttime = logrec->re_header.rh_timestamp; in trans_read()
578 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_read()
582 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_read()
583 newte->uid = logrec->re_header.rh_uid; in trans_read()
585 newte->netid = strdup(logrec->re_netid); in trans_read()
586 if (logrec->re_principal_name) in trans_read()
587 newte->principal_name = strdup(logrec->re_principal_name); in trans_read()
603 logrec->re_header.rh_timestamp.tv_sec) in trans_read()
605 logrec->re_header.rh_timestamp; in trans_read()
621 nfslog_request_record *logrec, in trans_write() argument
629 nfslog_writeargs *args = (nfslog_writeargs *)logrec->re_rpc_arg; in trans_write()
631 nfslog_writeresult *res = (nfslog_writeresult *)logrec->re_rpc_res; in trans_write()
646 newte->starttime = logrec->re_header.rh_timestamp; in trans_write()
647 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_write()
651 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_write()
652 newte->uid = logrec->re_header.rh_uid; in trans_write()
654 newte->netid = strdup(logrec->re_netid); in trans_write()
655 if (logrec->re_principal_name) in trans_write()
656 newte->principal_name = strdup(logrec->re_principal_name); in trans_write()
681 logrec->re_header.rh_timestamp.tv_sec) { in trans_write()
683 logrec->re_header.rh_timestamp; in trans_write()
693 nfslog_request_record *logrec, in trans_setattr() argument
701 nfslog_setattrargs *args = (nfslog_setattrargs *)logrec->re_rpc_arg; in trans_setattr()
703 nfsstat *res = (nfsstat *)logrec->re_rpc_res; in trans_setattr()
728 newte->starttime = logrec->re_header.rh_timestamp; in trans_setattr()
729 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_setattr()
733 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_setattr()
734 newte->uid = logrec->re_header.rh_uid; in trans_setattr()
736 newte->netid = strdup(logrec->re_netid); in trans_setattr()
737 if (logrec->re_principal_name) in trans_setattr()
738 newte->principal_name = strdup(logrec->re_principal_name); in trans_setattr()
758 nfslog_request_record *logrec, in trans_create() argument
766 nfslog_createargs *args = (nfslog_createargs *)logrec->re_rpc_arg; in trans_create()
768 nfslog_diropres *res = (nfslog_diropres *)logrec->re_rpc_res; in trans_create()
785 newte->starttime = logrec->re_header.rh_timestamp; in trans_create()
786 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_create()
790 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_create()
791 newte->uid = logrec->re_header.rh_uid; in trans_create()
793 newte->netid = strdup(logrec->re_netid); in trans_create()
794 if (logrec->re_principal_name) in trans_create()
795 newte->principal_name = strdup(logrec->re_principal_name); in trans_create()
827 nfslog_request_record *logrec, in trans_remove() argument
835 nfslog_diropargs *args = (nfslog_diropargs *)logrec->re_rpc_arg; in trans_remove()
837 nfsstat *res = (nfsstat *)logrec->re_rpc_res; in trans_remove()
854 newte->starttime = logrec->re_header.rh_timestamp; in trans_remove()
855 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_remove()
859 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_remove()
860 newte->uid = logrec->re_header.rh_uid; in trans_remove()
862 newte->netid = strdup(logrec->re_netid); in trans_remove()
863 if (logrec->re_principal_name) in trans_remove()
864 newte->principal_name = strdup(logrec->re_principal_name); in trans_remove()
892 nfslog_request_record *logrec, in trans_mkdir() argument
898 nfslog_createargs *args = (nfslog_createargs *)logrec->re_rpc_arg; in trans_mkdir()
900 nfslog_diropres *res = (nfslog_diropres *)logrec->re_rpc_res; in trans_mkdir()
918 newte->starttime = logrec->re_header.rh_timestamp; in trans_mkdir()
919 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_mkdir()
923 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_mkdir()
924 newte->uid = logrec->re_header.rh_uid; in trans_mkdir()
926 newte->netid = strdup(logrec->re_netid); in trans_mkdir()
927 if (logrec->re_principal_name) in trans_mkdir()
928 newte->principal_name = strdup(logrec->re_principal_name); in trans_mkdir()
939 nfslog_request_record *logrec, in trans_rmdir() argument
945 nfslog_diropargs *args = (nfslog_diropargs *)logrec->re_rpc_arg; in trans_rmdir()
947 nfsstat *res = (nfsstat *)logrec->re_rpc_res; in trans_rmdir()
964 newte->starttime = logrec->re_header.rh_timestamp; in trans_rmdir()
965 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_rmdir()
969 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_rmdir()
970 newte->uid = logrec->re_header.rh_uid; in trans_rmdir()
972 newte->netid = strdup(logrec->re_netid); in trans_rmdir()
973 if (logrec->re_principal_name) in trans_rmdir()
974 newte->principal_name = strdup(logrec->re_principal_name); in trans_rmdir()
985 nfslog_request_record *logrec, in trans_rename() argument
994 nfslog_rnmargs *args = (nfslog_rnmargs *)logrec->re_rpc_arg; in trans_rename()
996 nfsstat *res = (nfsstat *)logrec->re_rpc_res; in trans_rename()
1022 newte->starttime = logrec->re_header.rh_timestamp; in trans_rename()
1023 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_rename()
1027 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_rename()
1028 newte->uid = logrec->re_header.rh_uid; in trans_rename()
1030 newte->netid = strdup(logrec->re_netid); in trans_rename()
1031 if (logrec->re_principal_name) in trans_rename()
1032 newte->principal_name = strdup(logrec->re_principal_name); in trans_rename()
1070 nfslog_request_record *logrec, in trans_link() argument
1077 nfslog_linkargs *args = (nfslog_linkargs *)logrec->re_rpc_arg; in trans_link()
1079 nfsstat *res = (nfsstat *)logrec->re_rpc_res; in trans_link()
1100 newte->starttime = logrec->re_header.rh_timestamp; in trans_link()
1101 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_link()
1105 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_link()
1106 newte->uid = logrec->re_header.rh_uid; in trans_link()
1108 newte->netid = strdup(logrec->re_netid); in trans_link()
1109 if (logrec->re_principal_name) in trans_link()
1110 newte->principal_name = strdup(logrec->re_principal_name); in trans_link()
1130 nfslog_request_record *logrec, in trans_symlink() argument
1136 nfslog_symlinkargs *args = (nfslog_symlinkargs *)logrec->re_rpc_arg; in trans_symlink()
1138 nfsstat *res = (nfsstat *)logrec->re_rpc_res; in trans_symlink()
1155 newte->starttime = logrec->re_header.rh_timestamp; in trans_symlink()
1156 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_symlink()
1160 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_symlink()
1161 newte->uid = logrec->re_header.rh_uid; in trans_symlink()
1163 newte->netid = strdup(logrec->re_netid); in trans_symlink()
1164 if (logrec->re_principal_name) in trans_symlink()
1165 newte->principal_name = strdup(logrec->re_principal_name); in trans_symlink()
1183 nfslog_request_record *logrec, in trans_read3() argument
1191 nfslog_READ3args *args = (nfslog_READ3args *)logrec->re_rpc_arg; in trans_read3()
1193 nfslog_READ3res *res = (nfslog_READ3res *)logrec->re_rpc_res; in trans_read3()
1210 newte->starttime = logrec->re_header.rh_timestamp; in trans_read3()
1211 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_read3()
1215 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_read3()
1216 newte->uid = logrec->re_header.rh_uid; in trans_read3()
1218 newte->netid = strdup(logrec->re_netid); in trans_read3()
1219 if (logrec->re_principal_name) in trans_read3()
1220 newte->principal_name = strdup(logrec->re_principal_name); in trans_read3()
1235 logrec->re_header.rh_timestamp.tv_sec) in trans_read3()
1237 logrec->re_header.rh_timestamp; in trans_read3()
1253 nfslog_request_record *logrec, in trans_write3() argument
1261 nfslog_WRITE3args *args = (nfslog_WRITE3args *)logrec->re_rpc_arg; in trans_write3()
1263 nfslog_WRITE3res *res = (nfslog_WRITE3res *)logrec->re_rpc_res; in trans_write3()
1279 newte->starttime = logrec->re_header.rh_timestamp; in trans_write3()
1280 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_write3()
1284 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_write3()
1285 newte->uid = logrec->re_header.rh_uid; in trans_write3()
1287 newte->netid = strdup(logrec->re_netid); in trans_write3()
1288 if (logrec->re_principal_name) in trans_write3()
1289 newte->principal_name = strdup(logrec->re_principal_name); in trans_write3()
1314 logrec->re_header.rh_timestamp.tv_sec) { in trans_write3()
1316 logrec->re_header.rh_timestamp; in trans_write3()
1326 nfslog_request_record *logrec, in trans_setattr3() argument
1334 nfslog_SETATTR3args *args = (nfslog_SETATTR3args *)logrec->re_rpc_arg; in trans_setattr3()
1336 nfsstat3 *res = (nfsstat3 *)logrec->re_rpc_res; in trans_setattr3()
1362 newte->starttime = logrec->re_header.rh_timestamp; in trans_setattr3()
1363 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_setattr3()
1367 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_setattr3()
1368 newte->uid = logrec->re_header.rh_uid; in trans_setattr3()
1370 newte->netid = strdup(logrec->re_netid); in trans_setattr3()
1371 if (logrec->re_principal_name) in trans_setattr3()
1372 newte->principal_name = strdup(logrec->re_principal_name); in trans_setattr3()
1392 nfslog_request_record *logrec, in trans_create3() argument
1400 nfslog_CREATE3args *args = (nfslog_CREATE3args *)logrec->re_rpc_arg; in trans_create3()
1402 nfslog_CREATE3res *res = (nfslog_CREATE3res *)logrec->re_rpc_res; in trans_create3()
1419 newte->starttime = logrec->re_header.rh_timestamp; in trans_create3()
1420 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_create3()
1424 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_create3()
1425 newte->uid = logrec->re_header.rh_uid; in trans_create3()
1427 newte->netid = strdup(logrec->re_netid); in trans_create3()
1428 if (logrec->re_principal_name) in trans_create3()
1429 newte->principal_name = strdup(logrec->re_principal_name); in trans_create3()
1457 nfslog_request_record *logrec, in trans_remove3() argument
1465 nfslog_REMOVE3args *args = (nfslog_REMOVE3args *)logrec->re_rpc_arg; in trans_remove3()
1467 nfsstat3 *res = (nfsstat3 *)logrec->re_rpc_res; in trans_remove3()
1484 newte->starttime = logrec->re_header.rh_timestamp; in trans_remove3()
1485 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_remove3()
1489 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_remove3()
1490 newte->uid = logrec->re_header.rh_uid; in trans_remove3()
1492 newte->netid = strdup(logrec->re_netid); in trans_remove3()
1493 if (logrec->re_principal_name) in trans_remove3()
1494 newte->principal_name = strdup(logrec->re_principal_name); in trans_remove3()
1522 nfslog_request_record *logrec, in trans_mkdir3() argument
1528 nfslog_MKDIR3args *args = (nfslog_MKDIR3args *)logrec->re_rpc_arg; in trans_mkdir3()
1530 nfslog_MKDIR3res *res = (nfslog_MKDIR3res *)logrec->re_rpc_res; in trans_mkdir3()
1547 newte->starttime = logrec->re_header.rh_timestamp; in trans_mkdir3()
1548 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_mkdir3()
1552 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_mkdir3()
1553 newte->uid = logrec->re_header.rh_uid; in trans_mkdir3()
1555 newte->netid = strdup(logrec->re_netid); in trans_mkdir3()
1556 if (logrec->re_principal_name) in trans_mkdir3()
1557 newte->principal_name = strdup(logrec->re_principal_name); in trans_mkdir3()
1568 nfslog_request_record *logrec, in trans_rmdir3() argument
1574 nfslog_RMDIR3args *args = (nfslog_RMDIR3args *)logrec->re_rpc_arg; in trans_rmdir3()
1576 nfsstat3 *res = (nfsstat3 *)logrec->re_rpc_res; in trans_rmdir3()
1593 newte->starttime = logrec->re_header.rh_timestamp; in trans_rmdir3()
1594 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_rmdir3()
1598 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_rmdir3()
1599 newte->uid = logrec->re_header.rh_uid; in trans_rmdir3()
1601 newte->netid = strdup(logrec->re_netid); in trans_rmdir3()
1602 if (logrec->re_principal_name) in trans_rmdir3()
1603 newte->principal_name = strdup(logrec->re_principal_name); in trans_rmdir3()
1614 nfslog_request_record *logrec, in trans_rename3() argument
1623 nfslog_RENAME3args *args = (nfslog_RENAME3args *)logrec->re_rpc_arg; in trans_rename3()
1625 nfsstat3 *res = (nfsstat3 *)logrec->re_rpc_res; in trans_rename3()
1645 newte->starttime = logrec->re_header.rh_timestamp; in trans_rename3()
1646 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_rename3()
1650 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_rename3()
1651 newte->uid = logrec->re_header.rh_uid; in trans_rename3()
1653 newte->netid = strdup(logrec->re_netid); in trans_rename3()
1654 if (logrec->re_principal_name) in trans_rename3()
1655 newte->principal_name = strdup(logrec->re_principal_name); in trans_rename3()
1693 nfslog_request_record *logrec, in trans_mknod3() argument
1699 nfslog_MKNOD3args *args = (nfslog_MKNOD3args *)logrec->re_rpc_arg; in trans_mknod3()
1701 nfslog_MKNOD3res *res = (nfslog_MKNOD3res *)logrec->re_rpc_res; in trans_mknod3()
1718 newte->starttime = logrec->re_header.rh_timestamp; in trans_mknod3()
1719 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_mknod3()
1723 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_mknod3()
1724 newte->uid = logrec->re_header.rh_uid; in trans_mknod3()
1726 newte->netid = strdup(logrec->re_netid); in trans_mknod3()
1727 if (logrec->re_principal_name) in trans_mknod3()
1728 newte->principal_name = strdup(logrec->re_principal_name); in trans_mknod3()
1740 nfslog_request_record *logrec, in trans_link3() argument
1747 nfslog_LINK3args *args = (nfslog_LINK3args *)logrec->re_rpc_arg; in trans_link3()
1749 nfsstat3 *res = (nfsstat3 *)logrec->re_rpc_res; in trans_link3()
1769 newte->starttime = logrec->re_header.rh_timestamp; in trans_link3()
1770 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_link3()
1774 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_link3()
1775 newte->uid = logrec->re_header.rh_uid; in trans_link3()
1777 newte->netid = strdup(logrec->re_netid); in trans_link3()
1778 if (logrec->re_principal_name) in trans_link3()
1779 newte->principal_name = strdup(logrec->re_principal_name); in trans_link3()
1799 nfslog_request_record *logrec, in trans_symlink3() argument
1805 nfslog_SYMLINK3args *args = (nfslog_SYMLINK3args *)logrec->re_rpc_arg; in trans_symlink3()
1807 nfslog_SYMLINK3res *res = (nfslog_SYMLINK3res *)logrec->re_rpc_res; in trans_symlink3()
1823 newte->starttime = logrec->re_header.rh_timestamp; in trans_symlink3()
1824 newte->lastupdate = logrec->re_header.rh_timestamp; in trans_symlink3()
1828 newte->pnb = netbufdup(&(logrec->re_ipaddr)); in trans_symlink3()
1829 newte->uid = logrec->re_header.rh_uid; in trans_symlink3()
1831 newte->netid = strdup(logrec->re_netid); in trans_symlink3()
1832 if (logrec->re_principal_name) in trans_symlink3()
1833 newte->principal_name = strdup(logrec->re_principal_name); in trans_symlink3()
1855 nfslog_process_trans_rec(void *transcookie, nfslog_request_record *logrec, in nfslog_process_trans_rec() argument
1862 if (logrec->re_header.rh_prognum != NFS_PROGRAM) in nfslog_process_trans_rec()
1867 logrec->re_header.rh_timestamp.tv_sec) in nfslog_process_trans_rec()
1869 logrec->re_header.rh_timestamp; in nfslog_process_trans_rec()
1875 switch (logrec->re_header.rh_version) { in nfslog_process_trans_rec()
1877 switch (logrec->re_header.rh_procnum) { in nfslog_process_trans_rec()
1880 pte = trans_read(logrec, tf, fhpath, path1); in nfslog_process_trans_rec()
1884 pte = trans_write(logrec, tf, fhpath, path1); in nfslog_process_trans_rec()
1888 pte = trans_setattr(logrec, tf, in nfslog_process_trans_rec()
1893 pte = trans_remove(logrec, tf, fhpath, path1); in nfslog_process_trans_rec()
1897 pte = trans_mkdir(logrec, fhpath, path1); in nfslog_process_trans_rec()
1901 pte = trans_rmdir(logrec, fhpath, path1); in nfslog_process_trans_rec()
1905 pte = trans_create(logrec, tf, fhpath, path1); in nfslog_process_trans_rec()
1909 pte = trans_rename(logrec, tf, in nfslog_process_trans_rec()
1914 pte = trans_link(logrec, fhpath, path1, path2); in nfslog_process_trans_rec()
1918 pte = trans_symlink(logrec, fhpath, path1); in nfslog_process_trans_rec()
1925 switch (logrec->re_header.rh_procnum) { in nfslog_process_trans_rec()
1928 pte = trans_read3(logrec, tf, fhpath, path1); in nfslog_process_trans_rec()
1932 pte = trans_write3(logrec, tf, fhpath, path1); in nfslog_process_trans_rec()
1936 pte = trans_setattr3(logrec, tf, in nfslog_process_trans_rec()
1941 pte = trans_remove3(logrec, tf, in nfslog_process_trans_rec()
1946 pte = trans_mkdir3(logrec, fhpath, path1); in nfslog_process_trans_rec()
1950 pte = trans_rmdir3(logrec, fhpath, path1); in nfslog_process_trans_rec()
1954 pte = trans_create3(logrec, tf, in nfslog_process_trans_rec()
1959 pte = trans_rename3(logrec, tf, in nfslog_process_trans_rec()
1964 pte = trans_mknod3(logrec, fhpath, path1); in nfslog_process_trans_rec()
1968 pte = trans_link3(logrec, in nfslog_process_trans_rec()
1973 pte = trans_symlink3(logrec, fhpath, path1); in nfslog_process_trans_rec()