Lines Matching defs:res
2447 ACCESS4res *res = (ACCESS4res *)obj;
2451 strcpy(bp, status_name(res->status));
2452 if (res->status == NFS4_OK) {
2460 sum_access4(bp, blen, res->ACCESS4res_u.resok4.supported);
2468 sum_access4(bp, blen, res->ACCESS4res_u.resok4.access);
2475 ACCESS4res *res = (ACCESS4res *)obj;
2478 if (res->status == NFS4_OK) {
2480 res->ACCESS4res_u.resok4.supported);
2482 res->ACCESS4res_u.resok4.access);
2489 CLOSE4res *res = (CLOSE4res *)obj;
2491 if (res->status == NFS4_OK)
2493 sum_open_stateid(&res->CLOSE4res_u.open_stateid));
2499 CLOSE4res *res = (CLOSE4res *)obj;
2502 if (res->status == NFS4_OK) {
2503 detail_open_stateid(&res->CLOSE4res_u.open_stateid);
2510 COMMIT4res *res = (COMMIT4res *)obj;
2512 if (res->status == NFS4_OK)
2514 tohex(res->COMMIT4res_u.resok4.writeverf,
2521 COMMIT4res *res = (COMMIT4res *)obj;
2524 if (res->status == NFS4_OK) {
2526 tohex(res->COMMIT4res_u.resok4.writeverf,
2534 CREATE4res *res = (CREATE4res *)obj;
2537 if (res->status == NFS4_OK) {
2539 &res->CREATE4res_u.resok4.cinfo);
2540 detail_attr_bitmap("", &res->CREATE4res_u.resok4.attrset,
2548 GETATTR4res *res = (GETATTR4res *)obj;
2550 strncpy(buf, status_name(res->status), buflen);
2556 GETATTR4res *res = (GETATTR4res *)obj;
2559 if (res->status == NFS4_OK) {
2560 detail_fattr4(&res->GETATTR4res_u.resok4.obj_attributes);
2567 CB_GETATTR4res *res = (CB_GETATTR4res *)obj;
2569 strncpy(buf, status_name(res->status), buflen);
2575 CB_GETATTR4res *res = (CB_GETATTR4res *)obj;
2578 if (res->status == NFS4_OK) {
2579 detail_fattr4(&res->CB_GETATTR4res_u.resok4.obj_attributes);
2588 GETFH4res *res = (GETFH4res *)obj;
2590 strncpy(buf, status_name(res->status), buflen);
2591 if (res->status == NFS4_OK) {
2594 sum_fh4(&res->GETFH4res_u.resok4.object));
2601 GETFH4res *res = (GETFH4res *)obj;
2604 if (res->status == NFS4_OK) {
2605 detail_fh4(&res->GETFH4res_u.resok4.object);
2612 LINK4res *res = (LINK4res *)obj;
2615 if (res->status == NFS4_OK) {
2617 &res->LINK4res_u.resok4.cinfo);
2625 LOCK4res *res = (LOCK4res *)obj;
2627 strncpy(buf, status_name(res->status), buflen);
2628 if (res->status == NFS4_OK) {
2631 sum_lock_stateid(&res->LOCK4res_u.resok4.lock_stateid));
2633 if (res->status == NFS4ERR_DENIED) {
2636 sum_lock_denied(&res->LOCK4res_u.denied));
2643 LOCK4res *res = (LOCK4res *)obj;
2646 if (res->status == NFS4_OK) {
2647 detail_lock_stateid(&res->LOCK4res_u.resok4.lock_stateid);
2649 if (res->status == NFS4ERR_DENIED) {
2650 detail_lock_denied(&res->LOCK4res_u.denied);
2658 LOCKT4res *res = (LOCKT4res *)obj;
2660 strcpy(buf, status_name(res->status));
2661 if (res->status == NFS4ERR_DENIED) {
2664 sum_lock_denied(&res->LOCKT4res_u.denied));
2671 LOCKT4res *res = (LOCKT4res *)obj;
2674 if (res->status == NFS4ERR_DENIED) {
2675 detail_lock_denied(&res->LOCKT4res_u.denied);
2683 LOCKU4res *res = (LOCKU4res *)obj;
2685 strncpy(buf, status_name(res->status), buflen);
2687 if (res->status == NFS4_OK)
2689 sum_lock_stateid(&res->LOCKU4res_u.lock_stateid));
2695 LOCKU4res *res = (LOCKU4res *)obj;
2698 if (res->status == NFS4_OK)
2699 detail_lock_stateid(&res->LOCKU4res_u.lock_stateid);
2706 OPEN4res *res = (OPEN4res *)obj;
2710 strncpy(bp, status_name(res->status), blen);
2712 if (res->status == NFS4_OK) {
2717 sum_stateid(&res->OPEN4res_u.resok4.stateid));
2721 if ((rflags = res->OPEN4res_u.resok4.rflags) != 0) {
2727 sum_delegation(bp, blen, &res->OPEN4res_u.resok4.delegation);
2734 OPEN4res *res = (OPEN4res *)obj;
2737 if (res->status == NFS4_OK) {
2738 detail_stateid(&res->OPEN4res_u.resok4.stateid);
2740 &res->OPEN4res_u.resok4.cinfo);
2742 res->OPEN4res_u.resok4.rflags,
2743 detail_open_rflags(res->OPEN4res_u.resok4.rflags));
2744 detail_attr_bitmap("", &res->OPEN4res_u.resok4.attrset,
2746 detail_delegation(&res->OPEN4res_u.resok4.delegation);
2754 OPEN_CONFIRM4res *res = (OPEN_CONFIRM4res *)obj;
2756 strncpy(buf, status_name(res->status), buflen);
2757 if (res->status == NFS4_OK) {
2760 sum_open_stateid(&res->OPEN_CONFIRM4res_u.resok4.
2768 OPEN_CONFIRM4res *res = (OPEN_CONFIRM4res *)obj;
2771 if (res->status == NFS4_OK) {
2772 detail_open_stateid(&res->OPEN_CONFIRM4res_u.resok4.
2781 OPEN_DOWNGRADE4res *res = (OPEN_DOWNGRADE4res *)obj;
2783 strncpy(buf, status_name(res->status), buflen);
2784 if (res->status == NFS4_OK) {
2787 sum_open_stateid(&res->OPEN_DOWNGRADE4res_u.resok4.
2795 OPEN_DOWNGRADE4res *res = (OPEN_DOWNGRADE4res *)obj;
2798 if (res->status == NFS4_OK) {
2799 detail_open_stateid(&res->OPEN_DOWNGRADE4res_u.resok4.
2808 READ4res *res = (READ4res *)obj;
2810 strncpy(buf, status_name(res->status), buflen);
2811 if (res->status == NFS4_OK) {
2814 res->READ4res_u.resok4.data.data_len,
2815 res->READ4res_u.resok4.eof ? "EOF" : "");
2822 READ4res *res = (READ4res *)obj;
2825 if (res->status == NFS4_OK) {
2827 res->READ4res_u.resok4.data.data_len);
2829 res->READ4res_u.resok4.eof ? "TRUE" : "FALSE");
2837 READDIR4res *res = (READDIR4res *)obj;
2841 strncpy(buf, status_name(res->status), buflen);
2842 if (res->status == NFS4_OK) {
2843 for (ep = res->READDIR4res_u.resok4.reply.entries;
2850 res->READDIR4res_u.resok4.reply.eof
2858 READDIR4res *res = (READDIR4res *)obj;
2863 if (res->status == NFS4_OK) {
2864 for (ep = res->READDIR4res_u.resok4.reply.entries;
2880 res->READDIR4res_u.resok4.reply.eof ? "TRUE" : "FALSE");
2882 tohex(res->READDIR4res_u.resok4.cookieverf,
2891 READLINK4res *res = (READLINK4res *)obj;
2893 strncpy(buf, status_name(res->status), buflen);
2894 if (res->status == NFS4_OK) {
2897 linktext_name(&res->READLINK4res_u.resok4.link));
2904 READLINK4res *res = (READLINK4res *)obj;
2907 if (res->status == NFS4_OK) {
2909 linktext_name(&res->READLINK4res_u.resok4.link));
2916 REMOVE4res *res = (REMOVE4res *)obj;
2919 if (res->status == NFS4_OK) {
2921 &res->REMOVE4res_u.resok4.cinfo);
2928 RENAME4res *res = (RENAME4res *)obj;
2931 if (res->status == NFS4_OK) {
2933 &res->RENAME4res_u.resok4.source_cinfo);
2935 &res->RENAME4res_u.resok4.target_cinfo);
2943 SECINFO4res *res = (SECINFO4res *)obj;
2945 strncpy(buf, status_name(res->status), buflen);
2947 if (res->status == NFS4_OK) {
2948 uint_t numinfo = res->SECINFO4res_u.resok4.SECINFO4resok_len;
2951 for (infop = res->SECINFO4res_u.resok4.SECINFO4resok_val;
2964 SECINFO4res *res = (SECINFO4res *)obj;
2967 if (res->status == NFS4_OK) {
2969 res->SECINFO4res_u.resok4.SECINFO4resok_len;
2972 for (infop = res->SECINFO4res_u.resok4.SECINFO4resok_val;
2983 SETATTR4res *res = (SETATTR4res *)obj;
2985 strncpy(buf, status_name(res->status), buflen);
2986 sum_attr_bitmap(buf, buflen, &res->attrsset);
2992 SETATTR4res *res = (SETATTR4res *)obj;
2995 detail_attr_bitmap("", &res->attrsset, NULL);
3002 SETCLIENTID4res *res = (SETCLIENTID4res *)obj;
3004 strncpy(buf, status_name(res->status), buflen);
3005 switch (res->status) {
3009 sum_clientid(res->SETCLIENTID4res_u.resok4.clientid),
3010 tohex(res->SETCLIENTID4res_u.resok4.setclientid_confirm,
3016 res->SETCLIENTID4res_u.client_using.r_netid,
3017 res->SETCLIENTID4res_u.client_using.r_addr);
3025 SETCLIENTID4res *res = (SETCLIENTID4res *)obj;
3028 switch (res->status) {
3030 detail_clientid(res->SETCLIENTID4res_u.resok4.clientid);
3032 tohex(res->SETCLIENTID4res_u.resok4.setclientid_confirm,
3037 res->SETCLIENTID4res_u.client_using.r_netid);
3039 res->SETCLIENTID4res_u.client_using.r_addr);
3048 WRITE4res *res = (WRITE4res *)obj;
3050 strncpy(buf, status_name(res->status), buflen);
3051 if (res->status == NFS4_OK) {
3054 res->WRITE4res_u.resok4.count,
3055 stable_how4_name(res->WRITE4res_u.resok4.committed));
3062 WRITE4res *res = (WRITE4res *)obj;
3065 if (res->status == NFS4_OK) {
3067 res->WRITE4res_u.resok4.count);
3069 stable_how4_name(res->WRITE4res_u.resok4.committed));
3071 tohex(res->WRITE4res_u.resok4.writeverf,