/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | nvlist.c | 41 typedef struct xdr { struct 43 int (*xdr_getint)(struct xdr *, int *); argument 44 int (*xdr_putint)(struct xdr *, int); argument 45 int (*xdr_getuint)(struct xdr *, unsigned *); argument 46 int (*xdr_putuint)(struct xdr *, unsigned); argument 62 _getint(struct xdr *xdr, int *ip) in _getint() argument 64 *ip = be32dec(xdr->xdr_idx); in _getint() 69 _putint(struct xdr *xdr, int i) in _putint() argument 71 int *ip = (int *)xdr->xdr_idx; in _putint() 78 _getuint(struct xdr *xdr, unsigned *ip) in _getuint() argument [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_nfs4.c | 3981 prt_supported_attrs(XDR *xdr) in prt_supported_attrs() argument 3985 if (!xdr_bitmap4(xdr, &val)) in prt_supported_attrs() 3993 prt_type(XDR *xdr) in prt_type() argument 3997 if (!xdr_nfs_ftype4(xdr, &val)) in prt_type() 4003 prt_fh_expire_type(XDR *xdr) in prt_fh_expire_type() argument 4009 if (!xdr_fattr4_fh_expire_type(xdr, &val)) in prt_fh_expire_type() 4047 prt_change(XDR *xdr) in prt_change() argument 4051 if (!xdr_changeid4(xdr, &val)) in prt_change() 4058 prt_size(XDR *xdr) in prt_size() argument 4062 if (!xdr_uint64_t(xdr, &val)) in prt_size() [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_pickle.cc | 62 xdrstdio_create(&(xdr), file, XDR_DECODE); in open() 67 xdrstdio_create(&(xdr), file, XDR_ENCODE); in open() 72 xdrstdio_create(&(xdr), file, XDR_ENCODE); in open() 90 xdr_destroy(&(xdr)); in close() 108 if ((f)(&xdr, p) == FALSE) { in transfer()
|
H A D | db_dictlog.cc | 204 if (xdr_db_dictlog_entry(&(xdr), j) == FALSE) { in get() 232 status = ((xdr_db_dictlog_entry(&(xdr), j)) ? 0 : -1); in append()
|
H A D | db_pickle.h | 52 XDR xdr; variable
|
H A D | db_log.cc | 171 if (xdr_db_log_entry(&(xdr), j) == FALSE) { in get() 199 status = ((xdr_db_log_entry(&(xdr), j)) ? 0 : -1); in append()
|
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_rpcb_pxy.c | 443 u_32_t xdr, *p; local 488 xdr = B(p); 489 if (!(xdr == IPPROTO_UDP || xdr == IPPROTO_TCP)) 493 rx.rx_proto = xdr; 560 u_32_t *p, xdr; local 571 xdr = B(p++); /* Length of auth_data */ 574 if ((XDRALIGN(xdr) < xdr) || (RPCB_BUF_GEQ(rm, p, XDRALIGN(xdr)) == 0)) 579 p += XDRALIGN(xdr); /* Advance our location. */ 891 u_32_t xdr, *p; local 901 xdr = B(p++); /* Record this message's XID. */ [all …]
|
/illumos-gate/usr/src/common/nvpair/ |
H A D | nvpair.c | 3128 nvs_xdr_create(nvstream_t *nvs, XDR *xdr, char *buf, size_t buflen) in nvs_xdr_create() argument 3136 xdrmem_create(xdr, buf, (uint_t)buflen, XDR_ENCODE); in nvs_xdr_create() 3137 nvs->nvs_private = xdr; in nvs_xdr_create() 3140 xdrmem_create(xdr, buf, (uint_t)buflen, XDR_DECODE); in nvs_xdr_create() 3141 nvs->nvs_private = xdr; in nvs_xdr_create() 3170 XDR *xdr = nvs->nvs_private; in nvs_xdr_nvlist() local 3172 if (!xdr_int(xdr, &nvl->nvl_version) || in nvs_xdr_nvlist() 3173 !xdr_u_int(xdr, &nvl->nvl_nvflag)) in nvs_xdr_nvlist() 3195 XDR *xdr = nvs->nvs_private; in nvs_xdr_nvl_fini() local 3198 if (!xdr_int(xdr, &zero) || !xdr_int(xdr, &zero)) in nvs_xdr_nvl_fini() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/rp_basic/ |
H A D | libnfs_basic.c | 281 XDR xdr; in nfs_basic_deref() local 305 xdrmem_create(&xdr, buf, *bufsz, XDR_ENCODE); in nfs_basic_deref() 306 err = xdr_fs_locations4(&xdr, fsl); in nfs_basic_deref() 307 XDR_DESTROY(&xdr); in nfs_basic_deref()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | xdr_sizeof.c | 105 harmless_getlong(XDR *xdr __unused, long *l __unused) in harmless_getlong() 112 harmless_getbytes(XDR *xdr __unused, caddr_t p __unused, int i __unused) in harmless_getbytes() 119 harmless_getint32(XDR *xdr __unused, int32_t *p __unused) in harmless_getint32()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsref/ |
H A D | nfsref.c | 265 XDR xdr; in lookup() local 306 xdrmem_create(&xdr, buf, bufsize, XDR_DECODE); in lookup() 307 err = xdr_fs_locations4(&xdr, &fsl); in lookup() 308 XDR_DESTROY(&xdr); in lookup()
|
/illumos-gate/usr/src/stand/lib/xdr/ |
H A D | Makefile | 28 CMNOBJS = xdr.o xdr_array.o xdr_mem.o xdr_refer.o
|
/illumos-gate/usr/src/stand/lib/ |
H A D | Makefile | 31 SUBDIRS = fs/hsfs fs/nfs fs/ufs inet sa sock tcpstubs xdr \
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_fnmount.c | 631 XDR xdr; in str_from_addr() local 634 xdrmem_create(&xdr, (caddr_t)fn_ref_addr_data(addr), in str_from_addr() 636 if (!xdr_string(&xdr, &str, strsz)) { in str_from_addr() 645 xdr_destroy(&xdr); in str_from_addr()
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | Makefile | 46 types.h xdr.h rpcsec_gss.h svc_mt.h \
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_attr.c | 241 XDR xdr; in vattr_to_fattr4() local 407 xdrmem_create(&xdr, xdr_attrs, xdr_size, XDR_ENCODE); in vattr_to_fattr4() 409 if ((*nfs4_ntov_map[amap[i]].xfunc)(&xdr, &na[i]) == FALSE) { in vattr_to_fattr4()
|
H A D | nfs4_srv_readdir.c | 1130 XDR xdr; in rfs4_op_readdir() local 1144 xdrmem_create(&xdr, (caddr_t)ptr, in rfs4_op_readdir() 1148 pushed = xdr_fattr4_fs_locations(&xdr, &fs); in rfs4_op_readdir() 1151 xdr_getpos(&xdr)); in rfs4_op_readdir() 1153 xdr_destroy(&xdr); in rfs4_op_readdir()
|
H A D | nfs4_stub_vnops.c | 1258 XDR xdr; in nfs4_callmapid() local 1292 xdrmem_create(&xdr, (char *)&xdr_argsp->xdr_arg, in nfs4_callmapid() 1295 if (!xdr_utf8string(&xdr, server)) { in nfs4_callmapid() 1340 xdrmem_create(&xdr, (char *)&door_resp->xdr_res, in nfs4_callmapid() 1343 if (!xdr_nfs_fsl_info(&xdr, resp)) { in nfs4_callmapid()
|
H A D | nfs4_srv.c | 2420 XDR xdr; in do_rfs4_op_getattr() local 2523 xdrmem_create(&xdr, xdr_attrs, xdr_size, XDR_ENCODE); in do_rfs4_op_getattr() 2528 if (!(*nfs4_ntov_map[*amap].xfunc)(&xdr, na)) { in do_rfs4_op_getattr() 5261 XDR xdr; in do_rfs4_set_attrs() local 5294 xdrmem_create(&xdr, attrs, attrslen, XDR_DECODE); in do_rfs4_set_attrs() 5329 &xdr, resp ? resp : NULL, na); in do_rfs4_set_attrs() 10065 XDR xdr; in fetch_referral() local 10101 xdrmem_create(&xdr, buf, bufsize, XDR_DECODE); in fetch_referral() 10103 err = xdr_fs_locations4(&xdr, result); in fetch_referral() 10104 XDR_DESTROY(&xdr); in fetch_referral()
|
/illumos-gate/usr/src/lib/libnsl/ |
H A D | Makefile.com | 78 svc_vc.o svcauth_des.o svid_funcs.o ti_opts.o xdr.o \
|
/illumos-gate/usr/src/man/man3nsl/ |
H A D | Makefile | 94 xdr.3nsl \
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-library.man3nsl.inc | 269 file path=usr/share/man/man3nsl/xdr.3nsl
|
H A D | system-header.p5m | 563 file path=usr/include/rpc/xdr.h
|
/illumos-gate/usr/src/uts/common/ |
H A D | Makefile.files | 422 xdr.o \
|