Lines Matching refs:hdr

72 			     struct compound_hdr *hdr);
1015 struct compound_hdr *hdr) in encode_compound_hdr() argument
1023 hdr->replen = RPC_REPHDRSIZE + auth->au_rslack + 3 + hdr->taglen; in encode_compound_hdr()
1025 WARN_ON_ONCE(hdr->taglen > NFS4_MAXTAGLEN); in encode_compound_hdr()
1026 encode_string(xdr, hdr->taglen, hdr->tag); in encode_compound_hdr()
1028 *p++ = cpu_to_be32(hdr->minorversion); in encode_compound_hdr()
1029 hdr->nops_p = p; in encode_compound_hdr()
1030 *p = cpu_to_be32(hdr->nops); in encode_compound_hdr()
1035 struct compound_hdr *hdr) in encode_op_hdr() argument
1038 hdr->nops++; in encode_op_hdr()
1039 hdr->replen += replen; in encode_op_hdr()
1042 static void encode_nops(struct compound_hdr *hdr) in encode_nops() argument
1044 WARN_ON_ONCE(hdr->nops > NFS4_MAX_OPS); in encode_nops()
1045 *hdr->nops_p = htonl(hdr->nops); in encode_nops()
1188 static void encode_access(struct xdr_stream *xdr, u32 access, struct compound_hdr *hdr) in encode_access() argument
1190 encode_op_hdr(xdr, OP_ACCESS, decode_access_maxsz, hdr); in encode_access()
1194 …oid encode_close(struct xdr_stream *xdr, const struct nfs_closeargs *arg, struct compound_hdr *hdr) in encode_close() argument
1196 encode_op_hdr(xdr, OP_CLOSE, decode_close_maxsz, hdr); in encode_close()
1201 … encode_commit(struct xdr_stream *xdr, const struct nfs_commitargs *args, struct compound_hdr *hdr) in encode_commit() argument
1205 encode_op_hdr(xdr, OP_COMMIT, decode_commit_maxsz, hdr); in encode_commit()
1211 …code_create(struct xdr_stream *xdr, const struct nfs4_create_arg *create, struct compound_hdr *hdr) in encode_create() argument
1215 encode_op_hdr(xdr, OP_CREATE, decode_create_maxsz, hdr); in encode_create()
1244 struct compound_hdr *hdr) in encode_getattr() argument
1248 encode_op_hdr(xdr, OP_GETATTR, decode_getattr_maxsz, hdr); in encode_getattr()
1258 static void encode_getfattr(struct xdr_stream *xdr, const u32* bitmask, struct compound_hdr *hdr) in encode_getfattr() argument
1261 ARRAY_SIZE(nfs4_fattr_bitmap), hdr); in encode_getfattr()
1266 struct compound_hdr *hdr) in encode_getfattr_open() argument
1268 encode_getattr(xdr, open_bitmap, bitmask, 3, hdr); in encode_getfattr_open()
1271 static void encode_fsinfo(struct xdr_stream *xdr, const u32* bitmask, struct compound_hdr *hdr) in encode_fsinfo() argument
1274 ARRAY_SIZE(nfs4_fsinfo_bitmap), hdr); in encode_fsinfo()
1277 …atic void encode_fs_locations(struct xdr_stream *xdr, const u32* bitmask, struct compound_hdr *hdr) in encode_fs_locations() argument
1280 ARRAY_SIZE(nfs4_fs_locations_bitmap), hdr); in encode_fs_locations()
1283 static void encode_getfh(struct xdr_stream *xdr, struct compound_hdr *hdr) in encode_getfh() argument
1285 encode_op_hdr(xdr, OP_GETFH, decode_getfh_maxsz, hdr); in encode_getfh()
1288 static void encode_link(struct xdr_stream *xdr, const struct qstr *name, struct compound_hdr *hdr) in encode_link() argument
1290 encode_op_hdr(xdr, OP_LINK, decode_link_maxsz, hdr); in encode_link()
1324 …oid encode_lock(struct xdr_stream *xdr, const struct nfs_lock_args *args, struct compound_hdr *hdr) in encode_lock() argument
1328 encode_op_hdr(xdr, OP_LOCK, decode_lock_maxsz, hdr); in encode_lock()
1347 …d encode_lockt(struct xdr_stream *xdr, const struct nfs_lockt_args *args, struct compound_hdr *hdr) in encode_lockt() argument
1351 encode_op_hdr(xdr, OP_LOCKT, decode_lockt_maxsz, hdr); in encode_lockt()
1359 …d encode_locku(struct xdr_stream *xdr, const struct nfs_locku_args *args, struct compound_hdr *hdr) in encode_locku() argument
1363 encode_op_hdr(xdr, OP_LOCKU, decode_locku_maxsz, hdr); in encode_locku()
1372 …elease_lockowner(struct xdr_stream *xdr, const struct nfs_lowner *lowner, struct compound_hdr *hdr) in encode_release_lockowner() argument
1374 encode_op_hdr(xdr, OP_RELEASE_LOCKOWNER, decode_release_lockowner_maxsz, hdr); in encode_release_lockowner()
1378 static void encode_lookup(struct xdr_stream *xdr, const struct qstr *name, struct compound_hdr *hdr) in encode_lookup() argument
1380 encode_op_hdr(xdr, OP_LOOKUP, decode_lookup_maxsz, hdr); in encode_lookup()
1384 static void encode_lookupp(struct xdr_stream *xdr, struct compound_hdr *hdr) in encode_lookupp() argument
1386 encode_op_hdr(xdr, OP_LOOKUPP, decode_lookupp_maxsz, hdr); in encode_lookupp()
1524 … void encode_open(struct xdr_stream *xdr, const struct nfs_openargs *arg, struct compound_hdr *hdr) in encode_open() argument
1526 encode_op_hdr(xdr, OP_OPEN, decode_open_maxsz, hdr); in encode_open()
1550 …n_confirm(struct xdr_stream *xdr, const struct nfs_open_confirmargs *arg, struct compound_hdr *hdr) in encode_open_confirm() argument
1552 encode_op_hdr(xdr, OP_OPEN_CONFIRM, decode_open_confirm_maxsz, hdr); in encode_open_confirm()
1557 …e_open_downgrade(struct xdr_stream *xdr, const struct nfs_closeargs *arg, struct compound_hdr *hdr) in encode_open_downgrade() argument
1559 encode_op_hdr(xdr, OP_OPEN_DOWNGRADE, decode_open_downgrade_maxsz, hdr); in encode_open_downgrade()
1566 encode_putfh(struct xdr_stream *xdr, const struct nfs_fh *fh, struct compound_hdr *hdr) in encode_putfh() argument
1568 encode_op_hdr(xdr, OP_PUTFH, decode_putfh_maxsz, hdr); in encode_putfh()
1572 static void encode_putrootfh(struct xdr_stream *xdr, struct compound_hdr *hdr) in encode_putrootfh() argument
1574 encode_op_hdr(xdr, OP_PUTROOTFH, decode_putrootfh_maxsz, hdr); in encode_putrootfh()
1578 struct compound_hdr *hdr) in encode_read() argument
1582 encode_op_hdr(xdr, OP_READ, decode_read_maxsz, hdr); in encode_read()
1590 …tream *xdr, const struct nfs4_readdir_arg *readdir, struct rpc_rqst *req, struct compound_hdr *hdr) in encode_readdir() argument
1620 encode_op_hdr(xdr, OP_READDIR, decode_readdir_maxsz, hdr); in encode_readdir()
1640 …_stream *xdr, const struct nfs4_readlink *readlink, struct rpc_rqst *req, struct compound_hdr *hdr) in encode_readlink() argument
1642 encode_op_hdr(xdr, OP_READLINK, decode_readlink_maxsz, hdr); in encode_readlink()
1645 static void encode_remove(struct xdr_stream *xdr, const struct qstr *name, struct compound_hdr *hdr) in encode_remove() argument
1647 encode_op_hdr(xdr, OP_REMOVE, decode_remove_maxsz, hdr); in encode_remove()
1651 … xdr_stream *xdr, const struct qstr *oldname, const struct qstr *newname, struct compound_hdr *hdr) in encode_rename() argument
1653 encode_op_hdr(xdr, OP_RENAME, decode_rename_maxsz, hdr); in encode_rename()
1659 struct compound_hdr *hdr) in encode_renew() argument
1661 encode_op_hdr(xdr, OP_RENEW, decode_renew_maxsz, hdr); in encode_renew()
1666 encode_restorefh(struct xdr_stream *xdr, struct compound_hdr *hdr) in encode_restorefh() argument
1668 encode_op_hdr(xdr, OP_RESTOREFH, decode_restorefh_maxsz, hdr); in encode_restorefh()
1673 struct compound_hdr *hdr) in encode_setacl() argument
1677 encode_op_hdr(xdr, OP_SETATTR, decode_setacl_maxsz, hdr); in encode_setacl()
1688 encode_savefh(struct xdr_stream *xdr, struct compound_hdr *hdr) in encode_savefh() argument
1690 encode_op_hdr(xdr, OP_SAVEFH, decode_savefh_maxsz, hdr); in encode_savefh()
1693 …*xdr, const struct nfs_setattrargs *arg, const struct nfs_server *server, struct compound_hdr *hdr) in encode_setattr() argument
1695 encode_op_hdr(xdr, OP_SETATTR, decode_setattr_maxsz, hdr); in encode_setattr()
1701 …entid(struct xdr_stream *xdr, const struct nfs4_setclientid *setclientid, struct compound_hdr *hdr) in encode_setclientid() argument
1705 encode_op_hdr(xdr, OP_SETCLIENTID, decode_setclientid_maxsz, hdr); in encode_setclientid()
1718 …d_confirm(struct xdr_stream *xdr, const struct nfs4_setclientid_res *arg, struct compound_hdr *hdr) in encode_setclientid_confirm() argument
1721 decode_setclientid_confirm_maxsz, hdr); in encode_setclientid_confirm()
1727 struct compound_hdr *hdr) in encode_write() argument
1731 encode_op_hdr(xdr, OP_WRITE, decode_write_maxsz, hdr); in encode_write()
1742 …d encode_delegreturn(struct xdr_stream *xdr, const nfs4_stateid *stateid, struct compound_hdr *hdr) in encode_delegreturn() argument
1744 encode_op_hdr(xdr, OP_DELEGRETURN, decode_delegreturn_maxsz, hdr); in encode_delegreturn()
1748 …atic void encode_secinfo(struct xdr_stream *xdr, const struct qstr *name, struct compound_hdr *hdr) in encode_secinfo() argument
1750 encode_op_hdr(xdr, OP_SECINFO, decode_secinfo_maxsz, hdr); in encode_secinfo()
1758 struct compound_hdr *hdr) in encode_bind_conn_to_session() argument
1763 decode_bind_conn_to_session_maxsz, hdr); in encode_bind_conn_to_session()
1780 struct compound_hdr *hdr) in encode_exchange_id() argument
1786 encode_op_hdr(xdr, OP_EXCHANGE_ID, decode_exchange_id_maxsz, hdr); in encode_exchange_id()
1832 struct compound_hdr *hdr) in encode_create_session() argument
1847 encode_op_hdr(xdr, OP_CREATE_SESSION, decode_create_session_maxsz, hdr); in encode_create_session()
1885 struct compound_hdr *hdr) in encode_destroy_session() argument
1887 encode_op_hdr(xdr, OP_DESTROY_SESSION, decode_destroy_session_maxsz, hdr); in encode_destroy_session()
1893 struct compound_hdr *hdr) in encode_destroy_clientid() argument
1895 encode_op_hdr(xdr, OP_DESTROY_CLIENTID, decode_destroy_clientid_maxsz, hdr); in encode_destroy_clientid()
1901 struct compound_hdr *hdr) in encode_reclaim_complete() argument
1903 encode_op_hdr(xdr, OP_RECLAIM_COMPLETE, decode_reclaim_complete_maxsz, hdr); in encode_reclaim_complete()
1910 struct compound_hdr *hdr) in encode_sequence() argument
1923 encode_op_hdr(xdr, OP_SEQUENCE, decode_sequence_maxsz, hdr); in encode_sequence()
1950 struct compound_hdr *hdr) in encode_getdeviceinfo() argument
1954 encode_op_hdr(xdr, OP_GETDEVICEINFO, decode_getdeviceinfo_maxsz, hdr); in encode_getdeviceinfo()
1969 struct compound_hdr *hdr) in encode_layoutget() argument
1973 encode_op_hdr(xdr, OP_LAYOUTGET, decode_layoutget_maxsz, hdr); in encode_layoutget()
1997 struct compound_hdr *hdr) in encode_layoutcommit() argument
2004 encode_op_hdr(xdr, OP_LAYOUTCOMMIT, decode_layoutcommit_maxsz, hdr); in encode_layoutcommit()
2033 struct compound_hdr *hdr) in encode_layoutreturn() argument
2037 encode_op_hdr(xdr, OP_LAYOUTRETURN, decode_layoutreturn_maxsz, hdr); in encode_layoutreturn()
2058 struct compound_hdr *hdr) in encode_secinfo_no_name() argument
2060 encode_op_hdr(xdr, OP_SECINFO_NO_NAME, decode_secinfo_no_name_maxsz, hdr); in encode_secinfo_no_name()
2067 struct compound_hdr *hdr) in encode_test_stateid() argument
2069 encode_op_hdr(xdr, OP_TEST_STATEID, decode_test_stateid_maxsz, hdr); in encode_test_stateid()
2076 struct compound_hdr *hdr) in encode_free_stateid() argument
2078 encode_op_hdr(xdr, OP_FREE_STATEID, decode_free_stateid_maxsz, hdr); in encode_free_stateid()
2085 struct compound_hdr *hdr) in encode_layoutreturn() argument
2092 struct compound_hdr *hdr) in encode_layoutget() argument
2118 struct compound_hdr hdr = { in nfs4_xdr_enc_access() local
2122 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_access()
2123 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_access()
2124 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_access()
2125 encode_access(xdr, args->access, &hdr); in nfs4_xdr_enc_access()
2127 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_access()
2128 encode_nops(&hdr); in nfs4_xdr_enc_access()
2138 struct compound_hdr hdr = { in nfs4_xdr_enc_lookup() local
2142 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_lookup()
2143 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_lookup()
2144 encode_putfh(xdr, args->dir_fh, &hdr); in nfs4_xdr_enc_lookup()
2145 encode_lookup(xdr, args->name, &hdr); in nfs4_xdr_enc_lookup()
2146 encode_getfh(xdr, &hdr); in nfs4_xdr_enc_lookup()
2147 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_lookup()
2148 encode_nops(&hdr); in nfs4_xdr_enc_lookup()
2158 struct compound_hdr hdr = { in nfs4_xdr_enc_lookupp() local
2162 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_lookupp()
2163 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_lookupp()
2164 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_lookupp()
2165 encode_lookupp(xdr, &hdr); in nfs4_xdr_enc_lookupp()
2166 encode_getfh(xdr, &hdr); in nfs4_xdr_enc_lookupp()
2167 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_lookupp()
2168 encode_nops(&hdr); in nfs4_xdr_enc_lookupp()
2179 struct compound_hdr hdr = { in nfs4_xdr_enc_lookup_root() local
2183 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_lookup_root()
2184 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_lookup_root()
2185 encode_putrootfh(xdr, &hdr); in nfs4_xdr_enc_lookup_root()
2186 encode_getfh(xdr, &hdr); in nfs4_xdr_enc_lookup_root()
2187 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_lookup_root()
2188 encode_nops(&hdr); in nfs4_xdr_enc_lookup_root()
2198 struct compound_hdr hdr = { in nfs4_xdr_enc_remove() local
2202 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_remove()
2203 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_remove()
2204 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_remove()
2205 encode_remove(xdr, &args->name, &hdr); in nfs4_xdr_enc_remove()
2206 encode_nops(&hdr); in nfs4_xdr_enc_remove()
2216 struct compound_hdr hdr = { in nfs4_xdr_enc_rename() local
2220 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_rename()
2221 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_rename()
2222 encode_putfh(xdr, args->old_dir, &hdr); in nfs4_xdr_enc_rename()
2223 encode_savefh(xdr, &hdr); in nfs4_xdr_enc_rename()
2224 encode_putfh(xdr, args->new_dir, &hdr); in nfs4_xdr_enc_rename()
2225 encode_rename(xdr, args->old_name, args->new_name, &hdr); in nfs4_xdr_enc_rename()
2226 encode_nops(&hdr); in nfs4_xdr_enc_rename()
2236 struct compound_hdr hdr = { in nfs4_xdr_enc_link() local
2240 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_link()
2241 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_link()
2242 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_link()
2243 encode_savefh(xdr, &hdr); in nfs4_xdr_enc_link()
2244 encode_putfh(xdr, args->dir_fh, &hdr); in nfs4_xdr_enc_link()
2245 encode_link(xdr, args->name, &hdr); in nfs4_xdr_enc_link()
2246 encode_restorefh(xdr, &hdr); in nfs4_xdr_enc_link()
2247 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_link()
2248 encode_nops(&hdr); in nfs4_xdr_enc_link()
2258 struct compound_hdr hdr = { in nfs4_xdr_enc_create() local
2262 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_create()
2263 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_create()
2264 encode_putfh(xdr, args->dir_fh, &hdr); in nfs4_xdr_enc_create()
2265 encode_create(xdr, args, &hdr); in nfs4_xdr_enc_create()
2266 encode_getfh(xdr, &hdr); in nfs4_xdr_enc_create()
2267 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_create()
2268 encode_nops(&hdr); in nfs4_xdr_enc_create()
2289 struct compound_hdr hdr = { in nfs4_xdr_enc_getattr() local
2293 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_getattr()
2294 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_getattr()
2295 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_getattr()
2296 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_getattr()
2297 encode_nops(&hdr); in nfs4_xdr_enc_getattr()
2307 struct compound_hdr hdr = { in nfs4_xdr_enc_close() local
2311 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_close()
2312 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_close()
2313 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_close()
2315 encode_layoutreturn(xdr, args->lr_args, &hdr); in nfs4_xdr_enc_close()
2317 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_close()
2318 encode_close(xdr, args, &hdr); in nfs4_xdr_enc_close()
2319 encode_nops(&hdr); in nfs4_xdr_enc_close()
2329 struct compound_hdr hdr = { in nfs4_xdr_enc_open() local
2333 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_open()
2334 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_open()
2335 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_open()
2336 encode_open(xdr, args, &hdr); in nfs4_xdr_enc_open()
2337 encode_getfh(xdr, &hdr); in nfs4_xdr_enc_open()
2339 encode_access(xdr, args->access, &hdr); in nfs4_xdr_enc_open()
2340 encode_getfattr_open(xdr, args->bitmask, args->open_bitmap, &hdr); in nfs4_xdr_enc_open()
2342 encode_layoutget(xdr, args->lg_args, &hdr); in nfs4_xdr_enc_open()
2343 xdr_inline_pages(&req->rq_rcv_buf, hdr.replen << 2, in nfs4_xdr_enc_open()
2347 encode_nops(&hdr); in nfs4_xdr_enc_open()
2358 struct compound_hdr hdr = { in nfs4_xdr_enc_open_confirm() local
2362 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_open_confirm()
2363 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_open_confirm()
2364 encode_open_confirm(xdr, args, &hdr); in nfs4_xdr_enc_open_confirm()
2365 encode_nops(&hdr); in nfs4_xdr_enc_open_confirm()
2376 struct compound_hdr hdr = { in nfs4_xdr_enc_open_noattr() local
2380 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_open_noattr()
2381 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_open_noattr()
2382 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_open_noattr()
2383 encode_open(xdr, args, &hdr); in nfs4_xdr_enc_open_noattr()
2385 encode_access(xdr, args->access, &hdr); in nfs4_xdr_enc_open_noattr()
2386 encode_getfattr_open(xdr, args->bitmask, args->open_bitmap, &hdr); in nfs4_xdr_enc_open_noattr()
2388 encode_layoutget(xdr, args->lg_args, &hdr); in nfs4_xdr_enc_open_noattr()
2389 xdr_inline_pages(&req->rq_rcv_buf, hdr.replen << 2, in nfs4_xdr_enc_open_noattr()
2393 encode_nops(&hdr); in nfs4_xdr_enc_open_noattr()
2404 struct compound_hdr hdr = { in nfs4_xdr_enc_open_downgrade() local
2408 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_open_downgrade()
2409 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_open_downgrade()
2410 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_open_downgrade()
2412 encode_layoutreturn(xdr, args->lr_args, &hdr); in nfs4_xdr_enc_open_downgrade()
2413 encode_open_downgrade(xdr, args, &hdr); in nfs4_xdr_enc_open_downgrade()
2414 encode_nops(&hdr); in nfs4_xdr_enc_open_downgrade()
2424 struct compound_hdr hdr = { in nfs4_xdr_enc_lock() local
2428 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_lock()
2429 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_lock()
2430 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_lock()
2431 encode_lock(xdr, args, &hdr); in nfs4_xdr_enc_lock()
2432 encode_nops(&hdr); in nfs4_xdr_enc_lock()
2442 struct compound_hdr hdr = { in nfs4_xdr_enc_lockt() local
2446 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_lockt()
2447 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_lockt()
2448 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_lockt()
2449 encode_lockt(xdr, args, &hdr); in nfs4_xdr_enc_lockt()
2450 encode_nops(&hdr); in nfs4_xdr_enc_lockt()
2460 struct compound_hdr hdr = { in nfs4_xdr_enc_locku() local
2464 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_locku()
2465 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_locku()
2466 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_locku()
2467 encode_locku(xdr, args, &hdr); in nfs4_xdr_enc_locku()
2468 encode_nops(&hdr); in nfs4_xdr_enc_locku()
2476 struct compound_hdr hdr = { in nfs4_xdr_enc_release_lockowner() local
2480 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_release_lockowner()
2481 encode_release_lockowner(xdr, &args->lock_owner, &hdr); in nfs4_xdr_enc_release_lockowner()
2482 encode_nops(&hdr); in nfs4_xdr_enc_release_lockowner()
2492 struct compound_hdr hdr = { in nfs4_xdr_enc_readlink() local
2496 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_readlink()
2497 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_readlink()
2498 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_readlink()
2499 encode_readlink(xdr, args, req, &hdr); in nfs4_xdr_enc_readlink()
2501 xdr_inline_pages(&req->rq_rcv_buf, hdr.replen << 2, args->pages, in nfs4_xdr_enc_readlink()
2503 encode_nops(&hdr); in nfs4_xdr_enc_readlink()
2513 struct compound_hdr hdr = { in nfs4_xdr_enc_readdir() local
2517 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_readdir()
2518 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_readdir()
2519 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_readdir()
2520 encode_readdir(xdr, args, req, &hdr); in nfs4_xdr_enc_readdir()
2522 xdr_inline_pages(&req->rq_rcv_buf, hdr.replen << 2, args->pages, in nfs4_xdr_enc_readdir()
2525 __func__, hdr.replen << 2, args->pages, in nfs4_xdr_enc_readdir()
2527 encode_nops(&hdr); in nfs4_xdr_enc_readdir()
2537 struct compound_hdr hdr = { in nfs4_xdr_enc_read() local
2541 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_read()
2542 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_read()
2543 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_read()
2544 encode_read(xdr, args, &hdr); in nfs4_xdr_enc_read()
2546 xdr_inline_pages(&req->rq_rcv_buf, hdr.replen << 2, in nfs4_xdr_enc_read()
2549 encode_nops(&hdr); in nfs4_xdr_enc_read()
2559 struct compound_hdr hdr = { in nfs4_xdr_enc_setattr() local
2563 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_setattr()
2564 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_setattr()
2565 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_setattr()
2566 encode_setattr(xdr, args, args->server, &hdr); in nfs4_xdr_enc_setattr()
2567 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_setattr()
2568 encode_nops(&hdr); in nfs4_xdr_enc_setattr()
2578 struct compound_hdr hdr = { in nfs4_xdr_enc_getacl() local
2586 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_getacl()
2587 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_getacl()
2588 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_getacl()
2589 replen = hdr.replen + op_decode_hdr_maxsz; in nfs4_xdr_enc_getacl()
2591 ARRAY_SIZE(nfs4_acl_bitmap), &hdr); in nfs4_xdr_enc_getacl()
2596 encode_nops(&hdr); in nfs4_xdr_enc_getacl()
2606 struct compound_hdr hdr = { in nfs4_xdr_enc_write() local
2610 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_write()
2611 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_write()
2612 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_write()
2613 encode_write(xdr, args, &hdr); in nfs4_xdr_enc_write()
2616 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_write()
2617 encode_nops(&hdr); in nfs4_xdr_enc_write()
2627 struct compound_hdr hdr = { in nfs4_xdr_enc_commit() local
2631 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_commit()
2632 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_commit()
2633 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_commit()
2634 encode_commit(xdr, args, &hdr); in nfs4_xdr_enc_commit()
2635 encode_nops(&hdr); in nfs4_xdr_enc_commit()
2645 struct compound_hdr hdr = { in nfs4_xdr_enc_fsinfo() local
2649 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_fsinfo()
2650 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_fsinfo()
2651 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_fsinfo()
2652 encode_fsinfo(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_fsinfo()
2653 encode_nops(&hdr); in nfs4_xdr_enc_fsinfo()
2663 struct compound_hdr hdr = { in nfs4_xdr_enc_pathconf() local
2667 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_pathconf()
2668 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_pathconf()
2669 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_pathconf()
2671 ARRAY_SIZE(nfs4_pathconf_bitmap), &hdr); in nfs4_xdr_enc_pathconf()
2672 encode_nops(&hdr); in nfs4_xdr_enc_pathconf()
2682 struct compound_hdr hdr = { in nfs4_xdr_enc_statfs() local
2686 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_statfs()
2687 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_statfs()
2688 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_statfs()
2690 ARRAY_SIZE(nfs4_statfs_bitmap), &hdr); in nfs4_xdr_enc_statfs()
2691 encode_nops(&hdr); in nfs4_xdr_enc_statfs()
2703 struct compound_hdr hdr = { in nfs4_xdr_enc_server_caps() local
2707 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_server_caps()
2708 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_server_caps()
2709 encode_putfh(xdr, args->fhandle, &hdr); in nfs4_xdr_enc_server_caps()
2710 encode_getattr(xdr, bitmask, NULL, 3, &hdr); in nfs4_xdr_enc_server_caps()
2711 encode_nops(&hdr); in nfs4_xdr_enc_server_caps()
2722 struct compound_hdr hdr = { in nfs4_xdr_enc_renew() local
2726 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_renew()
2727 encode_renew(xdr, clp->cl_clientid, &hdr); in nfs4_xdr_enc_renew()
2728 encode_nops(&hdr); in nfs4_xdr_enc_renew()
2739 struct compound_hdr hdr = { in nfs4_xdr_enc_setclientid() local
2743 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_setclientid()
2744 encode_setclientid(xdr, sc, &hdr); in nfs4_xdr_enc_setclientid()
2745 encode_nops(&hdr); in nfs4_xdr_enc_setclientid()
2756 struct compound_hdr hdr = { in nfs4_xdr_enc_setclientid_confirm() local
2760 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_setclientid_confirm()
2761 encode_setclientid_confirm(xdr, arg, &hdr); in nfs4_xdr_enc_setclientid_confirm()
2762 encode_nops(&hdr); in nfs4_xdr_enc_setclientid_confirm()
2773 struct compound_hdr hdr = { in nfs4_xdr_enc_delegreturn() local
2777 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_delegreturn()
2778 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_delegreturn()
2779 encode_putfh(xdr, args->fhandle, &hdr); in nfs4_xdr_enc_delegreturn()
2781 encode_layoutreturn(xdr, args->lr_args, &hdr); in nfs4_xdr_enc_delegreturn()
2783 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_delegreturn()
2784 encode_delegreturn(xdr, args->stateid, &hdr); in nfs4_xdr_enc_delegreturn()
2785 encode_nops(&hdr); in nfs4_xdr_enc_delegreturn()
2796 struct compound_hdr hdr = { in nfs4_xdr_enc_fs_locations() local
2801 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_fs_locations()
2802 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_fs_locations()
2804 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_fs_locations()
2805 replen = hdr.replen; in nfs4_xdr_enc_fs_locations()
2806 encode_fs_locations(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_fs_locations()
2808 encode_renew(xdr, args->clientid, &hdr); in nfs4_xdr_enc_fs_locations()
2810 encode_putfh(xdr, args->dir_fh, &hdr); in nfs4_xdr_enc_fs_locations()
2811 encode_lookup(xdr, args->name, &hdr); in nfs4_xdr_enc_fs_locations()
2812 replen = hdr.replen; in nfs4_xdr_enc_fs_locations()
2813 encode_fs_locations(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_fs_locations()
2819 encode_nops(&hdr); in nfs4_xdr_enc_fs_locations()
2830 struct compound_hdr hdr = { in nfs4_xdr_enc_secinfo() local
2834 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_secinfo()
2835 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_secinfo()
2836 encode_putfh(xdr, args->dir_fh, &hdr); in nfs4_xdr_enc_secinfo()
2837 encode_secinfo(xdr, args->name, &hdr); in nfs4_xdr_enc_secinfo()
2838 encode_nops(&hdr); in nfs4_xdr_enc_secinfo()
2849 struct compound_hdr hdr = { in nfs4_xdr_enc_fsid_present() local
2853 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_fsid_present()
2854 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_fsid_present()
2855 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_fsid_present()
2856 encode_getfh(xdr, &hdr); in nfs4_xdr_enc_fsid_present()
2858 encode_renew(xdr, args->clientid, &hdr); in nfs4_xdr_enc_fsid_present()
2859 encode_nops(&hdr); in nfs4_xdr_enc_fsid_present()
2871 struct compound_hdr hdr = { in nfs4_xdr_enc_bind_conn_to_session() local
2875 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_bind_conn_to_session()
2876 encode_bind_conn_to_session(xdr, args, &hdr); in nfs4_xdr_enc_bind_conn_to_session()
2877 encode_nops(&hdr); in nfs4_xdr_enc_bind_conn_to_session()
2888 struct compound_hdr hdr = { in nfs4_xdr_enc_exchange_id() local
2892 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_exchange_id()
2893 encode_exchange_id(xdr, args, &hdr); in nfs4_xdr_enc_exchange_id()
2894 encode_nops(&hdr); in nfs4_xdr_enc_exchange_id()
2905 struct compound_hdr hdr = { in nfs4_xdr_enc_create_session() local
2909 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_create_session()
2910 encode_create_session(xdr, args, &hdr); in nfs4_xdr_enc_create_session()
2911 encode_nops(&hdr); in nfs4_xdr_enc_create_session()
2922 struct compound_hdr hdr = { in nfs4_xdr_enc_destroy_session() local
2926 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_destroy_session()
2927 encode_destroy_session(xdr, session, &hdr); in nfs4_xdr_enc_destroy_session()
2928 encode_nops(&hdr); in nfs4_xdr_enc_destroy_session()
2939 struct compound_hdr hdr = { in nfs4_xdr_enc_destroy_clientid() local
2943 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_destroy_clientid()
2944 encode_destroy_clientid(xdr, clp->cl_clientid, &hdr); in nfs4_xdr_enc_destroy_clientid()
2945 encode_nops(&hdr); in nfs4_xdr_enc_destroy_clientid()
2955 struct compound_hdr hdr = { in nfs4_xdr_enc_sequence() local
2959 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_sequence()
2960 encode_sequence(xdr, args, &hdr); in nfs4_xdr_enc_sequence()
2961 encode_nops(&hdr); in nfs4_xdr_enc_sequence()
2972 struct compound_hdr hdr = { in nfs4_xdr_enc_get_lease_time() local
2977 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_get_lease_time()
2978 encode_sequence(xdr, &args->la_seq_args, &hdr); in nfs4_xdr_enc_get_lease_time()
2979 encode_putrootfh(xdr, &hdr); in nfs4_xdr_enc_get_lease_time()
2980 encode_fsinfo(xdr, lease_bitmap, &hdr); in nfs4_xdr_enc_get_lease_time()
2981 encode_nops(&hdr); in nfs4_xdr_enc_get_lease_time()
2992 struct compound_hdr hdr = { in nfs4_xdr_enc_reclaim_complete() local
2996 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_reclaim_complete()
2997 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_reclaim_complete()
2998 encode_reclaim_complete(xdr, args, &hdr); in nfs4_xdr_enc_reclaim_complete()
2999 encode_nops(&hdr); in nfs4_xdr_enc_reclaim_complete()
3010 struct compound_hdr hdr = { in nfs4_xdr_enc_getdeviceinfo() local
3014 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_getdeviceinfo()
3015 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_getdeviceinfo()
3016 encode_getdeviceinfo(xdr, args, &hdr); in nfs4_xdr_enc_getdeviceinfo()
3020 xdr_inline_pages(&req->rq_rcv_buf, (hdr.replen - 2) << 2, in nfs4_xdr_enc_getdeviceinfo()
3024 encode_nops(&hdr); in nfs4_xdr_enc_getdeviceinfo()
3035 struct compound_hdr hdr = { in nfs4_xdr_enc_layoutget() local
3039 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_layoutget()
3040 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_layoutget()
3041 encode_putfh(xdr, NFS_FH(args->inode), &hdr); in nfs4_xdr_enc_layoutget()
3042 encode_layoutget(xdr, args, &hdr); in nfs4_xdr_enc_layoutget()
3044 xdr_inline_pages(&req->rq_rcv_buf, hdr.replen << 2, in nfs4_xdr_enc_layoutget()
3047 encode_nops(&hdr); in nfs4_xdr_enc_layoutget()
3060 struct compound_hdr hdr = { in nfs4_xdr_enc_layoutcommit() local
3064 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_layoutcommit()
3065 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_layoutcommit()
3066 encode_putfh(xdr, NFS_FH(args->inode), &hdr); in nfs4_xdr_enc_layoutcommit()
3067 encode_layoutcommit(xdr, data->args.inode, args, &hdr); in nfs4_xdr_enc_layoutcommit()
3068 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_layoutcommit()
3069 encode_nops(&hdr); in nfs4_xdr_enc_layoutcommit()
3080 struct compound_hdr hdr = { in nfs4_xdr_enc_layoutreturn() local
3084 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_layoutreturn()
3085 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_layoutreturn()
3086 encode_putfh(xdr, NFS_FH(args->inode), &hdr); in nfs4_xdr_enc_layoutreturn()
3087 encode_layoutreturn(xdr, args, &hdr); in nfs4_xdr_enc_layoutreturn()
3088 encode_nops(&hdr); in nfs4_xdr_enc_layoutreturn()
3099 struct compound_hdr hdr = { in nfs4_xdr_enc_secinfo_no_name() local
3103 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_secinfo_no_name()
3104 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_secinfo_no_name()
3105 encode_putrootfh(xdr, &hdr); in nfs4_xdr_enc_secinfo_no_name()
3106 encode_secinfo_no_name(xdr, args, &hdr); in nfs4_xdr_enc_secinfo_no_name()
3107 encode_nops(&hdr); in nfs4_xdr_enc_secinfo_no_name()
3118 struct compound_hdr hdr = { in nfs4_xdr_enc_test_stateid() local
3122 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_test_stateid()
3123 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_test_stateid()
3124 encode_test_stateid(xdr, args, &hdr); in nfs4_xdr_enc_test_stateid()
3125 encode_nops(&hdr); in nfs4_xdr_enc_test_stateid()
3136 struct compound_hdr hdr = { in nfs4_xdr_enc_free_stateid() local
3140 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_free_stateid()
3141 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_free_stateid()
3142 encode_free_stateid(xdr, args, &hdr); in nfs4_xdr_enc_free_stateid()
3143 encode_nops(&hdr); in nfs4_xdr_enc_free_stateid()
3167 static int decode_compound_hdr(struct xdr_stream *xdr, struct compound_hdr *hdr) in decode_compound_hdr() argument
3174 hdr->status = be32_to_cpup(p++); in decode_compound_hdr()
3175 hdr->taglen = be32_to_cpup(p); in decode_compound_hdr()
3177 p = xdr_inline_decode(xdr, hdr->taglen + 4); in decode_compound_hdr()
3180 hdr->tag = (char *)p; in decode_compound_hdr()
3181 p += XDR_QUADLEN(hdr->taglen); in decode_compound_hdr()
3182 hdr->nops = be32_to_cpup(p); in decode_compound_hdr()
3183 if (unlikely(hdr->nops < 1)) in decode_compound_hdr()
3184 return nfs4_stat_to_errno(hdr->status); in decode_compound_hdr()
6244 struct compound_hdr hdr; in nfs4_xdr_dec_open_downgrade() local
6247 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_open_downgrade()
6274 struct compound_hdr hdr; in nfs4_xdr_dec_access() local
6277 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_access()
6302 struct compound_hdr hdr; in nfs4_xdr_dec_lookup() local
6305 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_lookup()
6332 struct compound_hdr hdr; in nfs4_xdr_dec_lookupp() local
6335 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_lookupp()
6363 struct compound_hdr hdr; in nfs4_xdr_dec_lookup_root() local
6366 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_lookup_root()
6390 struct compound_hdr hdr; in nfs4_xdr_dec_remove() local
6393 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_remove()
6414 struct compound_hdr hdr; in nfs4_xdr_dec_rename() local
6417 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_rename()
6444 struct compound_hdr hdr; in nfs4_xdr_dec_link() local
6447 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_link()
6484 struct compound_hdr hdr; in nfs4_xdr_dec_create() local
6487 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_create()
6523 struct compound_hdr hdr; in nfs4_xdr_dec_getattr() local
6526 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_getattr()
6547 struct compound_hdr hdr = { in nfs4_xdr_enc_setacl() local
6551 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_setacl()
6552 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_setacl()
6553 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_setacl()
6554 encode_setacl(xdr, args, &hdr); in nfs4_xdr_enc_setacl()
6555 encode_nops(&hdr); in nfs4_xdr_enc_setacl()
6566 struct compound_hdr hdr; in nfs4_xdr_dec_setacl() local
6569 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_setacl()
6591 struct compound_hdr hdr; in nfs4_xdr_dec_getacl() local
6598 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_getacl()
6620 struct compound_hdr hdr; in nfs4_xdr_dec_close() local
6623 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_close()
6655 struct compound_hdr hdr; in nfs4_xdr_dec_open() local
6658 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_open()
6690 struct compound_hdr hdr; in nfs4_xdr_dec_open_confirm() local
6693 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_open_confirm()
6712 struct compound_hdr hdr; in nfs4_xdr_dec_open_noattr() local
6715 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_open_noattr()
6744 struct compound_hdr hdr; in nfs4_xdr_dec_setattr() local
6747 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_setattr()
6771 struct compound_hdr hdr; in nfs4_xdr_dec_lock() local
6774 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_lock()
6795 struct compound_hdr hdr; in nfs4_xdr_dec_lockt() local
6798 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_lockt()
6819 struct compound_hdr hdr; in nfs4_xdr_dec_locku() local
6822 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_locku()
6839 struct compound_hdr hdr; in nfs4_xdr_dec_release_lockowner() local
6842 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_release_lockowner()
6856 struct compound_hdr hdr; in nfs4_xdr_dec_readlink() local
6859 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_readlink()
6880 struct compound_hdr hdr; in nfs4_xdr_dec_readdir() local
6883 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_readdir()
6904 struct compound_hdr hdr; in nfs4_xdr_dec_read() local
6907 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_read()
6908 res->op_status = hdr.status; in nfs4_xdr_dec_read()
6931 struct compound_hdr hdr; in nfs4_xdr_dec_write() local
6934 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_write()
6935 res->op_status = hdr.status; in nfs4_xdr_dec_write()
6962 struct compound_hdr hdr; in nfs4_xdr_dec_commit() local
6965 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_commit()
6966 res->op_status = hdr.status; in nfs4_xdr_dec_commit()
6987 struct compound_hdr hdr; in nfs4_xdr_dec_fsinfo() local
6990 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_fsinfo()
7007 struct compound_hdr hdr; in nfs4_xdr_dec_pathconf() local
7010 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_pathconf()
7027 struct compound_hdr hdr; in nfs4_xdr_dec_statfs() local
7030 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_statfs()
7048 struct compound_hdr hdr; in nfs4_xdr_dec_server_caps() local
7051 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_server_caps()
7071 struct compound_hdr hdr; in nfs4_xdr_dec_renew() local
7074 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_renew()
7088 struct compound_hdr hdr; in nfs4_xdr_dec_setclientid() local
7091 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_setclientid()
7104 struct compound_hdr hdr; in nfs4_xdr_dec_setclientid_confirm() local
7107 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_setclientid_confirm()
7121 struct compound_hdr hdr; in nfs4_xdr_dec_delegreturn() local
7124 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_delegreturn()
7157 struct compound_hdr hdr; in nfs4_xdr_dec_fs_locations() local
7160 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_fs_locations()
7201 struct compound_hdr hdr; in nfs4_xdr_dec_secinfo() local
7204 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_secinfo()
7226 struct compound_hdr hdr; in nfs4_xdr_dec_fsid_present() local
7229 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_fsid_present()
7255 struct compound_hdr hdr; in nfs4_xdr_dec_bind_conn_to_session() local
7258 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_bind_conn_to_session()
7271 struct compound_hdr hdr; in nfs4_xdr_dec_exchange_id() local
7274 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_exchange_id()
7287 struct compound_hdr hdr; in nfs4_xdr_dec_create_session() local
7290 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_create_session()
7303 struct compound_hdr hdr; in nfs4_xdr_dec_destroy_session() local
7306 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_destroy_session()
7319 struct compound_hdr hdr; in nfs4_xdr_dec_destroy_clientid() local
7322 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_destroy_clientid()
7335 struct compound_hdr hdr; in nfs4_xdr_dec_sequence() local
7338 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_sequence()
7352 struct compound_hdr hdr; in nfs4_xdr_dec_get_lease_time() local
7355 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_get_lease_time()
7373 struct compound_hdr hdr; in nfs4_xdr_dec_reclaim_complete() local
7376 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_reclaim_complete()
7392 struct compound_hdr hdr; in nfs4_xdr_dec_getdeviceinfo() local
7395 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_getdeviceinfo()
7414 struct compound_hdr hdr; in nfs4_xdr_dec_layoutget() local
7417 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layoutget()
7439 struct compound_hdr hdr; in nfs4_xdr_dec_layoutreturn() local
7442 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layoutreturn()
7464 struct compound_hdr hdr; in nfs4_xdr_dec_layoutcommit() local
7467 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layoutcommit()
7492 struct compound_hdr hdr; in nfs4_xdr_dec_secinfo_no_name() local
7495 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_secinfo_no_name()
7517 struct compound_hdr hdr; in nfs4_xdr_dec_test_stateid() local
7520 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_test_stateid()
7539 struct compound_hdr hdr; in nfs4_xdr_dec_free_stateid() local
7542 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_free_stateid()