Home
last modified time | relevance | path

Searched refs:xdrs (Results 1 – 25 of 174) sorted by relevance

1234567

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dnfs4_xdr.c430 if (!xdr_bool(xdrs, objp)) in xdr_fattr4_link_support()
439 if (!xdr_bool(xdrs, objp)) in xdr_fattr4_symlink_support()
448 if (!xdr_bool(xdrs, objp)) in xdr_fattr4_named_attr()
466 if (!xdr_bool(xdrs, objp)) in xdr_fattr4_unique_handles()
513 if (!xdr_bool(xdrs, objp)) in xdr_fattr4_archive()
522 if (!xdr_bool(xdrs, objp)) in xdr_fattr4_cansettime()
531 if (!xdr_bool(xdrs, objp)) in xdr_fattr4_case_insensitive()
540 if (!xdr_bool(xdrs, objp)) in xdr_fattr4_case_preserving()
549 if (!xdr_bool(xdrs, objp)) in xdr_fattr4_chown_restricted()
612 if (!xdr_bool(xdrs, objp)) in xdr_fattr4_hidden()
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_log_xdr.c113 register XDR *xdrs; in xdr_nfslog_nfsreadargs()
125 register XDR *xdrs; in xdr_nfslog_buffer_header()
146 XDR *xdrs, in xdr_nfslog_request_record() argument
162 if (xdrs->x_op != XDR_ENCODE) in xdr_nfslog_request_record()
168 if (!xdr_u_int(xdrs, &reclen)) in xdr_nfslog_request_record()
179 if (!xdr_u_int(xdrs, &flavor)) in xdr_nfslog_request_record()
189 if (!xdr_uid_t(xdrs, &ruid)) in xdr_nfslog_request_record()
192 if (!xdr_gid_t(xdrs, &rgid)) in xdr_nfslog_request_record()
214 if (xdrs->x_op != XDR_ENCODE) in xdr_nfslog_sharefsargs()
501 if (!xdr_set_size3(xdrs, in xdr_nfslog_createhow3()
[all …]
H A Dnfs_acl_xdr.c57 xdr_uid(XDR *xdrs, uid32_t *objp) in xdr_uid() argument
59 if (!xdr_u_int(xdrs, objp)) in xdr_uid()
65 xdr_o_mode(XDR *xdrs, o_mode *objp) in xdr_o_mode() argument
79 if (!xdr_uid(xdrs, &objp->a_id)) in xdr_aclent()
148 if (xdrs->x_op != XDR_DECODE) in xdr_fastGETACL2args()
264 if (xdrs->x_op != XDR_DECODE) in xdr_fastGETATTR2args()
344 if (xdrs->x_op != XDR_DECODE) in xdr_fastACCESS2args()
451 switch (xdrs->x_op) { in xdr_GETACL3args()
510 switch (xdrs->x_op) { in xdr_SETACL3args()
566 switch (xdrs->x_op) { in xdr_GETXATTRDIR3args()
[all …]
H A Dnfs3_xdr.c86 switch (xdrs->x_op) { in xdr_string3()
106 switch (xdrs->x_op) { in xdr_string3()
462 switch (xdrs->x_op) { in xdr_nfs_fh3_server()
481 switch (xdrs->x_op) { in xdr_diropargs3()
1078 switch (xdrs->x_op) { in xdr_SETATTR3args()
1133 switch (xdrs->x_op) { in xdr_LOOKUP3res()
1215 if ((xdrs->x_ops == &xdrrdma_ops || xdrs->x_ops == xops) && in xdr_READLINK3args()
1273 if (xdrs->x_ops == xops && xdrs->x_op == XDR_ENCODE) { in xdr_READ3args()
1279 if (xdrs->x_ops != &xdrrdma_ops || xdrs->x_op == XDR_FREE) in xdr_READ3args()
1993 if ((xdrs->x_ops == &xdrrdma_ops || xdrs->x_ops == xops) && in xdr_READDIR3args()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfs_log_xdr.c93 return (xdr_u_int(xdrs, objp)); in xdr_uint32()
115 xdr_size3(XDR *xdrs, size3 *objp) in xdr_size3() argument
117 return (xdr_uint64(xdrs, objp)); in xdr_size3()
123 return (xdr_uint32(xdrs, objp)); in xdr_count3()
143 return (xdr_uint64(xdrs, objp)); in xdr_offset3()
149 if (xdrs->x_op == XDR_FREE) in xdr_fhandle()
165 if (xdrs->x_op == XDR_DECODE || xdrs->x_op == XDR_ENCODE) in xdr_nfs_fh3()
168 if (xdrs->x_op == XDR_FREE) in xdr_nfs_fh3()
228 if (xdrs->x_op == XDR_ENCODE) in xdr_nfslog_buffer_header()
232 if (xdrs->x_op == XDR_DECODE) in xdr_nfslog_buffer_header()
[all …]
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_xdr.c119 XDR xdrs; in smb_doorhdr_encode() local
127 xdr_destroy(&xdrs); in smb_doorhdr_encode()
137 XDR xdrs; in smb_doorhdr_decode() local
146 xdr_destroy(&xdrs); in smb_doorhdr_decode()
181 XDR xdrs; in smb_netuserinfo_encode() local
191 xdr_destroy(&xdrs); in smb_netuserinfo_encode()
202 XDR xdrs; in smb_netuserinfo_decode() local
275 XDR xdrs; in smb_netconnectinfo_encode() local
296 XDR xdrs; in smb_netconnectinfo_decode() local
345 XDR xdrs; in smb_netfileinfo_encode() local
[all …]
H A Dsmb_token_xdr.c51 if (xdrs->x_op == XDR_DECODE) { in smb_privset_helper_xdr()
52 pos = xdr_getpos(xdrs); in smb_privset_helper_xdr()
54 if (!xdr_bool(xdrs, &rc)) in smb_privset_helper_xdr()
57 if (!xdr_uint32_t(xdrs, &cnt)) in smb_privset_helper_xdr()
60 rc = xdr_setpos(xdrs, pos); in smb_privset_helper_xdr()
87 if ((xdrs->x_op == XDR_ENCODE) || (xdrs->x_op == XDR_FREE)) in smb_id_xdr()
93 if (!xdr_uint8_t(xdrs, &len)) in smb_id_xdr()
134 if (xdrs->x_op == XDR_DECODE) { in smb_posix_grps_helper_xdr()
135 pos = xdr_getpos(xdrs); in smb_posix_grps_helper_xdr()
137 if (!xdr_bool(xdrs, &rc)) in smb_posix_grps_helper_xdr()
[all …]
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dkadm_rpc_xdr.c77 switch (xdrs->x_op) { in xdr_nullstring()
116 switch (xdrs->x_op) { in xdr_nulltype()
118 if (!xdr_bool(xdrs, &null)) in xdr_nulltype()
124 return (*proc)(xdrs, objp); in xdr_nulltype()
131 if (!xdr_bool(xdrs, &null)) in xdr_nulltype()
165 if (xdrs->x_op == XDR_ENCODE) in xdr_krb5_kvno()
168 if (!xdr_u_char(xdrs, &tmp)) in xdr_krb5_kvno()
217 if (!xdr_int(xdrs, &tmp)) in xdr_krb5_int16()
313 switch (xdrs->x_op) { in xdr_krb5_tl_data()
377 if (!xdr_u_int(xdrs, &tmp)) in xdr_kadm5_ret_t()
[all …]
H A Dadmin_xdr.h30 bool_t xdr_ui_4(XDR *xdrs, krb5_ui_4 *objp);
31 bool_t xdr_nullstring(XDR *xdrs, char **objp);
34 bool_t xdr_krb5_kvno(XDR *xdrs, krb5_kvno *objp);
36 bool_t xdr_krb5_flags(XDR *xdrs, krb5_flags *objp);
37 bool_t xdr_krb5_ui_4(XDR *xdrs, krb5_ui_4 *objp);
39 bool_t xdr_krb5_ui_2(XDR *xdrs, krb5_ui_2 *objp);
67 bool_t xdr_cpol_arg(XDR *xdrs, cpol_arg *objp);
68 bool_t xdr_dpol_arg(XDR *xdrs, dpol_arg *objp);
69 bool_t xdr_mpol_arg(XDR *xdrs, mpol_arg *objp);
70 bool_t xdr_gpol_arg(XDR *xdrs, gpol_arg *objp);
[all …]
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dnfs3_xdr.c39 xdr_b_nfs_fh3(XDR *xdrs, nfs_fh3 *objp) in xdr_b_nfs_fh3() argument
46 xdr_b_fattr3(XDR *xdrs, fattr3 *objp) in xdr_b_fattr3() argument
50 if (!xdr_u_int(xdrs, &objp->mode)) in xdr_b_fattr3()
52 if (!xdr_u_int(xdrs, &objp->nlink)) in xdr_b_fattr3()
54 if (!xdr_u_int(xdrs, &objp->uid)) in xdr_b_fattr3()
56 if (!xdr_u_int(xdrs, &objp->gid)) in xdr_b_fattr3()
101 if (!xdr_b_nfs_fh3(xdrs, &objp->dir)) in xdr_b_diropargs3()
188 return (xdr_b_READLINK3resok(xdrs, in xdr_READLINK3res()
208 if (!xdr_u_int(xdrs, &objp->count)) in xdr_b_READ3resok()
210 if (!xdr_bool(xdrs, &objp->eof)) in xdr_b_READ3resok()
[all …]
H A Dnfs_xdr.c38 xdr_b_nfsstat(XDR *xdrs, nfsstat *objp) in xdr_b_nfsstat() argument
44 xdr_b_ftype(XDR *xdrs, ftype *objp) in xdr_b_ftype() argument
50 xdr_nfs_fh(XDR *xdrs, nfs_fh *objp) in xdr_nfs_fh() argument
65 xdr_b_fattr(XDR *xdrs, fattr *objp) in xdr_b_fattr() argument
70 if (!xdr_u_int(xdrs, &objp->mode)) { in xdr_b_fattr()
76 if (!xdr_u_int(xdrs, &objp->uid)) { in xdr_b_fattr()
79 if (!xdr_u_int(xdrs, &objp->gid)) { in xdr_b_fattr()
82 if (!xdr_u_int(xdrs, &objp->size)) { in xdr_b_fattr()
88 if (!xdr_u_int(xdrs, &objp->rdev)) { in xdr_b_fattr()
94 if (!xdr_u_int(xdrs, &objp->fsid)) { in xdr_b_fattr()
[all …]
H A Dnfs4_xdr.c45 xdr_b_utf8string(XDR *xdrs, utf8string *objp) in xdr_b_utf8string() argument
91 if (!xdr_b_utf8string(xdrs, &objp->cr_tag)) in xdr_b_compound_res()
95 if (!xdr_u_int(xdrs, &objp->cr_opputfh)) in xdr_b_compound_res()
101 xdr_b_bitmap4(XDR *xdrs, b_bitmap4_t *objp) in xdr_b_bitmap4() argument
104 return (xdr_array(xdrs, (char **)&arp, in xdr_b_bitmap4()
110 xdr_b_stateid4(XDR *xdrs, stateid4 *objp) in xdr_b_stateid4() argument
146 if (!xdr_bytes(xdrs, (char **)&ap, in xdr_b_getattr_res_common()
283 return (xdr_b_getattr_res_common(xdrs, in xdr_getattr4_res()
311 return (xdr_b_getattr_res_common(xdrs, in xdr_lookup4_res()
380 xdr_b_entry4(XDR *xdrs, b_entry4_t *objp) in xdr_b_entry4() argument
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dxdr_mem.c72 xdrs->x_op = op; in xdrmem_create()
74 xdrs->x_private = xdrs->x_base = 0; in xdrmem_create()
83 xdrs->x_handy = 0; in xdrmem_create()
86 xdrs->x_private = xdrs->x_base = addr; in xdrmem_create()
100 xdrs->x_private += (uint_t)xdrs->x_handy; in xdrmem_getlong()
120 xdrs->x_private += (uint_t)xdrs->x_handy; in xdrmem_putlong()
136 xdrs->x_private += (uint_t)xdrs->x_handy; in xdrmem_getint32()
151 xdrs->x_private += (uint_t)xdrs->x_handy; in xdrmem_putint32()
167 xdrs->x_private += (uint_t)xdrs->x_handy; in xdrmem_getbytes()
181 xdrs->x_private += (uint_t)xdrs->x_handy; in xdrmem_putbytes()
[all …]
H A Dkey_prot.c45 xdr_keybuf(XDR *xdrs, keybuf objp) in xdr_keybuf() argument
51 xdr_keybuf3(XDR *xdrs, keybuf3 *objp) in xdr_keybuf3() argument
66 return (xdr_int(xdrs, objp)); in xdr_keylen_t()
72 return (xdr_int(xdrs, objp)); in xdr_algtype_t()
86 return (xdr_int(xdrs, objp)); in xdr_keynum_t()
152 if (!xdr_u_int(xdrs, &objp->uid)) in xdr_unixcred()
154 if (!xdr_u_int(xdrs, &objp->gid)) in xdr_unixcred()
164 if (!xdr_u_int(xdrs, &objp->uid)) in xdr_unixcred3()
166 if (!xdr_u_int(xdrs, &objp->gid)) in xdr_unixcred3()
248 if (!xdr_int(xdrs, &objp->nkeys)) in xdr_deskeyarg3()
[all …]
H A Dxdr.c121 switch (xdrs->x_op) { in xdr_time_t()
155 switch (xdrs->x_op) { in xdr_int()
172 switch (xdrs->x_op) { in xdr_u_int()
193 switch (xdrs->x_op) { in xdr_long()
221 switch (xdrs->x_op) { in xdr_u_long()
248 switch (xdrs->x_op) { in xdr_short()
271 switch (xdrs->x_op) { in xdr_u_short()
295 switch (xdrs->x_op) { in xdr_char()
318 switch (xdrs->x_op) { in xdr_u_char()
341 switch (xdrs->x_op) { in xdr_bool()
[all …]
H A Drpcb_st_xdr.c47 if (!xdr_int(xdrs, &objp->success)) in xdr_rpcbs_addrlist()
49 if (!xdr_int(xdrs, &objp->failure)) in xdr_rpcbs_addrlist()
61 switch (xdrs->x_op) { in xdr_rpcbs_rmtcalllist()
71 if (!xdr_int(xdrs, &objp->success)) in xdr_rpcbs_rmtcalllist()
73 if (!xdr_int(xdrs, &objp->failure)) in xdr_rpcbs_rmtcalllist()
99 if (!xdr_int(xdrs, &objp->success)) in xdr_rpcbs_rmtcalllist()
125 if (!xdr_int(xdrs, &objp->success)) in xdr_rpcbs_rmtcalllist()
127 if (!xdr_int(xdrs, &objp->failure)) in xdr_rpcbs_rmtcalllist()
157 if (!xdr_bool(xdrs, &more_data)) in xdr_rpcbs_addrlist_ptr()
163 if (xdrs->x_op == XDR_FREE) in xdr_rpcbs_addrlist_ptr()
[all …]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_xdr.c70 xdr_datum(XDR *xdrs, datum *pdatum) in xdr_datum() argument
81 if (xdrs->x_op == XDR_ENCODE) { in xdr_datum()
88 if (xdrs->x_op == XDR_DECODE) { in xdr_datum()
154 xdr_datum(xdrs, &ps->valdat) && in xdr_ypresp_key_val()
155 xdr_datum(xdrs, &ps->keydat))); in xdr_ypresp_key_val()
261 xdr_ypmaplist(xdrs, &ps->list))); in xdr_ypresp_maplist()
283 xdr_u_int(xdrs, &ps->proto) && in xdr_ypreq_newxfr()
295 xdr_u_int(xdrs, &ps->proto) && in xdr_ypreq_xfr()
312 if (xdrs->x_op == XDR_ENCODE) in xdr_ypall()
315 if (xdrs->x_op == XDR_FREE) in xdr_ypall()
[all …]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_xdr.c72 XDR *xdrs; in xdr_autofs_netbuf()
232 register XDR *xdrs; in xdr_autofs_res()
242 register XDR *xdrs; in xdr_autofs_lookupargs()
264 register XDR *xdrs; in xdr_mount_result_type()
271 if (!xdr_pointer(xdrs,
286 register XDR *xdrs; in xdr_autofs_mountres()
297 register XDR *xdrs; in xdr_lookup_result_type()
313 register XDR *xdrs; in xdr_autofs_lookupres()
333 register XDR *xdrs; in xdr_autofs_rddirargs()
387 XDR *xdrs; in xdr_autofs_putrddirres()
[all …]
/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_xdr.c36 xdr_nis_attr(XDR *xdrs, nis_attr *objp) in xdr_nis_attr() argument
45 xdr_nis_name(XDR *xdrs, nis_name *objp) in xdr_nis_name() argument
47 return (xdr_string(xdrs, objp, ~0)); in xdr_nis_name()
51 xdr_zotypes(XDR *xdrs, zotypes *objp) in xdr_zotypes() argument
57 xdr_nstype(XDR *xdrs, nstype *objp) in xdr_nstype() argument
63 xdr_oar_mask(XDR *xdrs, oar_mask *objp) in xdr_oar_mask() argument
71 xdr_endpoint(XDR *xdrs, endpoint *objp) in xdr_endpoint() argument
83 if (!xdr_nis_name(xdrs, &objp->name)) in xdr_nis_server()
180 xdr_objdata(XDR *xdrs, objdata *objp) in xdr_objdata() argument
197 return (xdr_bytes(xdrs, in xdr_objdata()
[all …]
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_xdr.c64 ASSERT(xdrs->x_op == XDR_ENCODE); in xdr_umntrequest()
112 xdr_linka(XDR *xdrs, linka *objp) in xdr_linka() argument
172 ASSERT((xdrs->x_op == XDR_DECODE) || (xdrs->x_op == XDR_FREE)); in xdr_action_list()
177 if (xdrs->x_op == XDR_FREE) { in xdr_action_list()
249 if (xdrs->x_op == XDR_DECODE) in xdr_mounta()
255 ASSERT((xdrs->x_op == XDR_DECODE) || (xdrs->x_op == XDR_FREE)); in xdr_mounta()
294 if (!xdr_pointer(xdrs, in xdr_mount_result_type()
431 if (!xdr_bool(xdrs, &true) || in xdr_autofs_putrddirres()
439 if (!xdr_bool(xdrs, &false)) in xdr_autofs_putrddirres()
465 if (!xdr_bool(xdrs, &valid)) in xdr_autofs_getrddirres()
[all …]
/illumos-gate/usr/src/uts/common/rpc/
H A Dxdr.c104 xdr_int(XDR *xdrs, int *ip) in xdr_int() argument
112 if (xdrs->x_op == XDR_FREE) in xdr_int()
135 if (xdrs->x_op == XDR_FREE) in xdr_u_int()
247 switch (xdrs->x_op) { in xdr_short()
273 switch (xdrs->x_op) { in xdr_u_short()
302 if (!xdr_int(xdrs, &i)) { in xdr_char()
317 switch (xdrs->x_op) { in xdr_u_char()
345 switch (xdrs->x_op) { in xdr_bool()
479 switch (xdrs->x_op) { in xdr_bytes()
575 switch (xdrs->x_op) { in xdr_string()
[all …]
H A Dxdr_mblk.c115 xdrs->x_op = op; in xdrmblk_init()
118 xdrs->x_public = NULL; in xdrmblk_init()
210 xdrs->x_handy = 0; in xdrmblk_putint32()
272 xdrs->x_handy = 0; in xdrmblk_getbytes()
278 xdrs->x_handy -= len; in xdrmblk_getbytes()
410 xdrs->x_handy = 0; in xdrmblk_putbytes()
419 xdrs->x_handy -= len; in xdrmblk_putbytes()
475 xdrs->x_handy = 0; in xdrmblk_putmblk_raw()
514 xdrs->x_handy = p->rpos + xdrs->x_handy - (pos - p->apos); in xdrmblk_setpos()
592 xdrs->x_handy -= len; in xdrmblk_inline()
[all …]
H A Dxdr_mem.c61 xdrs->x_op = op; in xdrmem_create()
63 xdrs->x_private = xdrs->x_base = addr; in xdrmem_create()
64 xdrs->x_handy = size; in xdrmem_create()
65 xdrs->x_public = NULL; in xdrmem_create()
70 xdrmem_destroy(XDR *xdrs) in xdrmem_destroy() argument
102 xdrs->x_private += len; in xdrmem_getbytes()
112 xdrs->x_private += len; in xdrmem_putbytes()
117 xdrmem_getpos(XDR *xdrs) in xdrmem_getpos() argument
119 return ((uint_t)((uintptr_t)xdrs->x_private - (uintptr_t)xdrs->x_base)); in xdrmem_getpos()
126 caddr_t lastaddr = xdrs->x_private + xdrs->x_handy; in xdrmem_setpos()
[all …]
H A Dxdr.h190 (*(xdrs)->x_ops->x_getlong)(xdrs, longp)
192 (*(xdrs)->x_ops->x_getlong)(xdrs, longp)
195 (*(xdrs)->x_ops->x_putlong)(xdrs, longp)
245 (*(xdrs)->x_ops->x_getpostn)(xdrs)
247 (*(xdrs)->x_ops->x_getpostn)(xdrs)
250 (*(xdrs)->x_ops->x_setpostn)(xdrs, pos)
252 (*(xdrs)->x_ops->x_setpostn)(xdrs, pos)
255 (*(xdrs)->x_ops->x_inline)(xdrs, len)
257 (*(xdrs)->x_ops->x_inline)(xdrs, len)
260 (*(xdrs)->x_ops->x_destroy)(xdrs)
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dprinc_xdr.c34 if (!xdr_int(xdrs, &tmp)) in ldap_xdr_krb5_int16()
55 switch (xdrs->x_op) { in ldap_xdr_nullstring()
152 switch (xdrs->x_op) { in ldap_xdr_osa_princ_ent_rec()
188 XDR xdrs; in ldap_osa_free_princ_ent() local
200 XDR xdrs; in krb5_lookup_tl_kadm_data() local
205 xdr_destroy(&xdrs); in krb5_lookup_tl_kadm_data()
208 xdr_destroy(&xdrs); in krb5_lookup_tl_kadm_data()
221 XDR xdrs; local
242 xdr_destroy(&xdrs);
252 xdr_destroy(&xdrs);
[all …]

1234567