Lines Matching defs:buf
63 static int rnbd_clt_parse_map_options(const char *buf, size_t max_path_cnt,
75 options = kstrdup(buf, GFP_KERNEL);
267 const char *buf, size_t count)
274 opt = kstrdup(buf, GFP_KERNEL);
339 const char *buf, size_t count)
347 ret = kstrtoul(buf, 0, §ors);
371 const char *buf, size_t count)
377 opt = kstrdup(buf, GFP_KERNEL);
475 static int rnbd_clt_get_path_name(struct rnbd_clt_dev *dev, char *buf,
485 ret = snprintf(buf, len, "%s", pathname);
530 const char *buf, size_t count)
559 ret = rnbd_clt_parse_map_options(buf, ARRAY_SIZE(paths), &opt);