Lines Matching +full:encode +full:- +full:only
2 * Server-side types for NFSv4.
49 #define SET_CSTATE_FLAG(c, f) ((c)->sid_flags |= (f))
50 #define HAS_CSTATE_FLAG(c, f) ((c)->sid_flags & (f))
51 #define CLEAR_CSTATE_FLAG(c, f) ((c)->sid_flags &= ~(f))
54 * nfsd4_encode_bool - Encode an XDR bool type result
56 * @val: boolean value to encode
74 * nfsd4_encode_uint32_t - Encode an XDR uint32_t type result
76 * @val: integer value to encode
104 * nfsd4_encode_uint64_t - Encode an XDR uint64_t type result
106 * @val: integer value to encode
129 * nfsd4_encode_opaque_fixed - Encode a fixed-length XDR opaque type result
154 * nfsd4_encode_opaque - Encode a variable-length XDR opaque type result
202 return cs->slot != NULL; in nfsd4_has_session()
370 char * op_fname; /* request - everything but CLAIM_PREV */
371 u32 op_delegate_type; /* request - CLAIM_PREV only */
372 stateid_t op_delegate_stateid; /* request - response */
373 u32 op_why_no_deleg; /* response - DELEG_NONE_EXT only */
612 u32 gd_notify_types;/* request - response */
722 set_bit(NFSD4_COPY_F_SYNCHRONOUS, ©->cp_flags); in nfsd4_copy_set_sync()
724 clear_bit(NFSD4_COPY_F_SYNCHRONOUS, ©->cp_flags); in nfsd4_copy_set_sync()
729 return test_bit(NFSD4_COPY_F_SYNCHRONOUS, ©->cp_flags); in nfsd4_copy_is_sync()
734 return !test_bit(NFSD4_COPY_F_SYNCHRONOUS, ©->cp_flags); in nfsd4_copy_is_async()
739 return !test_bit(NFSD4_COPY_F_INTRA, ©->cp_flags); in nfsd4_ssc_is_inter()
872 /* scratch variables for XDR encode */
886 struct nfsd4_compoundargs *args = resp->rqstp->rq_argp; in nfsd4_is_solo_sequence()
887 return resp->opcnt == 1 && args->ops[0].opnum == OP_SEQUENCE; in nfsd4_is_solo_sequence()
891 * The session reply cache only needs to cache replies that the client
893 * consisting of only a SEQUENCE op, so we may as well cache those too.
896 * (RETRY_UNCACHED_REP can only be returned in the second op of a
901 return (resp->cstate.slot->sl_flags & NFSD4_SLOT_CACHETHIS) in nfsd4_cache_this()
907 struct nfsd4_compoundres *resp = rqstp->rq_resp; in nfsd4_last_compound_op()
908 struct nfsd4_compoundargs *argp = rqstp->rq_argp; in nfsd4_last_compound_op()
910 return argp->opcnt == resp->opcnt; in nfsd4_last_compound_op()
1000 * Cache compounds containing these ops in the xid-based drc:
1001 * We use the DRC for compounds containing non-idempotent
1002 * operations, *except* those that are 4.1-specific (since
1013 /* Most ops return only an error on failure; some may do more: */