Home
last modified time | relevance | path

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

/openbmc/linux/drivers/block/rnbd/
H A 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()
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,
598 a = strnstr(dev_search_path, "%SESSNAME%", sizeof(dev_search_path)); in rnbd_srv_get_full_path()
600 len = a - dev_search_path; in rnbd_srv_get_full_path()
606 dev_search_path, dev_name); in rnbd_srv_get_full_path()
[all …]
H A 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
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-rnbd-client65 'dev_search_path' module parameter of the rnbd_server.
67 with <dev_search_path> and tries to open the
68 <dev_search_path>/<device_path> block device. On success,
73 If 'dev_search_path' contains '%SESSNAME%', then each session can
75 the following parameter "dev_search_path=/run/rnbd-devs/%SESSNAME%",