Lines Matching defs:past
276 struct dlm_proxy_ast *past = (struct dlm_proxy_ast *) msg->buf;
291 name = past->name;
292 locklen = past->namelen;
293 cookie = past->cookie;
294 flags = be32_to_cpu(past->flags);
295 node = past->node_idx;
315 mlog(0, "type=%d, blocked_type=%d\n", past->type, past->blocked_type);
317 if (past->type != DLM_AST &&
318 past->type != DLM_BAST) {
320 "name=%.*s, node=%u\n", past->type,
331 "name=%.*s, node=%u\n", (past->type == DLM_AST ? "" : "b"),
365 if (past->type == DLM_AST)
380 "node=%u\n", past->type == DLM_AST ? "" : "b",
392 if (past->type == DLM_AST) {
413 memcpy(lock->lksb->lvb, past->lvb, DLM_LVB_LEN);
418 if (past->type == DLM_AST)
421 dlm_do_local_bast(dlm, res, lock, past->blocked_type);
438 struct dlm_proxy_ast past;
447 memset(&past, 0, sizeof(struct dlm_proxy_ast));
448 past.node_idx = dlm->node_num;
449 past.type = msg_type;
450 past.blocked_type = blocked_type;
451 past.namelen = res->lockname.len;
452 memcpy(past.name, res->lockname.name, past.namelen);
453 past.cookie = lock->ml.cookie;
456 vec[0].iov_base = &past;
458 be32_add_cpu(&past.flags, LKM_GET_LVB);