Lines Matching defs:past
264 struct dlm_proxy_ast *past = (struct dlm_proxy_ast *) msg->buf;
279 name = past->name;
280 locklen = past->namelen;
281 cookie = past->cookie;
282 flags = be32_to_cpu(past->flags);
283 node = past->node_idx;
303 mlog(0, "type=%d, blocked_type=%d\n", past->type, past->blocked_type);
305 if (past->type != DLM_AST &&
306 past->type != DLM_BAST) {
308 "name=%.*s, node=%u\n", past->type,
319 "name=%.*s, node=%u\n", (past->type == DLM_AST ? "" : "b"),
353 if (past->type == DLM_AST)
368 "node=%u\n", past->type == DLM_AST ? "" : "b",
380 if (past->type == DLM_AST) {
401 memcpy(lock->lksb->lvb, past->lvb, DLM_LVB_LEN);
406 if (past->type == DLM_AST)
409 dlm_do_local_bast(dlm, res, lock, past->blocked_type);
426 struct dlm_proxy_ast past;
435 memset(&past, 0, sizeof(struct dlm_proxy_ast));
436 past.node_idx = dlm->node_num;
437 past.type = msg_type;
438 past.blocked_type = blocked_type;
439 past.namelen = res->lockname.len;
440 memcpy(past.name, res->lockname.name, past.namelen);
441 past.cookie = lock->ml.cookie;
444 vec[0].iov_base = &past;
446 be32_add_cpu(&past.flags, LKM_GET_LVB);