Lines Matching full:past

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