Lines Matching defs:cookie
59 static const char *nlmdbg_cookie2a(const struct nlm_cookie *cookie)
72 for (i = 0 ; i < cookie->len ; i++) {
77 sprintf(p, "%02x", cookie->data[i]);
160 dprintk("lockd: check f=%p pd=%d %Ld-%Ld ty=%d cookie=%s\n",
164 nlmdbg_cookie2a(&block->b_call->a_args.cookie));
186 * Find a block with a given NLM cookie.
189 nlmsvc_find_block(struct nlm_cookie *cookie)
195 if (nlm_cookie_match(&block->b_call->a_args.cookie,cookie))
203 dprintk("nlmsvc_find_block(%s): block=%p\n", nlmdbg_cookie2a(cookie), block);
212 * Note: we explicitly set the cookie of the grant reply to that of
214 * should _not_ rely on the callback containing the same cookie as the
221 * GRANTED_RES message by cookie, without having to rely on the client's IP
227 struct nlm_cookie *cookie)
250 nlmclnt_next_cookie(&call->a_args.cookie);
482 struct nlm_cookie *cookie, int reclaim)
512 block = nlmsvc_create_block(rqstp, host, file, lock, cookie);
599 struct nlm_lock *conflock, struct nlm_cookie *cookie)
965 nlmsvc_grant_reply(struct nlm_cookie *cookie, __be32 status)
971 dprintk("grant_reply: looking for cookie %x, s=%d \n",
972 *(unsigned int *)(cookie->data), status);
973 if (!(block = nlmsvc_find_block(cookie)))