Lines Matching refs:open_msg
563 const struct rnbd_msg_open *open_msg, in rnbd_srv_create_set_sess_dev() argument
574 strscpy(sdev->pathname, open_msg->dev_name, sizeof(sdev->pathname)); in rnbd_srv_create_set_sess_dev()
580 sdev->access_mode = open_msg->access_mode; in rnbd_srv_create_set_sess_dev()
682 const struct rnbd_msg_open *open_msg = msg; in process_msg_open() local
688 trace_process_msg_open(srv_sess, open_msg); in process_msg_open()
691 if (open_msg->access_mode != RNBD_ACCESS_RO) in process_msg_open()
696 srv_sess_dev = find_srv_sess_dev(srv_sess, open_msg->dev_name); in process_msg_open()
700 if ((strlen(dev_search_path) + strlen(open_msg->dev_name)) in process_msg_open()
703 srv_sess->sessname, dev_search_path, open_msg->dev_name, in process_msg_open()
708 if (strstr(open_msg->dev_name, "..")) { in process_msg_open()
710 srv_sess->sessname, open_msg->dev_name); in process_msg_open()
714 full_path = rnbd_srv_get_full_path(srv_sess, open_msg->dev_name); in process_msg_open()
718 open_msg->dev_name, srv_sess->sessname, ret); in process_msg_open()
731 open_msg->access_mode); in process_msg_open()
739 srv_sess_dev = rnbd_srv_create_set_sess_dev(srv_sess, open_msg, in process_msg_open()
791 if (open_msg->access_mode != RNBD_ACCESS_RO) { in process_msg_open()