Lines Matching defs:cookie
321 static void nfs4_setup_readdir(u64 cookie, __be32 *verifier, struct dentry *dentry,
327 if (cookie > 2) {
328 readdir->cookie = cookie;
333 readdir->cookie = 0;
335 if (cookie == 2)
341 * have cookie 0 and '..' have cookie 1. Note that
342 * when talking to the server, we always send cookie 0
347 if (cookie == 0) {
349 *p++ = xdr_zero; /* cookie, first word */
350 *p++ = xdr_one; /* cookie, second word */
362 *p++ = xdr_zero; /* cookie, first word */
363 *p++ = xdr_two; /* cookie, second word */
4991 u64 cookie, struct page **pages, unsigned int count, bool plus)
5011 dprintk("%s: dentry = %pd2, cookie = %Lu\n", __func__,
5013 (unsigned long long)cookie);
5019 nfs4_setup_readdir(cookie, NFS_I(dir)->cookieverf, dentry, &args);
5035 u64 cookie, struct page **pages, unsigned int count, bool plus)
5042 err = _nfs4_proc_readdir(dentry, cred, cookie,
7698 u64 cookie;
7721 cookie = 0;
7729 &cookie, &eof);