Lines Matching refs:hdr

960 				struct compound_hdr *hdr)  in encode_compound_hdr()  argument
968 hdr->replen = RPC_REPHDRSIZE + auth->au_rslack + 3 + hdr->taglen; in encode_compound_hdr()
970 WARN_ON_ONCE(hdr->taglen > NFS4_MAXTAGLEN); in encode_compound_hdr()
971 encode_string(xdr, hdr->taglen, hdr->tag); in encode_compound_hdr()
973 *p++ = cpu_to_be32(hdr->minorversion); in encode_compound_hdr()
974 hdr->nops_p = p; in encode_compound_hdr()
975 *p = cpu_to_be32(hdr->nops); in encode_compound_hdr()
980 struct compound_hdr *hdr) in encode_op_hdr() argument
983 hdr->nops++; in encode_op_hdr()
984 hdr->replen += replen; in encode_op_hdr()
987 static void encode_nops(struct compound_hdr *hdr) in encode_nops() argument
989 WARN_ON_ONCE(hdr->nops > NFS4_MAX_OPS); in encode_nops()
990 *hdr->nops_p = htonl(hdr->nops); in encode_nops()
1136 static void encode_access(struct xdr_stream *xdr, u32 access, struct compound_hdr *hdr) in encode_access() argument
1138 encode_op_hdr(xdr, OP_ACCESS, decode_access_maxsz, hdr); in encode_access()
1142 …oid encode_close(struct xdr_stream *xdr, const struct nfs_closeargs *arg, struct compound_hdr *hdr) in encode_close() argument
1144 encode_op_hdr(xdr, OP_CLOSE, decode_close_maxsz, hdr); in encode_close()
1149 … encode_commit(struct xdr_stream *xdr, const struct nfs_commitargs *args, struct compound_hdr *hdr) in encode_commit() argument
1153 encode_op_hdr(xdr, OP_COMMIT, decode_commit_maxsz, hdr); in encode_commit()
1159 …code_create(struct xdr_stream *xdr, const struct nfs4_create_arg *create, struct compound_hdr *hdr) in encode_create() argument
1163 encode_op_hdr(xdr, OP_CREATE, decode_create_maxsz, hdr); in encode_create()
1189 static void encode_getattr_one(struct xdr_stream *xdr, uint32_t bitmap, struct compound_hdr *hdr) in encode_getattr_one() argument
1193 encode_op_hdr(xdr, OP_GETATTR, decode_getattr_maxsz, hdr); in encode_getattr_one()
1199 …id encode_getattr_two(struct xdr_stream *xdr, uint32_t bm0, uint32_t bm1, struct compound_hdr *hdr) in encode_getattr_two() argument
1203 encode_op_hdr(xdr, OP_GETATTR, decode_getattr_maxsz, hdr); in encode_getattr_two()
1213 struct compound_hdr *hdr) in encode_getattr_three() argument
1217 encode_op_hdr(xdr, OP_GETATTR, decode_getattr_maxsz, hdr); in encode_getattr_three()
1236 static void encode_getfattr(struct xdr_stream *xdr, const u32* bitmask, struct compound_hdr *hdr) in encode_getfattr() argument
1241 hdr); in encode_getfattr()
1246 struct compound_hdr *hdr) in encode_getfattr_open() argument
1252 hdr); in encode_getfattr_open()
1255 static void encode_fsinfo(struct xdr_stream *xdr, const u32* bitmask, struct compound_hdr *hdr) in encode_fsinfo() argument
1261 hdr); in encode_fsinfo()
1264 …atic void encode_fs_locations(struct xdr_stream *xdr, const u32* bitmask, struct compound_hdr *hdr) in encode_fs_locations() argument
1267 bitmask[1] & nfs4_fs_locations_bitmap[1], hdr); in encode_fs_locations()
1270 static void encode_getfh(struct xdr_stream *xdr, struct compound_hdr *hdr) in encode_getfh() argument
1272 encode_op_hdr(xdr, OP_GETFH, decode_getfh_maxsz, hdr); in encode_getfh()
1275 static void encode_link(struct xdr_stream *xdr, const struct qstr *name, struct compound_hdr *hdr) in encode_link() argument
1277 encode_op_hdr(xdr, OP_LINK, decode_link_maxsz, hdr); in encode_link()
1311 …oid encode_lock(struct xdr_stream *xdr, const struct nfs_lock_args *args, struct compound_hdr *hdr) in encode_lock() argument
1315 encode_op_hdr(xdr, OP_LOCK, decode_lock_maxsz, hdr); in encode_lock()
1334 …d encode_lockt(struct xdr_stream *xdr, const struct nfs_lockt_args *args, struct compound_hdr *hdr) in encode_lockt() argument
1338 encode_op_hdr(xdr, OP_LOCKT, decode_lockt_maxsz, hdr); in encode_lockt()
1346 …d encode_locku(struct xdr_stream *xdr, const struct nfs_locku_args *args, struct compound_hdr *hdr) in encode_locku() argument
1350 encode_op_hdr(xdr, OP_LOCKU, decode_locku_maxsz, hdr); in encode_locku()
1359 …elease_lockowner(struct xdr_stream *xdr, const struct nfs_lowner *lowner, struct compound_hdr *hdr) in encode_release_lockowner() argument
1361 encode_op_hdr(xdr, OP_RELEASE_LOCKOWNER, decode_release_lockowner_maxsz, hdr); in encode_release_lockowner()
1365 static void encode_lookup(struct xdr_stream *xdr, const struct qstr *name, struct compound_hdr *hdr) in encode_lookup() argument
1367 encode_op_hdr(xdr, OP_LOOKUP, decode_lookup_maxsz, hdr); in encode_lookup()
1503 … void encode_open(struct xdr_stream *xdr, const struct nfs_openargs *arg, struct compound_hdr *hdr) in encode_open() argument
1505 encode_op_hdr(xdr, OP_OPEN, decode_open_maxsz, hdr); in encode_open()
1529 …n_confirm(struct xdr_stream *xdr, const struct nfs_open_confirmargs *arg, struct compound_hdr *hdr) in encode_open_confirm() argument
1531 encode_op_hdr(xdr, OP_OPEN_CONFIRM, decode_open_confirm_maxsz, hdr); in encode_open_confirm()
1536 …e_open_downgrade(struct xdr_stream *xdr, const struct nfs_closeargs *arg, struct compound_hdr *hdr) in encode_open_downgrade() argument
1538 encode_op_hdr(xdr, OP_OPEN_DOWNGRADE, decode_open_downgrade_maxsz, hdr); in encode_open_downgrade()
1545 encode_putfh(struct xdr_stream *xdr, const struct nfs_fh *fh, struct compound_hdr *hdr) in encode_putfh() argument
1547 encode_op_hdr(xdr, OP_PUTFH, decode_putfh_maxsz, hdr); in encode_putfh()
1551 static void encode_putrootfh(struct xdr_stream *xdr, struct compound_hdr *hdr) in encode_putrootfh() argument
1553 encode_op_hdr(xdr, OP_PUTROOTFH, decode_putrootfh_maxsz, hdr); in encode_putrootfh()
1557 struct compound_hdr *hdr) in encode_read() argument
1561 encode_op_hdr(xdr, OP_READ, decode_read_maxsz, hdr); in encode_read()
1569 …tream *xdr, const struct nfs4_readdir_arg *readdir, struct rpc_rqst *req, struct compound_hdr *hdr) in encode_readdir() argument
1599 encode_op_hdr(xdr, OP_READDIR, decode_readdir_maxsz, hdr); in encode_readdir()
1619 …_stream *xdr, const struct nfs4_readlink *readlink, struct rpc_rqst *req, struct compound_hdr *hdr) in encode_readlink() argument
1621 encode_op_hdr(xdr, OP_READLINK, decode_readlink_maxsz, hdr); in encode_readlink()
1624 static void encode_remove(struct xdr_stream *xdr, const struct qstr *name, struct compound_hdr *hdr) in encode_remove() argument
1626 encode_op_hdr(xdr, OP_REMOVE, decode_remove_maxsz, hdr); in encode_remove()
1630 … xdr_stream *xdr, const struct qstr *oldname, const struct qstr *newname, struct compound_hdr *hdr) in encode_rename() argument
1632 encode_op_hdr(xdr, OP_RENAME, decode_rename_maxsz, hdr); in encode_rename()
1638 struct compound_hdr *hdr) in encode_renew() argument
1640 encode_op_hdr(xdr, OP_RENEW, decode_renew_maxsz, hdr); in encode_renew()
1645 encode_restorefh(struct xdr_stream *xdr, struct compound_hdr *hdr) in encode_restorefh() argument
1647 encode_op_hdr(xdr, OP_RESTOREFH, decode_restorefh_maxsz, hdr); in encode_restorefh()
1651 encode_setacl(struct xdr_stream *xdr, struct nfs_setaclargs *arg, struct compound_hdr *hdr) in encode_setacl() argument
1655 encode_op_hdr(xdr, OP_SETATTR, decode_setacl_maxsz, hdr); in encode_setacl()
1666 encode_savefh(struct xdr_stream *xdr, struct compound_hdr *hdr) in encode_savefh() argument
1668 encode_op_hdr(xdr, OP_SAVEFH, decode_savefh_maxsz, hdr); in encode_savefh()
1671 …*xdr, const struct nfs_setattrargs *arg, const struct nfs_server *server, struct compound_hdr *hdr) in encode_setattr() argument
1673 encode_op_hdr(xdr, OP_SETATTR, decode_setattr_maxsz, hdr); in encode_setattr()
1678 …entid(struct xdr_stream *xdr, const struct nfs4_setclientid *setclientid, struct compound_hdr *hdr) in encode_setclientid() argument
1682 encode_op_hdr(xdr, OP_SETCLIENTID, decode_setclientid_maxsz, hdr); in encode_setclientid()
1695 …d_confirm(struct xdr_stream *xdr, const struct nfs4_setclientid_res *arg, struct compound_hdr *hdr) in encode_setclientid_confirm() argument
1698 decode_setclientid_confirm_maxsz, hdr); in encode_setclientid_confirm()
1704 struct compound_hdr *hdr) in encode_write() argument
1708 encode_op_hdr(xdr, OP_WRITE, decode_write_maxsz, hdr); in encode_write()
1719 …d encode_delegreturn(struct xdr_stream *xdr, const nfs4_stateid *stateid, struct compound_hdr *hdr) in encode_delegreturn() argument
1721 encode_op_hdr(xdr, OP_DELEGRETURN, decode_delegreturn_maxsz, hdr); in encode_delegreturn()
1725 …atic void encode_secinfo(struct xdr_stream *xdr, const struct qstr *name, struct compound_hdr *hdr) in encode_secinfo() argument
1727 encode_op_hdr(xdr, OP_SECINFO, decode_secinfo_maxsz, hdr); in encode_secinfo()
1735 struct compound_hdr *hdr) in encode_bind_conn_to_session() argument
1740 decode_bind_conn_to_session_maxsz, hdr); in encode_bind_conn_to_session()
1757 struct compound_hdr *hdr) in encode_exchange_id() argument
1763 encode_op_hdr(xdr, OP_EXCHANGE_ID, decode_exchange_id_maxsz, hdr); in encode_exchange_id()
1809 struct compound_hdr *hdr) in encode_create_session() argument
1824 encode_op_hdr(xdr, OP_CREATE_SESSION, decode_create_session_maxsz, hdr); in encode_create_session()
1862 struct compound_hdr *hdr) in encode_destroy_session() argument
1864 encode_op_hdr(xdr, OP_DESTROY_SESSION, decode_destroy_session_maxsz, hdr); in encode_destroy_session()
1870 struct compound_hdr *hdr) in encode_destroy_clientid() argument
1872 encode_op_hdr(xdr, OP_DESTROY_CLIENTID, decode_destroy_clientid_maxsz, hdr); in encode_destroy_clientid()
1878 struct compound_hdr *hdr) in encode_reclaim_complete() argument
1880 encode_op_hdr(xdr, OP_RECLAIM_COMPLETE, decode_reclaim_complete_maxsz, hdr); in encode_reclaim_complete()
1887 struct compound_hdr *hdr) in encode_sequence() argument
1900 encode_op_hdr(xdr, OP_SEQUENCE, decode_sequence_maxsz, hdr); in encode_sequence()
1927 struct compound_hdr *hdr) in encode_getdeviceinfo() argument
1931 encode_op_hdr(xdr, OP_GETDEVICEINFO, decode_getdeviceinfo_maxsz, hdr); in encode_getdeviceinfo()
1946 struct compound_hdr *hdr) in encode_layoutget() argument
1950 encode_op_hdr(xdr, OP_LAYOUTGET, decode_layoutget_maxsz, hdr); in encode_layoutget()
1974 struct compound_hdr *hdr) in encode_layoutcommit() argument
1981 encode_op_hdr(xdr, OP_LAYOUTCOMMIT, decode_layoutcommit_maxsz, hdr); in encode_layoutcommit()
2011 struct compound_hdr *hdr) in encode_layoutreturn() argument
2015 encode_op_hdr(xdr, OP_LAYOUTRETURN, decode_layoutreturn_maxsz, hdr); in encode_layoutreturn()
2037 struct compound_hdr *hdr) in encode_secinfo_no_name() argument
2039 encode_op_hdr(xdr, OP_SECINFO_NO_NAME, decode_secinfo_no_name_maxsz, hdr); in encode_secinfo_no_name()
2046 struct compound_hdr *hdr) in encode_test_stateid() argument
2048 encode_op_hdr(xdr, OP_TEST_STATEID, decode_test_stateid_maxsz, hdr); in encode_test_stateid()
2055 struct compound_hdr *hdr) in encode_free_stateid() argument
2057 encode_op_hdr(xdr, OP_FREE_STATEID, decode_free_stateid_maxsz, hdr); in encode_free_stateid()
2082 struct compound_hdr hdr = { in nfs4_xdr_enc_access() local
2086 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_access()
2087 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_access()
2088 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_access()
2089 encode_access(xdr, args->access, &hdr); in nfs4_xdr_enc_access()
2090 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_access()
2091 encode_nops(&hdr); in nfs4_xdr_enc_access()
2100 struct compound_hdr hdr = { in nfs4_xdr_enc_lookup() local
2104 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_lookup()
2105 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_lookup()
2106 encode_putfh(xdr, args->dir_fh, &hdr); in nfs4_xdr_enc_lookup()
2107 encode_lookup(xdr, args->name, &hdr); in nfs4_xdr_enc_lookup()
2108 encode_getfh(xdr, &hdr); in nfs4_xdr_enc_lookup()
2109 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_lookup()
2110 encode_nops(&hdr); in nfs4_xdr_enc_lookup()
2120 struct compound_hdr hdr = { in nfs4_xdr_enc_lookup_root() local
2124 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_lookup_root()
2125 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_lookup_root()
2126 encode_putrootfh(xdr, &hdr); in nfs4_xdr_enc_lookup_root()
2127 encode_getfh(xdr, &hdr); in nfs4_xdr_enc_lookup_root()
2128 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_lookup_root()
2129 encode_nops(&hdr); in nfs4_xdr_enc_lookup_root()
2138 struct compound_hdr hdr = { in nfs4_xdr_enc_remove() local
2142 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_remove()
2143 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_remove()
2144 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_remove()
2145 encode_remove(xdr, &args->name, &hdr); in nfs4_xdr_enc_remove()
2146 encode_nops(&hdr); in nfs4_xdr_enc_remove()
2155 struct compound_hdr hdr = { in nfs4_xdr_enc_rename() local
2159 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_rename()
2160 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_rename()
2161 encode_putfh(xdr, args->old_dir, &hdr); in nfs4_xdr_enc_rename()
2162 encode_savefh(xdr, &hdr); in nfs4_xdr_enc_rename()
2163 encode_putfh(xdr, args->new_dir, &hdr); in nfs4_xdr_enc_rename()
2164 encode_rename(xdr, args->old_name, args->new_name, &hdr); in nfs4_xdr_enc_rename()
2165 encode_nops(&hdr); in nfs4_xdr_enc_rename()
2174 struct compound_hdr hdr = { in nfs4_xdr_enc_link() local
2178 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_link()
2179 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_link()
2180 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_link()
2181 encode_savefh(xdr, &hdr); in nfs4_xdr_enc_link()
2182 encode_putfh(xdr, args->dir_fh, &hdr); in nfs4_xdr_enc_link()
2183 encode_link(xdr, args->name, &hdr); in nfs4_xdr_enc_link()
2184 encode_restorefh(xdr, &hdr); in nfs4_xdr_enc_link()
2185 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_link()
2186 encode_nops(&hdr); in nfs4_xdr_enc_link()
2195 struct compound_hdr hdr = { in nfs4_xdr_enc_create() local
2199 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_create()
2200 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_create()
2201 encode_putfh(xdr, args->dir_fh, &hdr); in nfs4_xdr_enc_create()
2202 encode_create(xdr, args, &hdr); in nfs4_xdr_enc_create()
2203 encode_getfh(xdr, &hdr); in nfs4_xdr_enc_create()
2204 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_create()
2205 encode_nops(&hdr); in nfs4_xdr_enc_create()
2223 struct compound_hdr hdr = { in nfs4_xdr_enc_getattr() local
2227 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_getattr()
2228 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_getattr()
2229 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_getattr()
2230 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_getattr()
2231 encode_nops(&hdr); in nfs4_xdr_enc_getattr()
2240 struct compound_hdr hdr = { in nfs4_xdr_enc_close() local
2244 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_close()
2245 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_close()
2246 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_close()
2247 encode_close(xdr, args, &hdr); in nfs4_xdr_enc_close()
2248 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_close()
2249 encode_nops(&hdr); in nfs4_xdr_enc_close()
2258 struct compound_hdr hdr = { in nfs4_xdr_enc_open() local
2262 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_open()
2263 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_open()
2264 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_open()
2265 encode_open(xdr, args, &hdr); in nfs4_xdr_enc_open()
2266 encode_getfh(xdr, &hdr); in nfs4_xdr_enc_open()
2268 encode_access(xdr, args->access, &hdr); in nfs4_xdr_enc_open()
2269 encode_getfattr_open(xdr, args->bitmask, args->open_bitmap, &hdr); in nfs4_xdr_enc_open()
2270 encode_nops(&hdr); in nfs4_xdr_enc_open()
2280 struct compound_hdr hdr = { in nfs4_xdr_enc_open_confirm() local
2284 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_open_confirm()
2285 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_open_confirm()
2286 encode_open_confirm(xdr, args, &hdr); in nfs4_xdr_enc_open_confirm()
2287 encode_nops(&hdr); in nfs4_xdr_enc_open_confirm()
2297 struct compound_hdr hdr = { in nfs4_xdr_enc_open_noattr() local
2301 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_open_noattr()
2302 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_open_noattr()
2303 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_open_noattr()
2304 encode_open(xdr, args, &hdr); in nfs4_xdr_enc_open_noattr()
2306 encode_access(xdr, args->access, &hdr); in nfs4_xdr_enc_open_noattr()
2307 encode_getfattr_open(xdr, args->bitmask, args->open_bitmap, &hdr); in nfs4_xdr_enc_open_noattr()
2308 encode_nops(&hdr); in nfs4_xdr_enc_open_noattr()
2318 struct compound_hdr hdr = { in nfs4_xdr_enc_open_downgrade() local
2322 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_open_downgrade()
2323 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_open_downgrade()
2324 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_open_downgrade()
2325 encode_open_downgrade(xdr, args, &hdr); in nfs4_xdr_enc_open_downgrade()
2326 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_open_downgrade()
2327 encode_nops(&hdr); in nfs4_xdr_enc_open_downgrade()
2336 struct compound_hdr hdr = { in nfs4_xdr_enc_lock() local
2340 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_lock()
2341 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_lock()
2342 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_lock()
2343 encode_lock(xdr, args, &hdr); in nfs4_xdr_enc_lock()
2344 encode_nops(&hdr); in nfs4_xdr_enc_lock()
2353 struct compound_hdr hdr = { in nfs4_xdr_enc_lockt() local
2357 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_lockt()
2358 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_lockt()
2359 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_lockt()
2360 encode_lockt(xdr, args, &hdr); in nfs4_xdr_enc_lockt()
2361 encode_nops(&hdr); in nfs4_xdr_enc_lockt()
2370 struct compound_hdr hdr = { in nfs4_xdr_enc_locku() local
2374 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_locku()
2375 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_locku()
2376 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_locku()
2377 encode_locku(xdr, args, &hdr); in nfs4_xdr_enc_locku()
2378 encode_nops(&hdr); in nfs4_xdr_enc_locku()
2385 struct compound_hdr hdr = { in nfs4_xdr_enc_release_lockowner() local
2389 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_release_lockowner()
2390 encode_release_lockowner(xdr, &args->lock_owner, &hdr); in nfs4_xdr_enc_release_lockowner()
2391 encode_nops(&hdr); in nfs4_xdr_enc_release_lockowner()
2400 struct compound_hdr hdr = { in nfs4_xdr_enc_readlink() local
2404 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_readlink()
2405 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_readlink()
2406 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_readlink()
2407 encode_readlink(xdr, args, req, &hdr); in nfs4_xdr_enc_readlink()
2409 xdr_inline_pages(&req->rq_rcv_buf, hdr.replen << 2, args->pages, in nfs4_xdr_enc_readlink()
2411 encode_nops(&hdr); in nfs4_xdr_enc_readlink()
2420 struct compound_hdr hdr = { in nfs4_xdr_enc_readdir() local
2424 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_readdir()
2425 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_readdir()
2426 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_readdir()
2427 encode_readdir(xdr, args, req, &hdr); in nfs4_xdr_enc_readdir()
2429 xdr_inline_pages(&req->rq_rcv_buf, hdr.replen << 2, args->pages, in nfs4_xdr_enc_readdir()
2432 __func__, hdr.replen << 2, args->pages, in nfs4_xdr_enc_readdir()
2434 encode_nops(&hdr); in nfs4_xdr_enc_readdir()
2443 struct compound_hdr hdr = { in nfs4_xdr_enc_read() local
2447 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_read()
2448 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_read()
2449 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_read()
2450 encode_read(xdr, args, &hdr); in nfs4_xdr_enc_read()
2452 xdr_inline_pages(&req->rq_rcv_buf, hdr.replen << 2, in nfs4_xdr_enc_read()
2455 encode_nops(&hdr); in nfs4_xdr_enc_read()
2464 struct compound_hdr hdr = { in nfs4_xdr_enc_setattr() local
2468 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_setattr()
2469 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_setattr()
2470 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_setattr()
2471 encode_setattr(xdr, args, args->server, &hdr); in nfs4_xdr_enc_setattr()
2472 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_setattr()
2473 encode_nops(&hdr); in nfs4_xdr_enc_setattr()
2482 struct compound_hdr hdr = { in nfs4_xdr_enc_getacl() local
2487 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_getacl()
2488 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_getacl()
2489 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_getacl()
2490 replen = hdr.replen + op_decode_hdr_maxsz + 1; in nfs4_xdr_enc_getacl()
2491 encode_getattr_two(xdr, FATTR4_WORD0_ACL, 0, &hdr); in nfs4_xdr_enc_getacl()
2496 encode_nops(&hdr); in nfs4_xdr_enc_getacl()
2505 struct compound_hdr hdr = { in nfs4_xdr_enc_write() local
2509 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_write()
2510 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_write()
2511 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_write()
2512 encode_write(xdr, args, &hdr); in nfs4_xdr_enc_write()
2515 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_write()
2516 encode_nops(&hdr); in nfs4_xdr_enc_write()
2525 struct compound_hdr hdr = { in nfs4_xdr_enc_commit() local
2529 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_commit()
2530 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_commit()
2531 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_commit()
2532 encode_commit(xdr, args, &hdr); in nfs4_xdr_enc_commit()
2533 encode_nops(&hdr); in nfs4_xdr_enc_commit()
2542 struct compound_hdr hdr = { in nfs4_xdr_enc_fsinfo() local
2546 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_fsinfo()
2547 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_fsinfo()
2548 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_fsinfo()
2549 encode_fsinfo(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_fsinfo()
2550 encode_nops(&hdr); in nfs4_xdr_enc_fsinfo()
2559 struct compound_hdr hdr = { in nfs4_xdr_enc_pathconf() local
2563 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_pathconf()
2564 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_pathconf()
2565 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_pathconf()
2567 &hdr); in nfs4_xdr_enc_pathconf()
2568 encode_nops(&hdr); in nfs4_xdr_enc_pathconf()
2577 struct compound_hdr hdr = { in nfs4_xdr_enc_statfs() local
2581 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_statfs()
2582 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_statfs()
2583 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_statfs()
2585 args->bitmask[1] & nfs4_statfs_bitmap[1], &hdr); in nfs4_xdr_enc_statfs()
2586 encode_nops(&hdr); in nfs4_xdr_enc_statfs()
2597 struct compound_hdr hdr = { in nfs4_xdr_enc_server_caps() local
2601 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_server_caps()
2602 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_server_caps()
2603 encode_putfh(xdr, args->fhandle, &hdr); in nfs4_xdr_enc_server_caps()
2604 encode_getattr_three(xdr, bitmask[0], bitmask[1], bitmask[2], &hdr); in nfs4_xdr_enc_server_caps()
2605 encode_nops(&hdr); in nfs4_xdr_enc_server_caps()
2614 struct compound_hdr hdr = { in nfs4_xdr_enc_renew() local
2618 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_renew()
2619 encode_renew(xdr, clp->cl_clientid, &hdr); in nfs4_xdr_enc_renew()
2620 encode_nops(&hdr); in nfs4_xdr_enc_renew()
2630 struct compound_hdr hdr = { in nfs4_xdr_enc_setclientid() local
2634 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_setclientid()
2635 encode_setclientid(xdr, sc, &hdr); in nfs4_xdr_enc_setclientid()
2636 encode_nops(&hdr); in nfs4_xdr_enc_setclientid()
2646 struct compound_hdr hdr = { in nfs4_xdr_enc_setclientid_confirm() local
2650 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_setclientid_confirm()
2651 encode_setclientid_confirm(xdr, arg, &hdr); in nfs4_xdr_enc_setclientid_confirm()
2652 encode_nops(&hdr); in nfs4_xdr_enc_setclientid_confirm()
2662 struct compound_hdr hdr = { in nfs4_xdr_enc_delegreturn() local
2666 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_delegreturn()
2667 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_delegreturn()
2668 encode_putfh(xdr, args->fhandle, &hdr); in nfs4_xdr_enc_delegreturn()
2669 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_delegreturn()
2670 encode_delegreturn(xdr, args->stateid, &hdr); in nfs4_xdr_enc_delegreturn()
2671 encode_nops(&hdr); in nfs4_xdr_enc_delegreturn()
2681 struct compound_hdr hdr = { in nfs4_xdr_enc_fs_locations() local
2686 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_fs_locations()
2687 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_fs_locations()
2689 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_fs_locations()
2690 replen = hdr.replen; in nfs4_xdr_enc_fs_locations()
2691 encode_fs_locations(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_fs_locations()
2693 encode_renew(xdr, args->clientid, &hdr); in nfs4_xdr_enc_fs_locations()
2695 encode_putfh(xdr, args->dir_fh, &hdr); in nfs4_xdr_enc_fs_locations()
2696 encode_lookup(xdr, args->name, &hdr); in nfs4_xdr_enc_fs_locations()
2697 replen = hdr.replen; in nfs4_xdr_enc_fs_locations()
2698 encode_fs_locations(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_fs_locations()
2704 encode_nops(&hdr); in nfs4_xdr_enc_fs_locations()
2714 struct compound_hdr hdr = { in nfs4_xdr_enc_secinfo() local
2718 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_secinfo()
2719 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_secinfo()
2720 encode_putfh(xdr, args->dir_fh, &hdr); in nfs4_xdr_enc_secinfo()
2721 encode_secinfo(xdr, args->name, &hdr); in nfs4_xdr_enc_secinfo()
2722 encode_nops(&hdr); in nfs4_xdr_enc_secinfo()
2732 struct compound_hdr hdr = { in nfs4_xdr_enc_fsid_present() local
2736 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_fsid_present()
2737 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_fsid_present()
2738 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_fsid_present()
2739 encode_getfh(xdr, &hdr); in nfs4_xdr_enc_fsid_present()
2741 encode_renew(xdr, args->clientid, &hdr); in nfs4_xdr_enc_fsid_present()
2742 encode_nops(&hdr); in nfs4_xdr_enc_fsid_present()
2753 struct compound_hdr hdr = { in nfs4_xdr_enc_bind_conn_to_session() local
2757 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_bind_conn_to_session()
2758 encode_bind_conn_to_session(xdr, args, &hdr); in nfs4_xdr_enc_bind_conn_to_session()
2759 encode_nops(&hdr); in nfs4_xdr_enc_bind_conn_to_session()
2769 struct compound_hdr hdr = { in nfs4_xdr_enc_exchange_id() local
2773 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_exchange_id()
2774 encode_exchange_id(xdr, args, &hdr); in nfs4_xdr_enc_exchange_id()
2775 encode_nops(&hdr); in nfs4_xdr_enc_exchange_id()
2785 struct compound_hdr hdr = { in nfs4_xdr_enc_create_session() local
2789 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_create_session()
2790 encode_create_session(xdr, args, &hdr); in nfs4_xdr_enc_create_session()
2791 encode_nops(&hdr); in nfs4_xdr_enc_create_session()
2801 struct compound_hdr hdr = { in nfs4_xdr_enc_destroy_session() local
2805 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_destroy_session()
2806 encode_destroy_session(xdr, session, &hdr); in nfs4_xdr_enc_destroy_session()
2807 encode_nops(&hdr); in nfs4_xdr_enc_destroy_session()
2817 struct compound_hdr hdr = { in nfs4_xdr_enc_destroy_clientid() local
2821 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_destroy_clientid()
2822 encode_destroy_clientid(xdr, clp->cl_clientid, &hdr); in nfs4_xdr_enc_destroy_clientid()
2823 encode_nops(&hdr); in nfs4_xdr_enc_destroy_clientid()
2832 struct compound_hdr hdr = { in nfs4_xdr_enc_sequence() local
2836 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_sequence()
2837 encode_sequence(xdr, args, &hdr); in nfs4_xdr_enc_sequence()
2838 encode_nops(&hdr); in nfs4_xdr_enc_sequence()
2848 struct compound_hdr hdr = { in nfs4_xdr_enc_get_lease_time() local
2853 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_get_lease_time()
2854 encode_sequence(xdr, &args->la_seq_args, &hdr); in nfs4_xdr_enc_get_lease_time()
2855 encode_putrootfh(xdr, &hdr); in nfs4_xdr_enc_get_lease_time()
2856 encode_fsinfo(xdr, lease_bitmap, &hdr); in nfs4_xdr_enc_get_lease_time()
2857 encode_nops(&hdr); in nfs4_xdr_enc_get_lease_time()
2867 struct compound_hdr hdr = { in nfs4_xdr_enc_reclaim_complete() local
2871 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_reclaim_complete()
2872 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_reclaim_complete()
2873 encode_reclaim_complete(xdr, args, &hdr); in nfs4_xdr_enc_reclaim_complete()
2874 encode_nops(&hdr); in nfs4_xdr_enc_reclaim_complete()
2884 struct compound_hdr hdr = { in nfs4_xdr_enc_getdeviceinfo() local
2888 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_getdeviceinfo()
2889 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_getdeviceinfo()
2890 encode_getdeviceinfo(xdr, args, &hdr); in nfs4_xdr_enc_getdeviceinfo()
2894 xdr_inline_pages(&req->rq_rcv_buf, (hdr.replen - 2) << 2, in nfs4_xdr_enc_getdeviceinfo()
2898 encode_nops(&hdr); in nfs4_xdr_enc_getdeviceinfo()
2908 struct compound_hdr hdr = { in nfs4_xdr_enc_layoutget() local
2912 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_layoutget()
2913 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_layoutget()
2914 encode_putfh(xdr, NFS_FH(args->inode), &hdr); in nfs4_xdr_enc_layoutget()
2915 encode_layoutget(xdr, args, &hdr); in nfs4_xdr_enc_layoutget()
2917 xdr_inline_pages(&req->rq_rcv_buf, hdr.replen << 2, in nfs4_xdr_enc_layoutget()
2920 encode_nops(&hdr); in nfs4_xdr_enc_layoutget()
2932 struct compound_hdr hdr = { in nfs4_xdr_enc_layoutcommit() local
2936 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_layoutcommit()
2937 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_layoutcommit()
2938 encode_putfh(xdr, NFS_FH(args->inode), &hdr); in nfs4_xdr_enc_layoutcommit()
2939 encode_layoutcommit(xdr, data->args.inode, args, &hdr); in nfs4_xdr_enc_layoutcommit()
2940 encode_getfattr(xdr, args->bitmask, &hdr); in nfs4_xdr_enc_layoutcommit()
2941 encode_nops(&hdr); in nfs4_xdr_enc_layoutcommit()
2951 struct compound_hdr hdr = { in nfs4_xdr_enc_layoutreturn() local
2955 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_layoutreturn()
2956 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_layoutreturn()
2957 encode_putfh(xdr, NFS_FH(args->inode), &hdr); in nfs4_xdr_enc_layoutreturn()
2958 encode_layoutreturn(xdr, args, &hdr); in nfs4_xdr_enc_layoutreturn()
2959 encode_nops(&hdr); in nfs4_xdr_enc_layoutreturn()
2969 struct compound_hdr hdr = { in nfs4_xdr_enc_secinfo_no_name() local
2973 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_secinfo_no_name()
2974 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_secinfo_no_name()
2975 encode_putrootfh(xdr, &hdr); in nfs4_xdr_enc_secinfo_no_name()
2976 encode_secinfo_no_name(xdr, args, &hdr); in nfs4_xdr_enc_secinfo_no_name()
2977 encode_nops(&hdr); in nfs4_xdr_enc_secinfo_no_name()
2988 struct compound_hdr hdr = { in nfs4_xdr_enc_test_stateid() local
2992 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_test_stateid()
2993 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_test_stateid()
2994 encode_test_stateid(xdr, args, &hdr); in nfs4_xdr_enc_test_stateid()
2995 encode_nops(&hdr); in nfs4_xdr_enc_test_stateid()
3005 struct compound_hdr hdr = { in nfs4_xdr_enc_free_stateid() local
3009 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_free_stateid()
3010 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_free_stateid()
3011 encode_free_stateid(xdr, args, &hdr); in nfs4_xdr_enc_free_stateid()
3012 encode_nops(&hdr); in nfs4_xdr_enc_free_stateid()
3041 static int decode_compound_hdr(struct xdr_stream *xdr, struct compound_hdr *hdr) in decode_compound_hdr() argument
3048 hdr->status = be32_to_cpup(p++); in decode_compound_hdr()
3049 hdr->taglen = be32_to_cpup(p); in decode_compound_hdr()
3051 p = xdr_inline_decode(xdr, hdr->taglen + 4); in decode_compound_hdr()
3054 hdr->tag = (char *)p; in decode_compound_hdr()
3055 p += XDR_QUADLEN(hdr->taglen); in decode_compound_hdr()
3056 hdr->nops = be32_to_cpup(p); in decode_compound_hdr()
3057 if (unlikely(hdr->nops < 1)) in decode_compound_hdr()
3058 return nfs4_stat_to_errno(hdr->status); in decode_compound_hdr()
6074 struct compound_hdr hdr; in nfs4_xdr_dec_open_downgrade() local
6077 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_open_downgrade()
6100 struct compound_hdr hdr; in nfs4_xdr_dec_access() local
6103 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_access()
6126 struct compound_hdr hdr; in nfs4_xdr_dec_lookup() local
6129 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_lookup()
6156 struct compound_hdr hdr; in nfs4_xdr_dec_lookup_root() local
6159 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_lookup_root()
6182 struct compound_hdr hdr; in nfs4_xdr_dec_remove() local
6185 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_remove()
6205 struct compound_hdr hdr; in nfs4_xdr_dec_rename() local
6208 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_rename()
6234 struct compound_hdr hdr; in nfs4_xdr_dec_link() local
6237 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_link()
6273 struct compound_hdr hdr; in nfs4_xdr_dec_create() local
6276 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_create()
6311 struct compound_hdr hdr; in nfs4_xdr_dec_getattr() local
6314 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_getattr()
6334 struct compound_hdr hdr = { in nfs4_xdr_enc_setacl() local
6338 encode_compound_hdr(xdr, req, &hdr); in nfs4_xdr_enc_setacl()
6339 encode_sequence(xdr, &args->seq_args, &hdr); in nfs4_xdr_enc_setacl()
6340 encode_putfh(xdr, args->fh, &hdr); in nfs4_xdr_enc_setacl()
6341 encode_setacl(xdr, args, &hdr); in nfs4_xdr_enc_setacl()
6342 encode_nops(&hdr); in nfs4_xdr_enc_setacl()
6352 struct compound_hdr hdr; in nfs4_xdr_dec_setacl() local
6355 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_setacl()
6376 struct compound_hdr hdr; in nfs4_xdr_dec_getacl() local
6383 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_getacl()
6404 struct compound_hdr hdr; in nfs4_xdr_dec_close() local
6407 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_close()
6436 struct compound_hdr hdr; in nfs4_xdr_dec_open() local
6439 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_open()
6468 struct compound_hdr hdr; in nfs4_xdr_dec_open_confirm() local
6471 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_open_confirm()
6489 struct compound_hdr hdr; in nfs4_xdr_dec_open_noattr() local
6492 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_open_noattr()
6518 struct compound_hdr hdr; in nfs4_xdr_dec_setattr() local
6521 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_setattr()
6544 struct compound_hdr hdr; in nfs4_xdr_dec_lock() local
6547 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_lock()
6567 struct compound_hdr hdr; in nfs4_xdr_dec_lockt() local
6570 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_lockt()
6590 struct compound_hdr hdr; in nfs4_xdr_dec_locku() local
6593 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_locku()
6610 struct compound_hdr hdr; in nfs4_xdr_dec_release_lockowner() local
6613 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_release_lockowner()
6626 struct compound_hdr hdr; in nfs4_xdr_dec_readlink() local
6629 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_readlink()
6649 struct compound_hdr hdr; in nfs4_xdr_dec_readdir() local
6652 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_readdir()
6672 struct compound_hdr hdr; in nfs4_xdr_dec_read() local
6675 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_read()
6676 res->op_status = hdr.status; in nfs4_xdr_dec_read()
6698 struct compound_hdr hdr; in nfs4_xdr_dec_write() local
6701 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_write()
6702 res->op_status = hdr.status; in nfs4_xdr_dec_write()
6728 struct compound_hdr hdr; in nfs4_xdr_dec_commit() local
6731 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_commit()
6732 res->op_status = hdr.status; in nfs4_xdr_dec_commit()
6752 struct compound_hdr hdr; in nfs4_xdr_dec_fsinfo() local
6755 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_fsinfo()
6771 struct compound_hdr hdr; in nfs4_xdr_dec_pathconf() local
6774 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_pathconf()
6790 struct compound_hdr hdr; in nfs4_xdr_dec_statfs() local
6793 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_statfs()
6810 struct compound_hdr hdr; in nfs4_xdr_dec_server_caps() local
6813 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_server_caps()
6833 struct compound_hdr hdr; in nfs4_xdr_dec_renew() local
6836 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_renew()
6849 struct compound_hdr hdr; in nfs4_xdr_dec_setclientid() local
6852 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_setclientid()
6864 struct compound_hdr hdr; in nfs4_xdr_dec_setclientid_confirm() local
6867 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_setclientid_confirm()
6880 struct compound_hdr hdr; in nfs4_xdr_dec_delegreturn() local
6883 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_delegreturn()
6907 struct compound_hdr hdr; in nfs4_xdr_dec_fs_locations() local
6910 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_fs_locations()
6950 struct compound_hdr hdr; in nfs4_xdr_dec_secinfo() local
6953 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_secinfo()
6974 struct compound_hdr hdr; in nfs4_xdr_dec_fsid_present() local
6977 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_fsid_present()
7003 struct compound_hdr hdr; in nfs4_xdr_dec_bind_conn_to_session() local
7006 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_bind_conn_to_session()
7019 struct compound_hdr hdr; in nfs4_xdr_dec_exchange_id() local
7022 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_exchange_id()
7035 struct compound_hdr hdr; in nfs4_xdr_dec_create_session() local
7038 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_create_session()
7051 struct compound_hdr hdr; in nfs4_xdr_dec_destroy_session() local
7054 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_destroy_session()
7067 struct compound_hdr hdr; in nfs4_xdr_dec_destroy_clientid() local
7070 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_destroy_clientid()
7083 struct compound_hdr hdr; in nfs4_xdr_dec_sequence() local
7086 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_sequence()
7099 struct compound_hdr hdr; in nfs4_xdr_dec_get_lease_time() local
7102 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_get_lease_time()
7119 struct compound_hdr hdr; in nfs4_xdr_dec_reclaim_complete() local
7122 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_reclaim_complete()
7137 struct compound_hdr hdr; in nfs4_xdr_dec_getdeviceinfo() local
7140 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_getdeviceinfo()
7158 struct compound_hdr hdr; in nfs4_xdr_dec_layoutget() local
7161 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layoutget()
7182 struct compound_hdr hdr; in nfs4_xdr_dec_layoutreturn() local
7185 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layoutreturn()
7206 struct compound_hdr hdr; in nfs4_xdr_dec_layoutcommit() local
7209 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_layoutcommit()
7233 struct compound_hdr hdr; in nfs4_xdr_dec_secinfo_no_name() local
7236 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_secinfo_no_name()
7257 struct compound_hdr hdr; in nfs4_xdr_dec_test_stateid() local
7260 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_test_stateid()
7278 struct compound_hdr hdr; in nfs4_xdr_dec_free_stateid() local
7281 status = decode_compound_hdr(xdr, &hdr); in nfs4_xdr_dec_free_stateid()