Lines Matching refs:hdr
957 struct compound_hdr *hdr) in encode_compound_hdr() argument
965 hdr->replen = RPC_REPHDRSIZE + auth->au_rslack + 3 + hdr->taglen; in encode_compound_hdr()
967 WARN_ON_ONCE(hdr->taglen > NFS4_MAXTAGLEN); in encode_compound_hdr()
968 encode_string(xdr, hdr->taglen, hdr->tag); in encode_compound_hdr()
970 *p++ = cpu_to_be32(hdr->minorversion); in encode_compound_hdr()
971 hdr->nops_p = p; in encode_compound_hdr()
972 *p = cpu_to_be32(hdr->nops); in encode_compound_hdr()
977 struct compound_hdr *hdr) in encode_op_hdr() argument
980 hdr->nops++; in encode_op_hdr()
981 hdr->replen += replen; in encode_op_hdr()
984 static void encode_nops(struct compound_hdr *hdr) in encode_nops() argument
986 WARN_ON_ONCE(hdr->nops > NFS4_MAX_OPS); in encode_nops()
987 *hdr->nops_p = htonl(hdr->nops); in encode_nops()
1121 static void encode_access(struct xdr_stream *xdr, u32 access, struct compound_hdr *hdr) in encode_access() argument
1123 encode_op_hdr(xdr, OP_ACCESS, decode_access_maxsz, hdr); in encode_access()
1127 …oid encode_close(struct xdr_stream *xdr, const struct nfs_closeargs *arg, struct compound_hdr *hdr) in encode_close() argument
1129 encode_op_hdr(xdr, OP_CLOSE, decode_close_maxsz, hdr); in encode_close()
1134 … encode_commit(struct xdr_stream *xdr, const struct nfs_commitargs *args, struct compound_hdr *hdr) in encode_commit() argument
1138 encode_op_hdr(xdr, OP_COMMIT, decode_commit_maxsz, hdr); in encode_commit()
1144 …code_create(struct xdr_stream *xdr, const struct nfs4_create_arg *create, struct compound_hdr *hdr) in encode_create() argument
1148 encode_op_hdr(xdr, OP_CREATE, decode_create_maxsz, hdr); in encode_create()
1172 static void encode_getattr_one(struct xdr_stream *xdr, uint32_t bitmap, struct compound_hdr *hdr) in encode_getattr_one() argument
1176 encode_op_hdr(xdr, OP_GETATTR, decode_getattr_maxsz, hdr); in encode_getattr_one()
1182 …id encode_getattr_two(struct xdr_stream *xdr, uint32_t bm0, uint32_t bm1, struct compound_hdr *hdr) in encode_getattr_two() argument
1186 encode_op_hdr(xdr, OP_GETATTR, decode_getattr_maxsz, hdr); in encode_getattr_two()
1196 struct compound_hdr *hdr) in encode_getattr_three() argument
1200 encode_op_hdr(xdr, OP_GETATTR, decode_getattr_maxsz, hdr); in encode_getattr_three()
1219 static void encode_getfattr(struct xdr_stream *xdr, const u32* bitmask, struct compound_hdr *hdr) in encode_getfattr() argument
1224 hdr); in encode_getfattr()
1229 struct compound_hdr *hdr) in encode_getfattr_open() argument
1235 hdr); in encode_getfattr_open()
1238 static void encode_fsinfo(struct xdr_stream *xdr, const u32* bitmask, struct compound_hdr *hdr) in encode_fsinfo() argument
1244 hdr); in encode_fsinfo()
1247 …atic void encode_fs_locations(struct xdr_stream *xdr, const u32* bitmask, struct compound_hdr *hdr) in encode_fs_locations() argument
1250 bitmask[1] & nfs4_fs_locations_bitmap[1], hdr); in encode_fs_locations()
1253 static void encode_getfh(struct xdr_stream *xdr, struct compound_hdr *hdr) in encode_getfh() argument
1255 encode_op_hdr(xdr, OP_GETFH, decode_getfh_maxsz, hdr); in encode_getfh()
1258 static void encode_link(struct xdr_stream *xdr, const struct qstr *name, struct compound_hdr *hdr) in encode_link() argument
1260 encode_op_hdr(xdr, OP_LINK, decode_link_maxsz, hdr); in encode_link()
1294 …oid encode_lock(struct xdr_stream *xdr, const struct nfs_lock_args *args, struct compound_hdr *hdr) in encode_lock() argument
1298 encode_op_hdr(xdr, OP_LOCK, decode_lock_maxsz, hdr); in encode_lock()
1317 …d encode_lockt(struct xdr_stream *xdr, const struct nfs_lockt_args *args, struct compound_hdr *hdr) in encode_lockt() argument
1321 encode_op_hdr(xdr, OP_LOCKT, decode_lockt_maxsz, hdr); in encode_lockt()
1329 …d encode_locku(struct xdr_stream *xdr, const struct nfs_locku_args *args, struct compound_hdr *hdr) in encode_locku() argument
1333 encode_op_hdr(xdr, OP_LOCKU, decode_locku_maxsz, hdr); in encode_locku()
1342 …elease_lockowner(struct xdr_stream *xdr, const struct nfs_lowner *lowner, struct compound_hdr *hdr) in encode_release_lockowner() argument
1344 encode_op_hdr(xdr, OP_RELEASE_LOCKOWNER, decode_release_lockowner_maxsz, hdr); in encode_release_lockowner()
1348 static void encode_lookup(struct xdr_stream *xdr, const struct qstr *name, struct compound_hdr *hdr) in encode_lookup() argument
1350 encode_op_hdr(xdr, OP_LOOKUP, decode_lookup_maxsz, hdr); in encode_lookup()
1488 … void encode_open(struct xdr_stream *xdr, const struct nfs_openargs *arg, struct compound_hdr *hdr) in encode_open() argument
1490 encode_op_hdr(xdr, OP_OPEN, decode_open_maxsz, hdr); in encode_open()
1514 …n_confirm(struct xdr_stream *xdr, const struct nfs_open_confirmargs *arg, struct compound_hdr *hdr) in encode_open_confirm() argument
1516 encode_op_hdr(xdr, OP_OPEN_CONFIRM, decode_open_confirm_maxsz, hdr); in encode_open_confirm()
1521 …e_open_downgrade(struct xdr_stream *xdr, const struct nfs_closeargs *arg, struct compound_hdr *hdr) in encode_open_downgrade() argument
1523 encode_op_hdr(xdr, OP_OPEN_DOWNGRADE, decode_open_downgrade_maxsz, hdr); in encode_open_downgrade()
1530 encode_putfh(struct xdr_stream *xdr, const struct nfs_fh *fh, struct compound_hdr *hdr) in encode_putfh() argument
1532 encode_op_hdr(xdr, OP_PUTFH, decode_putfh_maxsz, hdr); in encode_putfh()
1536 static void encode_putrootfh(struct xdr_stream *xdr, struct compound_hdr *hdr) in encode_putrootfh() argument
1538 encode_op_hdr(xdr, OP_PUTROOTFH, decode_putrootfh_maxsz, hdr); in encode_putrootfh()
1542 struct compound_hdr *hdr) in encode_read() argument
1546 encode_op_hdr(xdr, OP_READ, decode_read_maxsz, hdr); in encode_read()
1554 …tream *xdr, const struct nfs4_readdir_arg *readdir, struct rpc_rqst *req, struct compound_hdr *hdr) in encode_readdir() argument
1584 encode_op_hdr(xdr, OP_READDIR, decode_readdir_maxsz, hdr); in encode_readdir()
1604 …_stream *xdr, const struct nfs4_readlink *readlink, struct rpc_rqst *req, struct compound_hdr *hdr) in encode_readlink() argument
1606 encode_op_hdr(xdr, OP_READLINK, decode_readlink_maxsz, hdr); in encode_readlink()
1609 static void encode_remove(struct xdr_stream *xdr, const struct qstr *name, struct compound_hdr *hdr) in encode_remove() argument
1611 encode_op_hdr(xdr, OP_REMOVE, decode_remove_maxsz, hdr); in encode_remove()
1615 … xdr_stream *xdr, const struct qstr *oldname, const struct qstr *newname, struct compound_hdr *hdr) in encode_rename() argument
1617 encode_op_hdr(xdr, OP_RENAME, decode_rename_maxsz, hdr); in encode_rename()
1623 struct compound_hdr *hdr) in encode_renew() argument
1625 encode_op_hdr(xdr, OP_RENEW, decode_renew_maxsz, hdr); in encode_renew()
1630 encode_restorefh(struct xdr_stream *xdr, struct compound_hdr *hdr) in encode_restorefh() argument
1632 encode_op_hdr(xdr, OP_RESTOREFH, decode_restorefh_maxsz, hdr); in encode_restorefh()
1636 encode_setacl(struct xdr_stream *xdr, struct nfs_setaclargs *arg, struct compound_hdr *hdr) in encode_setacl() argument
1640 encode_op_hdr(xdr, OP_SETATTR, decode_setacl_maxsz, hdr); in encode_setacl()
1651 encode_savefh(struct xdr_stream *xdr, struct compound_hdr *hdr) in encode_savefh() argument
1653 encode_op_hdr(xdr, OP_SAVEFH, decode_savefh_maxsz, hdr); in encode_savefh()
1656 …*xdr, const struct nfs_setattrargs *arg, const struct nfs_server *server, struct compound_hdr *hdr) in encode_setattr() argument
1658 encode_op_hdr(xdr, OP_SETATTR, decode_setattr_maxsz, hdr); in encode_setattr()
1663 …entid(struct xdr_stream *xdr, const struct nfs4_setclientid *setclientid, struct compound_hdr *hdr) in encode_setclientid() argument
1667 encode_op_hdr(xdr, OP_SETCLIENTID, decode_setclientid_maxsz, hdr); in encode_setclientid()
1679 …d_confirm(struct xdr_stream *xdr, const struct nfs4_setclientid_res *arg, struct compound_hdr *hdr) in encode_setclientid_confirm() argument
1682 decode_setclientid_confirm_maxsz, hdr); in encode_setclientid_confirm()
1688 struct compound_hdr *hdr) in encode_write() argument
1692 encode_op_hdr(xdr, OP_WRITE, decode_write_maxsz, hdr); in encode_write()
1703 …d encode_delegreturn(struct xdr_stream *xdr, const nfs4_stateid *stateid, struct compound_hdr *hdr) in encode_delegreturn() argument
1705 encode_op_hdr(xdr, OP_DELEGRETURN, decode_delegreturn_maxsz, hdr); in encode_delegreturn()
1709 …atic void encode_secinfo(struct xdr_stream *xdr, const struct qstr *name, struct compound_hdr *hdr) in encode_secinfo() argument
1711 encode_op_hdr(xdr, OP_SECINFO, decode_secinfo_maxsz, hdr); in encode_secinfo()
1719 struct compound_hdr *hdr) in encode_bind_conn_to_session() argument
1724 decode_bind_conn_to_session_maxsz, hdr); in encode_bind_conn_to_session()
1741 struct compound_hdr *hdr) in encode_exchange_id() argument
1747 encode_op_hdr(xdr, OP_EXCHANGE_ID, decode_exchange_id_maxsz, hdr); in encode_exchange_id()
1792 struct compound_hdr *hdr) in encode_create_session() argument
1807 encode_op_hdr(xdr, OP_CREATE_SESSION, decode_create_session_maxsz, hdr); in encode_create_session()
1845 struct compound_hdr *hdr) in encode_destroy_session() argument
1847 encode_op_hdr(xdr, OP_DESTROY_SESSION, decode_destroy_session_maxsz, hdr); in encode_destroy_session()
1853 struct compound_hdr *hdr) in encode_destroy_clientid() argument
1855 encode_op_hdr(xdr, OP_DESTROY_CLIENTID, decode_destroy_clientid_maxsz, hdr); in encode_destroy_clientid()
1861 struct compound_hdr *hdr) in encode_reclaim_complete() argument
1863 encode_op_hdr(xdr, OP_RECLAIM_COMPLETE, decode_reclaim_complete_maxsz, hdr); in encode_reclaim_complete()
1870 struct compound_hdr *hdr) in encode_sequence() argument
1883 encode_op_hdr(xdr, OP_SEQUENCE, decode_sequence_maxsz, hdr); in encode_sequence()
1910 struct compound_hdr *hdr) in encode_getdeviceinfo() argument
1914 encode_op_hdr(xdr, OP_GETDEVICEINFO, decode_getdeviceinfo_maxsz, hdr); in encode_getdeviceinfo()
1929 struct compound_hdr *hdr) in encode_layoutget() argument
1933 encode_op_hdr(xdr, OP_LAYOUTGET, decode_layoutget_maxsz, hdr); in encode_layoutget()
1957 struct compound_hdr *hdr) in encode_layoutcommit() argument
1964 encode_op_hdr(xdr, OP_LAYOUTCOMMIT, decode_layoutcommit_maxsz, hdr); in encode_layoutcommit()
1994 struct compound_hdr *hdr) in encode_layoutreturn() argument
1998 encode_op_hdr(xdr, OP_LAYOUTRETURN, decode_layoutreturn_maxsz, hdr); in encode_layoutreturn()
2020 struct compound_hdr *hdr) in encode_secinfo_no_name() argument
2022 encode_op_hdr(xdr, OP_SECINFO_NO_NAME, decode_secinfo_no_name_maxsz, hdr); in encode_secinfo_no_name()
2029 struct compound_hdr *hdr) in encode_test_stateid() argument
2031 encode_op_hdr(xdr, OP_TEST_STATEID, decode_test_stateid_maxsz, hdr); in encode_test_stateid()
2038 struct compound_hdr *hdr) in encode_free_stateid() argument
2040 encode_op_hdr(xdr, OP_FREE_STATEID, decode_free_stateid_maxsz, hdr); in encode_free_stateid()
2065 struct compound_hdr hdr = { in nfs4_xdr_enc_access() local
2069 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_access()
2070 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_access()
2071 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_access()
2072 encode_access(xdr, args->access, &hdr); in nfs4_xdr_enc_access()
2073 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_access()
2074 encode_nops(&hdr); in nfs4_xdr_enc_access()
2083 struct compound_hdr hdr = { in nfs4_xdr_enc_lookup() local
2087 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_lookup()
2088 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_lookup()
2089 encode_putfh(xdr, args->dir_fh, &hdr); in nfs4_xdr_enc_lookup()
2090 encode_lookup(xdr, args->name, &hdr); in nfs4_xdr_enc_lookup()
2091 encode_getfh(xdr, &hdr); in nfs4_xdr_enc_lookup()
2092 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_lookup()
2093 encode_nops(&hdr); in nfs4_xdr_enc_lookup()
2103 struct compound_hdr hdr = { in nfs4_xdr_enc_lookup_root() local
2107 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_lookup_root()
2108 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_lookup_root()
2109 encode_putrootfh(xdr, &hdr); in nfs4_xdr_enc_lookup_root()
2110 encode_getfh(xdr, &hdr); in nfs4_xdr_enc_lookup_root()
2111 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_lookup_root()
2112 encode_nops(&hdr); in nfs4_xdr_enc_lookup_root()
2121 struct compound_hdr hdr = { in nfs4_xdr_enc_remove() local
2125 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_remove()
2126 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_remove()
2127 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_remove()
2128 encode_remove(xdr, &args->name, &hdr); in nfs4_xdr_enc_remove()
2129 encode_nops(&hdr); in nfs4_xdr_enc_remove()
2138 struct compound_hdr hdr = { in nfs4_xdr_enc_rename() local
2142 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_rename()
2143 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_rename()
2144 encode_putfh(xdr, args->old_dir, &hdr); in nfs4_xdr_enc_rename()
2145 encode_savefh(xdr, &hdr); in nfs4_xdr_enc_rename()
2146 encode_putfh(xdr, args->new_dir, &hdr); in nfs4_xdr_enc_rename()
2147 encode_rename(xdr, args->old_name, args->new_name, &hdr); in nfs4_xdr_enc_rename()
2148 encode_nops(&hdr); in nfs4_xdr_enc_rename()
2157 struct compound_hdr hdr = { in nfs4_xdr_enc_link() local
2161 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_link()
2162 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_link()
2163 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_link()
2164 encode_savefh(xdr, &hdr); in nfs4_xdr_enc_link()
2165 encode_putfh(xdr, args->dir_fh, &hdr); in nfs4_xdr_enc_link()
2166 encode_link(xdr, args->name, &hdr); in nfs4_xdr_enc_link()
2167 encode_restorefh(xdr, &hdr); in nfs4_xdr_enc_link()
2168 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_link()
2169 encode_nops(&hdr); in nfs4_xdr_enc_link()
2178 struct compound_hdr hdr = { in nfs4_xdr_enc_create() local
2182 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_create()
2183 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_create()
2184 encode_putfh(xdr, args->dir_fh, &hdr); in nfs4_xdr_enc_create()
2185 encode_create(xdr, args, &hdr); in nfs4_xdr_enc_create()
2186 encode_getfh(xdr, &hdr); in nfs4_xdr_enc_create()
2187 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_create()
2188 encode_nops(&hdr); in nfs4_xdr_enc_create()
2206 struct compound_hdr hdr = { in nfs4_xdr_enc_getattr() local
2210 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_getattr()
2211 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_getattr()
2212 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_getattr()
2213 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_getattr()
2214 encode_nops(&hdr); in nfs4_xdr_enc_getattr()
2223 struct compound_hdr hdr = { in nfs4_xdr_enc_close() local
2227 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_close()
2228 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_close()
2229 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_close()
2230 encode_close(xdr, args, &hdr); in nfs4_xdr_enc_close()
2231 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_close()
2232 encode_nops(&hdr); in nfs4_xdr_enc_close()
2241 struct compound_hdr hdr = { in nfs4_xdr_enc_open() local
2245 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_open()
2246 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_open()
2247 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_open()
2248 encode_open(xdr, args, &hdr); in nfs4_xdr_enc_open()
2249 encode_getfh(xdr, &hdr); in nfs4_xdr_enc_open()
2251 encode_access(xdr, args->access, &hdr); in nfs4_xdr_enc_open()
2252 encode_getfattr_open(xdr, args->bitmask, args->open_bitmap, &hdr); in nfs4_xdr_enc_open()
2253 encode_nops(&hdr); in nfs4_xdr_enc_open()
2263 struct compound_hdr hdr = { in nfs4_xdr_enc_open_confirm() local
2267 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_open_confirm()
2268 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_open_confirm()
2269 encode_open_confirm(xdr, args, &hdr); in nfs4_xdr_enc_open_confirm()
2270 encode_nops(&hdr); in nfs4_xdr_enc_open_confirm()
2280 struct compound_hdr hdr = { in nfs4_xdr_enc_open_noattr() local
2284 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_open_noattr()
2285 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_open_noattr()
2286 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_open_noattr()
2287 encode_open(xdr, args, &hdr); in nfs4_xdr_enc_open_noattr()
2289 encode_access(xdr, args->access, &hdr); in nfs4_xdr_enc_open_noattr()
2290 encode_getfattr_open(xdr, args->bitmask, args->open_bitmap, &hdr); in nfs4_xdr_enc_open_noattr()
2291 encode_nops(&hdr); in nfs4_xdr_enc_open_noattr()
2301 struct compound_hdr hdr = { in nfs4_xdr_enc_open_downgrade() local
2305 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_open_downgrade()
2306 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_open_downgrade()
2307 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_open_downgrade()
2308 encode_open_downgrade(xdr, args, &hdr); in nfs4_xdr_enc_open_downgrade()
2309 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_open_downgrade()
2310 encode_nops(&hdr); in nfs4_xdr_enc_open_downgrade()
2319 struct compound_hdr hdr = { in nfs4_xdr_enc_lock() local
2323 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_lock()
2324 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_lock()
2325 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_lock()
2326 encode_lock(xdr, args, &hdr); in nfs4_xdr_enc_lock()
2327 encode_nops(&hdr); in nfs4_xdr_enc_lock()
2336 struct compound_hdr hdr = { in nfs4_xdr_enc_lockt() local
2340 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_lockt()
2341 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_lockt()
2342 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_lockt()
2343 encode_lockt(xdr, args, &hdr); in nfs4_xdr_enc_lockt()
2344 encode_nops(&hdr); in nfs4_xdr_enc_lockt()
2353 struct compound_hdr hdr = { in nfs4_xdr_enc_locku() local
2357 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_locku()
2358 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_locku()
2359 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_locku()
2360 encode_locku(xdr, args, &hdr); in nfs4_xdr_enc_locku()
2361 encode_nops(&hdr); in nfs4_xdr_enc_locku()
2368 struct compound_hdr hdr = { in nfs4_xdr_enc_release_lockowner() local
2372 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_release_lockowner()
2373 encode_release_lockowner(xdr, &args->lock_owner, &hdr); in nfs4_xdr_enc_release_lockowner()
2374 encode_nops(&hdr); in nfs4_xdr_enc_release_lockowner()
2383 struct compound_hdr hdr = { in nfs4_xdr_enc_readlink() local
2387 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_readlink()
2388 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_readlink()
2389 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_readlink()
2390 encode_readlink(xdr, args, req, &hdr); in nfs4_xdr_enc_readlink()
2392 xdr_inline_pages(&req->rq_rcv_buf, hdr.replen << 2, args->pages, in nfs4_xdr_enc_readlink()
2394 encode_nops(&hdr); in nfs4_xdr_enc_readlink()
2403 struct compound_hdr hdr = { in nfs4_xdr_enc_readdir() local
2407 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_readdir()
2408 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_readdir()
2409 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_readdir()
2410 encode_readdir(xdr, args, req, &hdr); in nfs4_xdr_enc_readdir()
2412 xdr_inline_pages(&req->rq_rcv_buf, hdr.replen << 2, args->pages, in nfs4_xdr_enc_readdir()
2415 __func__, hdr.replen << 2, args->pages, in nfs4_xdr_enc_readdir()
2417 encode_nops(&hdr); in nfs4_xdr_enc_readdir()
2426 struct compound_hdr hdr = { in nfs4_xdr_enc_read() local
2430 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_read()
2431 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_read()
2432 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_read()
2433 encode_read(xdr, args, &hdr); in nfs4_xdr_enc_read()
2435 xdr_inline_pages(&req->rq_rcv_buf, hdr.replen << 2, in nfs4_xdr_enc_read()
2438 encode_nops(&hdr); in nfs4_xdr_enc_read()
2447 struct compound_hdr hdr = { in nfs4_xdr_enc_setattr() local
2451 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_setattr()
2452 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_setattr()
2453 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_setattr()
2454 encode_setattr(xdr, args, args->server, &hdr); in nfs4_xdr_enc_setattr()
2455 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_setattr()
2456 encode_nops(&hdr); in nfs4_xdr_enc_setattr()
2465 struct compound_hdr hdr = { in nfs4_xdr_enc_getacl() local
2470 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_getacl()
2471 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_getacl()
2472 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_getacl()
2473 replen = hdr.replen + op_decode_hdr_maxsz + 1; in nfs4_xdr_enc_getacl()
2474 encode_getattr_two(xdr, FATTR4_WORD0_ACL, 0, &hdr); in nfs4_xdr_enc_getacl()
2479 encode_nops(&hdr); in nfs4_xdr_enc_getacl()
2488 struct compound_hdr hdr = { in nfs4_xdr_enc_write() local
2492 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_write()
2493 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_write()
2494 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_write()
2495 encode_write(xdr, args, &hdr); in nfs4_xdr_enc_write()
2498 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_write()
2499 encode_nops(&hdr); in nfs4_xdr_enc_write()
2508 struct compound_hdr hdr = { in nfs4_xdr_enc_commit() local
2512 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_commit()
2513 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_commit()
2514 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_commit()
2515 encode_commit(xdr, args, &hdr); in nfs4_xdr_enc_commit()
2516 encode_nops(&hdr); in nfs4_xdr_enc_commit()
2525 struct compound_hdr hdr = { in nfs4_xdr_enc_fsinfo() local
2529 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_fsinfo()
2530 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_fsinfo()
2531 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_fsinfo()
2532 encode_fsinfo(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_fsinfo()
2533 encode_nops(&hdr); in nfs4_xdr_enc_fsinfo()
2542 struct compound_hdr hdr = { in nfs4_xdr_enc_pathconf() local
2546 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_pathconf()
2547 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_pathconf()
2548 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_pathconf()
2550 &hdr); in nfs4_xdr_enc_pathconf()
2551 encode_nops(&hdr); in nfs4_xdr_enc_pathconf()
2560 struct compound_hdr hdr = { in nfs4_xdr_enc_statfs() local
2564 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_statfs()
2565 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_statfs()
2566 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_statfs()
2568 args->bitmask[1] & nfs4_statfs_bitmap[1], &hdr); in nfs4_xdr_enc_statfs()
2569 encode_nops(&hdr); in nfs4_xdr_enc_statfs()
2579 struct compound_hdr hdr = { in nfs4_xdr_enc_server_caps() local
2583 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_server_caps()
2584 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_server_caps()
2585 encode_putfh(xdr, args->fhandle, &hdr); in nfs4_xdr_enc_server_caps()
2590 FATTR4_WORD0_ACLSUPPORT, &hdr); in nfs4_xdr_enc_server_caps()
2591 encode_nops(&hdr); in nfs4_xdr_enc_server_caps()
2600 struct compound_hdr hdr = { in nfs4_xdr_enc_renew() local
2604 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_renew()
2605 encode_renew(xdr, clp->cl_clientid, &hdr); in nfs4_xdr_enc_renew()
2606 encode_nops(&hdr); in nfs4_xdr_enc_renew()
2616 struct compound_hdr hdr = { in nfs4_xdr_enc_setclientid() local
2620 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_setclientid()
2621 encode_setclientid(xdr, sc, &hdr); in nfs4_xdr_enc_setclientid()
2622 encode_nops(&hdr); in nfs4_xdr_enc_setclientid()
2632 struct compound_hdr hdr = { in nfs4_xdr_enc_setclientid_confirm() local
2636 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_setclientid_confirm()
2637 encode_setclientid_confirm(xdr, arg, &hdr); in nfs4_xdr_enc_setclientid_confirm()
2638 encode_nops(&hdr); in nfs4_xdr_enc_setclientid_confirm()
2648 struct compound_hdr hdr = { in nfs4_xdr_enc_delegreturn() local
2652 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_delegreturn()
2653 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_delegreturn()
2654 encode_putfh(xdr, args->fhandle, &hdr); in nfs4_xdr_enc_delegreturn()
2655 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_delegreturn()
2656 encode_delegreturn(xdr, args->stateid, &hdr); in nfs4_xdr_enc_delegreturn()
2657 encode_nops(&hdr); in nfs4_xdr_enc_delegreturn()
2667 struct compound_hdr hdr = { in nfs4_xdr_enc_fs_locations() local
2672 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_fs_locations()
2673 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_fs_locations()
2675 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_fs_locations()
2676 replen = hdr.replen; in nfs4_xdr_enc_fs_locations()
2677 encode_fs_locations(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_fs_locations()
2679 encode_renew(xdr, args->clientid, &hdr); in nfs4_xdr_enc_fs_locations()
2681 encode_putfh(xdr, args->dir_fh, &hdr); in nfs4_xdr_enc_fs_locations()
2682 encode_lookup(xdr, args->name, &hdr); in nfs4_xdr_enc_fs_locations()
2683 replen = hdr.replen; in nfs4_xdr_enc_fs_locations()
2684 encode_fs_locations(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_fs_locations()
2690 encode_nops(&hdr); in nfs4_xdr_enc_fs_locations()
2700 struct compound_hdr hdr = { in nfs4_xdr_enc_secinfo() local
2704 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_secinfo()
2705 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_secinfo()
2706 encode_putfh(xdr, args->dir_fh, &hdr); in nfs4_xdr_enc_secinfo()
2707 encode_secinfo(xdr, args->name, &hdr); in nfs4_xdr_enc_secinfo()
2708 encode_nops(&hdr); in nfs4_xdr_enc_secinfo()
2718 struct compound_hdr hdr = { in nfs4_xdr_enc_fsid_present() local
2722 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_fsid_present()
2723 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_fsid_present()
2724 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_fsid_present()
2725 encode_getfh(xdr, &hdr); in nfs4_xdr_enc_fsid_present()
2727 encode_renew(xdr, args->clientid, &hdr); in nfs4_xdr_enc_fsid_present()
2728 encode_nops(&hdr); in nfs4_xdr_enc_fsid_present()
2739 struct compound_hdr hdr = { in nfs4_xdr_enc_bind_conn_to_session() local
2743 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_bind_conn_to_session()
2744 encode_bind_conn_to_session(xdr, args, &hdr); in nfs4_xdr_enc_bind_conn_to_session()
2745 encode_nops(&hdr); in nfs4_xdr_enc_bind_conn_to_session()
2755 struct compound_hdr hdr = { in nfs4_xdr_enc_exchange_id() local
2759 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_exchange_id()
2760 encode_exchange_id(xdr, args, &hdr); in nfs4_xdr_enc_exchange_id()
2761 encode_nops(&hdr); in nfs4_xdr_enc_exchange_id()
2771 struct compound_hdr hdr = { in nfs4_xdr_enc_create_session() local
2775 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_create_session()
2776 encode_create_session(xdr, args, &hdr); in nfs4_xdr_enc_create_session()
2777 encode_nops(&hdr); in nfs4_xdr_enc_create_session()
2787 struct compound_hdr hdr = { in nfs4_xdr_enc_destroy_session() local
2791 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_destroy_session()
2792 encode_destroy_session(xdr, session, &hdr); in nfs4_xdr_enc_destroy_session()
2793 encode_nops(&hdr); in nfs4_xdr_enc_destroy_session()
2803 struct compound_hdr hdr = { in nfs4_xdr_enc_destroy_clientid() local
2807 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_destroy_clientid()
2808 encode_destroy_clientid(xdr, clp->cl_clientid, &hdr); in nfs4_xdr_enc_destroy_clientid()
2809 encode_nops(&hdr); in nfs4_xdr_enc_destroy_clientid()
2818 struct compound_hdr hdr = { in nfs4_xdr_enc_sequence() local
2822 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_sequence()
2823 encode_sequence(xdr, args, &hdr); in nfs4_xdr_enc_sequence()
2824 encode_nops(&hdr); in nfs4_xdr_enc_sequence()
2834 struct compound_hdr hdr = { in nfs4_xdr_enc_get_lease_time() local
2839 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_get_lease_time()
2840 encode_sequence(xdr, &args->la_seq_args, &hdr); in nfs4_xdr_enc_get_lease_time()
2841 encode_putrootfh(xdr, &hdr); in nfs4_xdr_enc_get_lease_time()
2842 encode_fsinfo(xdr, lease_bitmap, &hdr); in nfs4_xdr_enc_get_lease_time()
2843 encode_nops(&hdr); in nfs4_xdr_enc_get_lease_time()
2853 struct compound_hdr hdr = { in nfs4_xdr_enc_reclaim_complete() local
2857 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_reclaim_complete()
2858 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_reclaim_complete()
2859 encode_reclaim_complete(xdr, args, &hdr); in nfs4_xdr_enc_reclaim_complete()
2860 encode_nops(&hdr); in nfs4_xdr_enc_reclaim_complete()
2870 struct compound_hdr hdr = { in nfs4_xdr_enc_getdeviceinfo() local
2874 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_getdeviceinfo()
2875 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_getdeviceinfo()
2876 encode_getdeviceinfo(xdr, args, &hdr); in nfs4_xdr_enc_getdeviceinfo()
2880 xdr_inline_pages(&req->rq_rcv_buf, (hdr.replen - 2) << 2, in nfs4_xdr_enc_getdeviceinfo()
2884 encode_nops(&hdr); in nfs4_xdr_enc_getdeviceinfo()
2894 struct compound_hdr hdr = { in nfs4_xdr_enc_layoutget() local
2898 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_layoutget()
2899 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_layoutget()
2900 encode_putfh(xdr, NFS_FH(args->inode), &hdr); in nfs4_xdr_enc_layoutget()
2901 encode_layoutget(xdr, args, &hdr); in nfs4_xdr_enc_layoutget()
2903 xdr_inline_pages(&req->rq_rcv_buf, hdr.replen << 2, in nfs4_xdr_enc_layoutget()
2906 encode_nops(&hdr); in nfs4_xdr_enc_layoutget()
2918 struct compound_hdr hdr = { in nfs4_xdr_enc_layoutcommit() local
2922 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_layoutcommit()
2923 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_layoutcommit()
2924 encode_putfh(xdr, NFS_FH(args->inode), &hdr); in nfs4_xdr_enc_layoutcommit()
2925 encode_layoutcommit(xdr, data->args.inode, args, &hdr); in nfs4_xdr_enc_layoutcommit()
2926 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_layoutcommit()
2927 encode_nops(&hdr); in nfs4_xdr_enc_layoutcommit()
2937 struct compound_hdr hdr = { in nfs4_xdr_enc_layoutreturn() local
2941 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_layoutreturn()
2942 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_layoutreturn()
2943 encode_putfh(xdr, NFS_FH(args->inode), &hdr); in nfs4_xdr_enc_layoutreturn()
2944 encode_layoutreturn(xdr, args, &hdr); in nfs4_xdr_enc_layoutreturn()
2945 encode_nops(&hdr); in nfs4_xdr_enc_layoutreturn()
2955 struct compound_hdr hdr = { in nfs4_xdr_enc_secinfo_no_name() local
2959 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_secinfo_no_name()
2960 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_secinfo_no_name()
2961 encode_putrootfh(xdr, &hdr); in nfs4_xdr_enc_secinfo_no_name()
2962 encode_secinfo_no_name(xdr, args, &hdr); in nfs4_xdr_enc_secinfo_no_name()
2963 encode_nops(&hdr); in nfs4_xdr_enc_secinfo_no_name()
2974 struct compound_hdr hdr = { in nfs4_xdr_enc_test_stateid() local
2978 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_test_stateid()
2979 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_test_stateid()
2980 encode_test_stateid(xdr, args, &hdr); in nfs4_xdr_enc_test_stateid()
2981 encode_nops(&hdr); in nfs4_xdr_enc_test_stateid()
2991 struct compound_hdr hdr = { in nfs4_xdr_enc_free_stateid() local
2995 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_free_stateid()
2996 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_free_stateid()
2997 encode_free_stateid(xdr, args, &hdr); in nfs4_xdr_enc_free_stateid()
2998 encode_nops(&hdr); in nfs4_xdr_enc_free_stateid()
3027 static int decode_compound_hdr(struct xdr_stream *xdr, struct compound_hdr *hdr) in decode_compound_hdr() argument
3034 hdr->status = be32_to_cpup(p++); in decode_compound_hdr()
3035 hdr->taglen = be32_to_cpup(p); in decode_compound_hdr()
3037 p = xdr_inline_decode(xdr, hdr->taglen + 4); in decode_compound_hdr()
3040 hdr->tag = (char *)p; in decode_compound_hdr()
3041 p += XDR_QUADLEN(hdr->taglen); in decode_compound_hdr()
3042 hdr->nops = be32_to_cpup(p); in decode_compound_hdr()
3043 if (unlikely(hdr->nops < 1)) in decode_compound_hdr()
3044 return nfs4_stat_to_errno(hdr->status); in decode_compound_hdr()
5988 struct compound_hdr hdr; in nfs4_xdr_dec_open_downgrade() local
5991 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_open_downgrade()
6014 struct compound_hdr hdr; in nfs4_xdr_dec_access() local
6017 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_access()
6040 struct compound_hdr hdr; in nfs4_xdr_dec_lookup() local
6043 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_lookup()
6070 struct compound_hdr hdr; in nfs4_xdr_dec_lookup_root() local
6073 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_lookup_root()
6096 struct compound_hdr hdr; in nfs4_xdr_dec_remove() local
6099 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_remove()
6119 struct compound_hdr hdr; in nfs4_xdr_dec_rename() local
6122 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_rename()
6148 struct compound_hdr hdr; in nfs4_xdr_dec_link() local
6151 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_link()
6187 struct compound_hdr hdr; in nfs4_xdr_dec_create() local
6190 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_create()
6225 struct compound_hdr hdr; in nfs4_xdr_dec_getattr() local
6228 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_getattr()
6248 struct compound_hdr hdr = { in nfs4_xdr_enc_setacl() local
6252 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_setacl()
6253 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_setacl()
6254 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_setacl()
6255 encode_setacl(xdr, args, &hdr); in nfs4_xdr_enc_setacl()
6256 encode_nops(&hdr); in nfs4_xdr_enc_setacl()
6266 struct compound_hdr hdr; in nfs4_xdr_dec_setacl() local
6269 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_setacl()
6290 struct compound_hdr hdr; in nfs4_xdr_dec_getacl() local
6297 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_getacl()
6318 struct compound_hdr hdr; in nfs4_xdr_dec_close() local
6321 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_close()
6350 struct compound_hdr hdr; in nfs4_xdr_dec_open() local
6353 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_open()
6382 struct compound_hdr hdr; in nfs4_xdr_dec_open_confirm() local
6385 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_open_confirm()
6403 struct compound_hdr hdr; in nfs4_xdr_dec_open_noattr() local
6406 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_open_noattr()
6432 struct compound_hdr hdr; in nfs4_xdr_dec_setattr() local
6435 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_setattr()
6458 struct compound_hdr hdr; in nfs4_xdr_dec_lock() local
6461 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_lock()
6481 struct compound_hdr hdr; in nfs4_xdr_dec_lockt() local
6484 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_lockt()
6504 struct compound_hdr hdr; in nfs4_xdr_dec_locku() local
6507 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_locku()
6524 struct compound_hdr hdr; in nfs4_xdr_dec_release_lockowner() local
6527 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_release_lockowner()
6540 struct compound_hdr hdr; in nfs4_xdr_dec_readlink() local
6543 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_readlink()
6563 struct compound_hdr hdr; in nfs4_xdr_dec_readdir() local
6566 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_readdir()
6586 struct compound_hdr hdr; in nfs4_xdr_dec_read() local
6589 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_read()
6590 res->op_status = hdr.status; in nfs4_xdr_dec_read()
6612 struct compound_hdr hdr; in nfs4_xdr_dec_write() local
6615 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_write()
6616 res->op_status = hdr.status; in nfs4_xdr_dec_write()
6642 struct compound_hdr hdr; in nfs4_xdr_dec_commit() local
6645 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_commit()
6646 res->op_status = hdr.status; in nfs4_xdr_dec_commit()
6666 struct compound_hdr hdr; in nfs4_xdr_dec_fsinfo() local
6669 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_fsinfo()
6685 struct compound_hdr hdr; in nfs4_xdr_dec_pathconf() local
6688 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_pathconf()
6704 struct compound_hdr hdr; in nfs4_xdr_dec_statfs() local
6707 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_statfs()
6724 struct compound_hdr hdr; in nfs4_xdr_dec_server_caps() local
6727 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_server_caps()
6747 struct compound_hdr hdr; in nfs4_xdr_dec_renew() local
6750 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_renew()
6763 struct compound_hdr hdr; in nfs4_xdr_dec_setclientid() local
6766 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_setclientid()
6778 struct compound_hdr hdr; in nfs4_xdr_dec_setclientid_confirm() local
6781 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_setclientid_confirm()
6794 struct compound_hdr hdr; in nfs4_xdr_dec_delegreturn() local
6797 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_delegreturn()
6821 struct compound_hdr hdr; in nfs4_xdr_dec_fs_locations() local
6824 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_fs_locations()
6864 struct compound_hdr hdr; in nfs4_xdr_dec_secinfo() local
6867 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_secinfo()
6888 struct compound_hdr hdr; in nfs4_xdr_dec_fsid_present() local
6891 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_fsid_present()
6917 struct compound_hdr hdr; in nfs4_xdr_dec_bind_conn_to_session() local
6920 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_bind_conn_to_session()
6933 struct compound_hdr hdr; in nfs4_xdr_dec_exchange_id() local
6936 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_exchange_id()
6949 struct compound_hdr hdr; in nfs4_xdr_dec_create_session() local
6952 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_create_session()
6965 struct compound_hdr hdr; in nfs4_xdr_dec_destroy_session() local
6968 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_destroy_session()
6981 struct compound_hdr hdr; in nfs4_xdr_dec_destroy_clientid() local
6984 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_destroy_clientid()
6997 struct compound_hdr hdr; in nfs4_xdr_dec_sequence() local
7000 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_sequence()
7013 struct compound_hdr hdr; in nfs4_xdr_dec_get_lease_time() local
7016 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_get_lease_time()
7033 struct compound_hdr hdr; in nfs4_xdr_dec_reclaim_complete() local
7036 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_reclaim_complete()
7051 struct compound_hdr hdr; in nfs4_xdr_dec_getdeviceinfo() local
7054 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_getdeviceinfo()
7072 struct compound_hdr hdr; in nfs4_xdr_dec_layoutget() local
7075 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layoutget()
7096 struct compound_hdr hdr; in nfs4_xdr_dec_layoutreturn() local
7099 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layoutreturn()
7120 struct compound_hdr hdr; in nfs4_xdr_dec_layoutcommit() local
7123 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layoutcommit()
7147 struct compound_hdr hdr; in nfs4_xdr_dec_secinfo_no_name() local
7150 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_secinfo_no_name()
7171 struct compound_hdr hdr; in nfs4_xdr_dec_test_stateid() local
7174 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_test_stateid()
7192 struct compound_hdr hdr; in nfs4_xdr_dec_free_stateid() local
7195 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_free_stateid()