Lines Matching defs:logrec

553 	nfslog_request_record *logrec,
561 nfslog_nfsreadargs *args = (nfslog_nfsreadargs *)logrec->re_rpc_arg;
563 nfslog_rdresult *res = (nfslog_rdresult *)logrec->re_rpc_res;
579 newte->starttime = logrec->re_header.rh_timestamp;
580 newte->lastupdate = logrec->re_header.rh_timestamp;
584 newte->pnb = netbufdup(&(logrec->re_ipaddr));
585 newte->uid = logrec->re_header.rh_uid;
587 newte->netid = strdup(logrec->re_netid);
588 if (logrec->re_principal_name)
589 newte->principal_name = strdup(logrec->re_principal_name);
605 logrec->re_header.rh_timestamp.tv_sec)
607 logrec->re_header.rh_timestamp;
623 nfslog_request_record *logrec,
631 nfslog_writeargs *args = (nfslog_writeargs *)logrec->re_rpc_arg;
633 nfslog_writeresult *res = (nfslog_writeresult *)logrec->re_rpc_res;
648 newte->starttime = logrec->re_header.rh_timestamp;
649 newte->lastupdate = logrec->re_header.rh_timestamp;
653 newte->pnb = netbufdup(&(logrec->re_ipaddr));
654 newte->uid = logrec->re_header.rh_uid;
656 newte->netid = strdup(logrec->re_netid);
657 if (logrec->re_principal_name)
658 newte->principal_name = strdup(logrec->re_principal_name);
683 logrec->re_header.rh_timestamp.tv_sec) {
685 logrec->re_header.rh_timestamp;
695 nfslog_request_record *logrec,
703 nfslog_setattrargs *args = (nfslog_setattrargs *)logrec->re_rpc_arg;
705 nfsstat *res = (nfsstat *)logrec->re_rpc_res;
730 newte->starttime = logrec->re_header.rh_timestamp;
731 newte->lastupdate = logrec->re_header.rh_timestamp;
735 newte->pnb = netbufdup(&(logrec->re_ipaddr));
736 newte->uid = logrec->re_header.rh_uid;
738 newte->netid = strdup(logrec->re_netid);
739 if (logrec->re_principal_name)
740 newte->principal_name = strdup(logrec->re_principal_name);
760 nfslog_request_record *logrec,
768 nfslog_createargs *args = (nfslog_createargs *)logrec->re_rpc_arg;
770 nfslog_diropres *res = (nfslog_diropres *)logrec->re_rpc_res;
787 newte->starttime = logrec->re_header.rh_timestamp;
788 newte->lastupdate = logrec->re_header.rh_timestamp;
792 newte->pnb = netbufdup(&(logrec->re_ipaddr));
793 newte->uid = logrec->re_header.rh_uid;
795 newte->netid = strdup(logrec->re_netid);
796 if (logrec->re_principal_name)
797 newte->principal_name = strdup(logrec->re_principal_name);
829 nfslog_request_record *logrec,
837 nfslog_diropargs *args = (nfslog_diropargs *)logrec->re_rpc_arg;
839 nfsstat *res = (nfsstat *)logrec->re_rpc_res;
856 newte->starttime = logrec->re_header.rh_timestamp;
857 newte->lastupdate = logrec->re_header.rh_timestamp;
861 newte->pnb = netbufdup(&(logrec->re_ipaddr));
862 newte->uid = logrec->re_header.rh_uid;
864 newte->netid = strdup(logrec->re_netid);
865 if (logrec->re_principal_name)
866 newte->principal_name = strdup(logrec->re_principal_name);
894 nfslog_request_record *logrec,
900 nfslog_createargs *args = (nfslog_createargs *)logrec->re_rpc_arg;
902 nfslog_diropres *res = (nfslog_diropres *)logrec->re_rpc_res;
920 newte->starttime = logrec->re_header.rh_timestamp;
921 newte->lastupdate = logrec->re_header.rh_timestamp;
925 newte->pnb = netbufdup(&(logrec->re_ipaddr));
926 newte->uid = logrec->re_header.rh_uid;
928 newte->netid = strdup(logrec->re_netid);
929 if (logrec->re_principal_name)
930 newte->principal_name = strdup(logrec->re_principal_name);
941 nfslog_request_record *logrec,
947 nfslog_diropargs *args = (nfslog_diropargs *)logrec->re_rpc_arg;
949 nfsstat *res = (nfsstat *)logrec->re_rpc_res;
966 newte->starttime = logrec->re_header.rh_timestamp;
967 newte->lastupdate = logrec->re_header.rh_timestamp;
971 newte->pnb = netbufdup(&(logrec->re_ipaddr));
972 newte->uid = logrec->re_header.rh_uid;
974 newte->netid = strdup(logrec->re_netid);
975 if (logrec->re_principal_name)
976 newte->principal_name = strdup(logrec->re_principal_name);
987 nfslog_request_record *logrec,
996 nfslog_rnmargs *args = (nfslog_rnmargs *)logrec->re_rpc_arg;
998 nfsstat *res = (nfsstat *)logrec->re_rpc_res;
1024 newte->starttime = logrec->re_header.rh_timestamp;
1025 newte->lastupdate = logrec->re_header.rh_timestamp;
1029 newte->pnb = netbufdup(&(logrec->re_ipaddr));
1030 newte->uid = logrec->re_header.rh_uid;
1032 newte->netid = strdup(logrec->re_netid);
1033 if (logrec->re_principal_name)
1034 newte->principal_name = strdup(logrec->re_principal_name);
1072 nfslog_request_record *logrec,
1079 nfslog_linkargs *args = (nfslog_linkargs *)logrec->re_rpc_arg;
1081 nfsstat *res = (nfsstat *)logrec->re_rpc_res;
1102 newte->starttime = logrec->re_header.rh_timestamp;
1103 newte->lastupdate = logrec->re_header.rh_timestamp;
1107 newte->pnb = netbufdup(&(logrec->re_ipaddr));
1108 newte->uid = logrec->re_header.rh_uid;
1110 newte->netid = strdup(logrec->re_netid);
1111 if (logrec->re_principal_name)
1112 newte->principal_name = strdup(logrec->re_principal_name);
1132 nfslog_request_record *logrec,
1138 nfslog_symlinkargs *args = (nfslog_symlinkargs *)logrec->re_rpc_arg;
1140 nfsstat *res = (nfsstat *)logrec->re_rpc_res;
1157 newte->starttime = logrec->re_header.rh_timestamp;
1158 newte->lastupdate = logrec->re_header.rh_timestamp;
1162 newte->pnb = netbufdup(&(logrec->re_ipaddr));
1163 newte->uid = logrec->re_header.rh_uid;
1165 newte->netid = strdup(logrec->re_netid);
1166 if (logrec->re_principal_name)
1167 newte->principal_name = strdup(logrec->re_principal_name);
1185 nfslog_request_record *logrec,
1193 nfslog_READ3args *args = (nfslog_READ3args *)logrec->re_rpc_arg;
1195 nfslog_READ3res *res = (nfslog_READ3res *)logrec->re_rpc_res;
1212 newte->starttime = logrec->re_header.rh_timestamp;
1213 newte->lastupdate = logrec->re_header.rh_timestamp;
1217 newte->pnb = netbufdup(&(logrec->re_ipaddr));
1218 newte->uid = logrec->re_header.rh_uid;
1220 newte->netid = strdup(logrec->re_netid);
1221 if (logrec->re_principal_name)
1222 newte->principal_name = strdup(logrec->re_principal_name);
1237 logrec->re_header.rh_timestamp.tv_sec)
1239 logrec->re_header.rh_timestamp;
1255 nfslog_request_record *logrec,
1263 nfslog_WRITE3args *args = (nfslog_WRITE3args *)logrec->re_rpc_arg;
1265 nfslog_WRITE3res *res = (nfslog_WRITE3res *)logrec->re_rpc_res;
1281 newte->starttime = logrec->re_header.rh_timestamp;
1282 newte->lastupdate = logrec->re_header.rh_timestamp;
1286 newte->pnb = netbufdup(&(logrec->re_ipaddr));
1287 newte->uid = logrec->re_header.rh_uid;
1289 newte->netid = strdup(logrec->re_netid);
1290 if (logrec->re_principal_name)
1291 newte->principal_name = strdup(logrec->re_principal_name);
1316 logrec->re_header.rh_timestamp.tv_sec) {
1318 logrec->re_header.rh_timestamp;
1328 nfslog_request_record *logrec,
1336 nfslog_SETATTR3args *args = (nfslog_SETATTR3args *)logrec->re_rpc_arg;
1338 nfsstat3 *res = (nfsstat3 *)logrec->re_rpc_res;
1364 newte->starttime = logrec->re_header.rh_timestamp;
1365 newte->lastupdate = logrec->re_header.rh_timestamp;
1369 newte->pnb = netbufdup(&(logrec->re_ipaddr));
1370 newte->uid = logrec->re_header.rh_uid;
1372 newte->netid = strdup(logrec->re_netid);
1373 if (logrec->re_principal_name)
1374 newte->principal_name = strdup(logrec->re_principal_name);
1394 nfslog_request_record *logrec,
1402 nfslog_CREATE3args *args = (nfslog_CREATE3args *)logrec->re_rpc_arg;
1404 nfslog_CREATE3res *res = (nfslog_CREATE3res *)logrec->re_rpc_res;
1421 newte->starttime = logrec->re_header.rh_timestamp;
1422 newte->lastupdate = logrec->re_header.rh_timestamp;
1426 newte->pnb = netbufdup(&(logrec->re_ipaddr));
1427 newte->uid = logrec->re_header.rh_uid;
1429 newte->netid = strdup(logrec->re_netid);
1430 if (logrec->re_principal_name)
1431 newte->principal_name = strdup(logrec->re_principal_name);
1459 nfslog_request_record *logrec,
1467 nfslog_REMOVE3args *args = (nfslog_REMOVE3args *)logrec->re_rpc_arg;
1469 nfsstat3 *res = (nfsstat3 *)logrec->re_rpc_res;
1486 newte->starttime = logrec->re_header.rh_timestamp;
1487 newte->lastupdate = logrec->re_header.rh_timestamp;
1491 newte->pnb = netbufdup(&(logrec->re_ipaddr));
1492 newte->uid = logrec->re_header.rh_uid;
1494 newte->netid = strdup(logrec->re_netid);
1495 if (logrec->re_principal_name)
1496 newte->principal_name = strdup(logrec->re_principal_name);
1524 nfslog_request_record *logrec,
1530 nfslog_MKDIR3args *args = (nfslog_MKDIR3args *)logrec->re_rpc_arg;
1532 nfslog_MKDIR3res *res = (nfslog_MKDIR3res *)logrec->re_rpc_res;
1549 newte->starttime = logrec->re_header.rh_timestamp;
1550 newte->lastupdate = logrec->re_header.rh_timestamp;
1554 newte->pnb = netbufdup(&(logrec->re_ipaddr));
1555 newte->uid = logrec->re_header.rh_uid;
1557 newte->netid = strdup(logrec->re_netid);
1558 if (logrec->re_principal_name)
1559 newte->principal_name = strdup(logrec->re_principal_name);
1570 nfslog_request_record *logrec,
1576 nfslog_RMDIR3args *args = (nfslog_RMDIR3args *)logrec->re_rpc_arg;
1578 nfsstat3 *res = (nfsstat3 *)logrec->re_rpc_res;
1595 newte->starttime = logrec->re_header.rh_timestamp;
1596 newte->lastupdate = logrec->re_header.rh_timestamp;
1600 newte->pnb = netbufdup(&(logrec->re_ipaddr));
1601 newte->uid = logrec->re_header.rh_uid;
1603 newte->netid = strdup(logrec->re_netid);
1604 if (logrec->re_principal_name)
1605 newte->principal_name = strdup(logrec->re_principal_name);
1616 nfslog_request_record *logrec,
1625 nfslog_RENAME3args *args = (nfslog_RENAME3args *)logrec->re_rpc_arg;
1627 nfsstat3 *res = (nfsstat3 *)logrec->re_rpc_res;
1647 newte->starttime = logrec->re_header.rh_timestamp;
1648 newte->lastupdate = logrec->re_header.rh_timestamp;
1652 newte->pnb = netbufdup(&(logrec->re_ipaddr));
1653 newte->uid = logrec->re_header.rh_uid;
1655 newte->netid = strdup(logrec->re_netid);
1656 if (logrec->re_principal_name)
1657 newte->principal_name = strdup(logrec->re_principal_name);
1695 nfslog_request_record *logrec,
1701 nfslog_MKNOD3args *args = (nfslog_MKNOD3args *)logrec->re_rpc_arg;
1703 nfslog_MKNOD3res *res = (nfslog_MKNOD3res *)logrec->re_rpc_res;
1720 newte->starttime = logrec->re_header.rh_timestamp;
1721 newte->lastupdate = logrec->re_header.rh_timestamp;
1725 newte->pnb = netbufdup(&(logrec->re_ipaddr));
1726 newte->uid = logrec->re_header.rh_uid;
1728 newte->netid = strdup(logrec->re_netid);
1729 if (logrec->re_principal_name)
1730 newte->principal_name = strdup(logrec->re_principal_name);
1742 nfslog_request_record *logrec,
1749 nfslog_LINK3args *args = (nfslog_LINK3args *)logrec->re_rpc_arg;
1751 nfsstat3 *res = (nfsstat3 *)logrec->re_rpc_res;
1771 newte->starttime = logrec->re_header.rh_timestamp;
1772 newte->lastupdate = logrec->re_header.rh_timestamp;
1776 newte->pnb = netbufdup(&(logrec->re_ipaddr));
1777 newte->uid = logrec->re_header.rh_uid;
1779 newte->netid = strdup(logrec->re_netid);
1780 if (logrec->re_principal_name)
1781 newte->principal_name = strdup(logrec->re_principal_name);
1801 nfslog_request_record *logrec,
1807 nfslog_SYMLINK3args *args = (nfslog_SYMLINK3args *)logrec->re_rpc_arg;
1809 nfslog_SYMLINK3res *res = (nfslog_SYMLINK3res *)logrec->re_rpc_res;
1825 newte->starttime = logrec->re_header.rh_timestamp;
1826 newte->lastupdate = logrec->re_header.rh_timestamp;
1830 newte->pnb = netbufdup(&(logrec->re_ipaddr));
1831 newte->uid = logrec->re_header.rh_uid;
1833 newte->netid = strdup(logrec->re_netid);
1834 if (logrec->re_principal_name)
1835 newte->principal_name = strdup(logrec->re_principal_name);
1857 nfslog_process_trans_rec(void *transcookie, nfslog_request_record *logrec,
1864 if (logrec->re_header.rh_prognum != NFS_PROGRAM)
1869 logrec->re_header.rh_timestamp.tv_sec)
1871 logrec->re_header.rh_timestamp;
1877 switch (logrec->re_header.rh_version) {
1879 switch (logrec->re_header.rh_procnum) {
1882 pte = trans_read(logrec, tf, fhpath, path1);
1886 pte = trans_write(logrec, tf, fhpath, path1);
1890 pte = trans_setattr(logrec, tf,
1895 pte = trans_remove(logrec, tf, fhpath, path1);
1899 pte = trans_mkdir(logrec, fhpath, path1);
1903 pte = trans_rmdir(logrec, fhpath, path1);
1907 pte = trans_create(logrec, tf, fhpath, path1);
1911 pte = trans_rename(logrec, tf,
1916 pte = trans_link(logrec, fhpath, path1, path2);
1920 pte = trans_symlink(logrec, fhpath, path1);
1927 switch (logrec->re_header.rh_procnum) {
1930 pte = trans_read3(logrec, tf, fhpath, path1);
1934 pte = trans_write3(logrec, tf, fhpath, path1);
1938 pte = trans_setattr3(logrec, tf,
1943 pte = trans_remove3(logrec, tf,
1948 pte = trans_mkdir3(logrec, fhpath, path1);
1952 pte = trans_rmdir3(logrec, fhpath, path1);
1956 pte = trans_create3(logrec, tf,
1961 pte = trans_rename3(logrec, tf,
1966 pte = trans_mknod3(logrec, fhpath, path1);
1970 pte = trans_link3(logrec,
1975 pte = trans_symlink3(logrec, fhpath, path1);