Home
last modified time | relevance | path

Searched refs:dev_search_path (Results 1 – 2 of 2) sorted by relevance

/drivers/block/rnbd/
Drnbd-srv.c30 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()
[all …]
DREADME47 dev_search_path
51 to the block device on the server side by concatenating dev_search_path
54 The default dev_search_path is: "/".
56 dev_search_path option can also contain %SESSNAME% in order to provide