Lines Matching refs:past
269 struct dlm_proxy_ast *past = (struct dlm_proxy_ast *) msg->buf;
284 name = past->name;
285 locklen = past->namelen;
286 cookie = past->cookie;
287 flags = be32_to_cpu(past->flags);
288 node = past->node_idx;
308 mlog(0, "type=%d, blocked_type=%d\n", past->type, past->blocked_type);
310 if (past->type != DLM_AST &&
311 past->type != DLM_BAST) {
313 "name=%.*s, node=%u\n", past->type,
324 "name=%.*s, node=%u\n", (past->type == DLM_AST ? "" : "b"),
358 if (past->type == DLM_AST)
370 "node=%u\n", past->type == DLM_AST ? "" : "b",
382 if (past->type == DLM_AST) {
399 memcpy(lock->lksb->lvb, past->lvb, DLM_LVB_LEN);
404 if (past->type == DLM_AST)
407 dlm_do_local_bast(dlm, res, lock, past->blocked_type);
424 struct dlm_proxy_ast past;
433 memset(&past, 0, sizeof(struct dlm_proxy_ast));
434 past.node_idx = dlm->node_num;
435 past.type = msg_type;
436 past.blocked_type = blocked_type;
437 past.namelen = res->lockname.len;
438 memcpy(past.name, res->lockname.name, past.namelen);
439 past.cookie = lock->ml.cookie;
442 vec[0].iov_base = &past;
445 be32_add_cpu(&past.flags, LKM_GET_LVB);