Lines Matching refs:oa_dst
2824 struct opaque_auth oa_src, oa_dst; in rpc_msg_dup() local
2839 oa_dst.oa_flavor = oa_src.oa_flavor; in rpc_msg_dup()
2840 oa_dst.oa_base = kmem_alloc(oa_src.oa_length, KM_SLEEP); in rpc_msg_dup()
2842 bcopy(oa_src.oa_base, oa_dst.oa_base, oa_src.oa_length); in rpc_msg_dup()
2843 oa_dst.oa_length = oa_src.oa_length; in rpc_msg_dup()
2845 dst->rm_call.cb_cred = oa_dst; in rpc_msg_dup()
2851 oa_dst.oa_flavor = oa_src.oa_flavor; in rpc_msg_dup()
2852 oa_dst.oa_base = kmem_alloc(oa_src.oa_length, KM_SLEEP); in rpc_msg_dup()
2854 bcopy(oa_src.oa_base, oa_dst.oa_base, oa_src.oa_length); in rpc_msg_dup()
2855 oa_dst.oa_length = oa_src.oa_length; in rpc_msg_dup()
2857 dst->rm_call.cb_verf = oa_dst; in rpc_msg_dup()
2859 oa_dst.oa_flavor = -1; /* will be set later */ in rpc_msg_dup()
2860 oa_dst.oa_base = kmem_alloc(MAX_AUTH_BYTES, KM_SLEEP); in rpc_msg_dup()
2862 oa_dst.oa_length = 0; /* will be set later */ in rpc_msg_dup()
2864 dst->rm_call.cb_verf = oa_dst; in rpc_msg_dup()