Lines Matching defs:past
274 struct dlm_proxy_ast *past = (struct dlm_proxy_ast *) msg->buf;
288 name = past->name;
289 locklen = past->namelen;
290 cookie = be64_to_cpu(past->cookie);
291 flags = be32_to_cpu(past->flags);
309 mlog(0, "type=%d, blocked_type=%d\n", past->type, past->blocked_type);
311 if (past->type != DLM_AST &&
312 past->type != DLM_BAST) {
314 "name=%.*s\n", past->type,
326 past->type == DLM_AST ? "" : "b",
360 if (past->type == DLM_AST)
372 "name=%.*s, namelen=%u\n", past->type == DLM_AST ? "" : "b",
384 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);
427 struct dlm_proxy_ast past;
436 memset(&past, 0, sizeof(struct dlm_proxy_ast));
437 past.node_idx = dlm->node_num;
438 past.type = msg_type;
439 past.blocked_type = blocked_type;
440 past.namelen = res->lockname.len;
441 memcpy(past.name, res->lockname.name, past.namelen);
442 past.cookie = lock->ml.cookie;
445 vec[0].iov_base = &past;
448 be32_add_cpu(&past.flags, LKM_GET_LVB);