Home
last modified time | relevance | path

Searched refs:test_stateid (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/fs/nfsd/
Dnfs4xdr.c1829 nfsd4_decode_test_stateid(struct nfsd4_compoundargs *argp, struct nfsd4_test_stateid *test_stateid) in nfsd4_decode_test_stateid() argument
1835 memset(test_stateid, 0, sizeof(*test_stateid)); in nfsd4_decode_test_stateid()
1836 if (xdr_stream_decode_u32(argp->xdr, &test_stateid->ts_num_ids) < 0) in nfsd4_decode_test_stateid()
1839 INIT_LIST_HEAD(&test_stateid->ts_stateid_list); in nfsd4_decode_test_stateid()
1840 for (i = 0; i < test_stateid->ts_num_ids; i++) { in nfsd4_decode_test_stateid()
1845 list_add_tail(&stateid->ts_id_list, &test_stateid->ts_stateid_list); in nfsd4_decode_test_stateid()
4538 struct nfsd4_test_stateid *test_stateid) in nfsd4_encode_test_stateid() argument
4544 p = xdr_reserve_space(xdr, 4 + (4 * test_stateid->ts_num_ids)); in nfsd4_encode_test_stateid()
4547 *p++ = htonl(test_stateid->ts_num_ids); in nfsd4_encode_test_stateid()
4549 list_for_each_entry_safe(stateid, next, &test_stateid->ts_stateid_list, ts_id_list) { in nfsd4_encode_test_stateid()
Dxdr4.h680 struct nfsd4_test_stateid test_stateid; member
Dnfs4state.c6535 struct nfsd4_test_stateid *test_stateid = &u->test_stateid; in nfsd4_test_stateid() local
6539 list_for_each_entry(stateid, &test_stateid->ts_stateid_list, ts_id_list) in nfsd4_test_stateid()
Dnfs4proc.c2957 return (op_encode_hdr_size + 1 + op->u.test_stateid.ts_num_ids) in nfsd4_test_stateid_rsize()