srp
struct svcraw_private *srp = svcraw_private;
if (srp == NULL)
xdrs = &srp->xdr_stream;
struct svcraw_private *srp = svcraw_private;
if (srp == NULL)
xdrs = &srp->xdr_stream;
struct svcraw_private *srp = svcraw_private;
if (srp == NULL)
return ((*xdr_args)(&srp->xdr_stream, args_ptr));
struct svcraw_private *srp = svcraw_private;
if (srp == NULL)
xdrs = &srp->xdr_stream;
struct svcraw_private *srp = svcraw_private;
if (srp == NULL) {
srp = calloc(1, sizeof (*srp));
if (srp == NULL)
srp->server.xp_sock = 0;
srp->server.xp_port = 0;
srp->server.xp_ops = &server_ops;
srp->server.xp_verf.oa_base = srp->verf_body;
xdrmem_create(&srp->xdr_stream, srp->_raw_buf, UDPMSGSIZE, XDR_FREE);
return (&srp->server);
srp_enter(struct srp_ref *_sr, struct srp *_s)
srp_swap_locked(struct srp *srp, void *nv)
ov = srp->ref;
srp->ref = nv;
for (srp = system_reserve; srp->size; srp++) {
error = extent_alloc_region(sc->extent_mem, srp->start,
srp->size, EX_NOWAIT| EX_MALLOCOK);
srp->name);
}, *srp;
int32_t *sp, *dp, *srp, *drp;
srp = (int32_t *)(ri->ri_bits + src * ri->ri_yscale);
srp = (int32_t *)(ri->ri_bits + src * ri->ri_stride);
sp = srp;
DELTA(srp, delta, int32_t *);
int32_t *sp, *dp, *srp, *drp;
srp = (int32_t *)(ri->ri_bits + row + ((src >> 3) & ~3));
GETBITS(srp, sb, num, tmp);
DELTA(srp, ri->ri_stride, int32_t *);
srp = (int32_t *)(ri->ri_bits + row + ((src >> 3) & ~3));
sp = srp;
DELTA(srp, ri->ri_stride, int32_t *);
srp = (int32_t *)(ri->ri_bits + row + ((src >> 3) & ~3));
sp = srp;
DELTA(srp, ri->ri_stride, int32_t *);
srp_v_referenced(struct srp *srp, void *v)
if (hzrd->sh_p != srp)
srp_v_gc_start(struct srp_gc *srp_gc, struct srp *srp, void *v)
if (!srp_v_referenced(srp, v)) {
ctx->hzrd.sh_p = srp;
srp_swap(struct srp *srp, void *v)
return (atomic_swap_ptr(&srp->ref, v));
srp_update(struct srp_gc *srp_gc, struct srp *srp, void *v)
v = srp_swap(srp, v);
srp_v_gc_start(srp_gc, srp, v);
srp_v(struct srp_hazard *hzrd, struct srp *srp)
hzrd->sh_p = srp;
v = srp->ref;
} while (__predict_false(v != srp->ref));
srp_enter(struct srp_ref *sr, struct srp *srp)
return (srp_v(hzrd, srp));
srp_follow(struct srp_ref *sr, struct srp *srp)
nv = srp_enter(&nsr, srp);
void srp_v_gc_start(struct srp_gc *, struct srp *, void *);
srp_v_gc_start(struct srp_gc *srp_gc, struct srp *srp, void *v)
srp_init(struct srp *srp)
srp->ref = NULL;
srp_swap_locked(struct srp *srp, void *nv)
ov = srp->ref;
srp->ref = nv;
srp_update_locked(struct srp_gc *srp_gc, struct srp *srp, void *v)
v = srp_swap_locked(srp, v);
srp_v_gc_start(srp_gc, srp, v);
srp_get_locked(struct srp *srp)
return (srp->ref);
int srp_v_referenced(struct srp *, void *);
struct srp *afmap;
srp_enter(struct srp_ref *sr, struct srp *srp)
return srp->ref;
struct srp *ref; \
struct srp *sh_p;
struct srp sl_head;
struct srp se_next; \
void *srp_swap_locked(struct srp *, void *);
void srp_update_locked(struct srp_gc *, struct srp *, void *);
void *srp_get_locked(struct srp *);
void srp_init(struct srp *);
void *srp_swap(struct srp *, void *);
void srp_update(struct srp_gc *, struct srp *, void *);
void *srp_enter(struct srp_ref *, struct srp *);
void *srp_follow(struct srp_ref *, struct srp *);
struct srp *afm_head, *afm;