Lines Matching refs:dev_search_path
30 static char dev_search_path[PATH_MAX] = DEFAULT_DEV_SEARCH_PATH; variable
36 if (strlen(val) >= sizeof(dev_search_path)) in dev_search_path_set()
39 snprintf(dev_search_path, sizeof(dev_search_path), "%.*s", in dev_search_path_set()
42 pr_info("dev_search_path changed to '%s'\n", dev_search_path); in dev_search_path_set()
48 .maxlen = sizeof(dev_search_path),
49 .string = dev_search_path
57 module_param_cb(dev_search_path, &dev_search_path_ops,
59 MODULE_PARM_DESC(dev_search_path,
600 a = strnstr(dev_search_path, "%SESSNAME%", sizeof(dev_search_path)); in rnbd_srv_get_full_path()
602 len = a - dev_search_path; in rnbd_srv_get_full_path()
605 dev_search_path, srv_sess->sessname, dev_name); in rnbd_srv_get_full_path()
608 dev_search_path, dev_name); in rnbd_srv_get_full_path()
612 dev_search_path, srv_sess->sessname, dev_name); in rnbd_srv_get_full_path()
701 if ((strlen(dev_search_path) + strlen(open_msg->dev_name)) in process_msg_open()
704 srv_sess->sessname, dev_search_path, open_msg->dev_name, in process_msg_open()