Home
last modified time | relevance | path

Searched refs:cookie_offset (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/arch/um/drivers/
H A Dvector_transports.c61 uint32_t cookie_offset; member
78 (*(uint64_t *)(header + td->cookie_offset)) = in l2tpv3_form_header()
81 (*(uint32_t *)(header + td->cookie_offset)) = in l2tpv3_form_header()
147 cookie = *(uint64_t *)(header + td->cookie_offset); in l2tpv3_verify_header()
149 cookie = *(uint32_t *)(header + td->cookie_offset); in l2tpv3_verify_header()
324 td->cookie_offset = 4; in build_l2tpv3_transport_data()
389 td->cookie_offset += 4; in build_l2tpv3_transport_data()
/openbmc/qemu/net/
H A Dl2tpv3.c115 uint32_t cookie_offset; member
196 (uint64_t *)(s->header_buf + s->cookie_offset), in l2tpv3_form_header()
201 (uint32_t *) (s->header_buf + s->cookie_offset), in l2tpv3_form_header()
322 cookie = ldq_be_p(buf + s->cookie_offset); in l2tpv3_verify_header()
324 cookie = ldl_be_p(buf + s->cookie_offset) & 0xffffffffULL; in l2tpv3_verify_header()
590 s->cookie_offset = 4; in net_init_l2tpv3()
627 s->cookie_offset += 4; in net_init_l2tpv3()
/openbmc/linux/fs/nfsd/
H A Dnfsxdr.c566 if (!resp->cookie_offset) in nfssvc_encode_nfscookie()
569 write_bytes_to_xdr_buf(&resp->dirlist, resp->cookie_offset, &cookie, in nfssvc_encode_nfscookie()
571 resp->cookie_offset = 0; in nfssvc_encode_nfscookie()
590 resp->cookie_offset = dirlist->len; in svcxdr_encode_entry_common()
635 resp->cookie_offset = 0; in nfssvc_encode_entry()
H A Dnfs3xdr.c1032 if (!resp->cookie_offset) in nfs3svc_encode_cookie3()
1034 write_bytes_to_xdr_buf(&resp->dirlist, resp->cookie_offset, &cookie, in nfs3svc_encode_cookie3()
1036 resp->cookie_offset = 0; in nfs3svc_encode_cookie3()
1055 resp->cookie_offset = dirlist->len; in svcxdr_encode_entry3_common()
1100 resp->cookie_offset = 0; in nfs3svc_encode_entry3()
1177 resp->cookie_offset = 0; in nfs3svc_encode_entryplus3()
H A Dxdr.h118 unsigned int cookie_offset; member
H A Dnfs4xdr.c3602 int cookie_offset; in nfsd4_encode_dirent() local
3615 if (cd->cookie_offset) { in nfsd4_encode_dirent()
3617 write_bytes_to_xdr_buf(xdr->buf, cd->cookie_offset, in nfsd4_encode_dirent()
3625 cookie_offset = xdr->buf->len; in nfsd4_encode_dirent()
3688 cd->cookie_offset = cookie_offset; in nfsd4_encode_dirent()
4269 readdir->cookie_offset = 0; in nfsd4_encode_readdir()
4289 if (readdir->cookie_offset) { in nfsd4_encode_readdir()
4291 write_bytes_to_xdr_buf(xdr->buf, readdir->cookie_offset, in nfsd4_encode_readdir()
5131 u32 cookie_offset, count_offset, eof; in nfsd4_encode_listxattrs() local
5150 cookie_offset = xdr->buf->len; in nfsd4_encode_listxattrs()
[all …]
H A Dxdr3.h182 unsigned int cookie_offset; member
H A Dnfs3proc.c589 resp->cookie_offset = 0; in nfsd3_proc_readdir()
622 resp->cookie_offset = 0; in nfsd3_proc_readdirplus()
H A Dxdr4.h323 int cookie_offset; member
H A Dnfsproc.c586 resp->cookie_offset = 0; in nfsd_proc_readdir()