Lines Matching refs:search
236 const char *search) { in rootdev_get_device() argument
239 if (search == NULL) in rootdev_get_device()
240 search = kDefaultSearchPath; in rootdev_get_device()
255 snprintf(dst, size, "%s", search); in rootdev_get_device()
273 const char *device, const char *search) { in rootdev_get_device_slave() argument
278 if (search == NULL) in rootdev_get_device_slave()
279 search = kDefaultSearchPath; in rootdev_get_device_slave()
290 len = snprintf(dst, sizeof(dst), "%s/%s/slaves", search, slave); in rootdev_get_device_slave()
291 if (len != strlen(device) + strlen(search) + 8) { in rootdev_get_device_slave()
370 const char *search, const char *dev_path) { in rootdev_wrapper() argument
373 if (!search) in rootdev_wrapper()
374 search = kDefaultSearchPath; in rootdev_wrapper()
380 res = rootdev_get_device(devname, sizeof(devname), *dev, search); in rootdev_wrapper()
386 search); in rootdev_wrapper()