Lines Matching defs:root_dir
124 di_devlink_open(const char *root_dir, uint_t flags)
136 if ((hdp = handle_alloc(root_dir, OPEN_RDWR)) == NULL) {
311 handle_alloc(const char *root_dir, uint_t flags)
328 if (root_dir && root_dir[0] != '\0') {
330 if (root_dir[0] != '/') {
339 if ((realpath(root_dir, dev_dir) == NULL) ||
340 (realpath(root_dir, db_dir) == NULL)) {
418 if (enter_db_lock(&proto, root_dir) != 1) {
1991 devlink_snapshot(const char *root_dir)
1997 if ((hdp = handle_alloc(root_dir, OPEN_RDONLY)) == NULL) {
2019 (void) devlink_create(root_dir, NULL, DCA_DEVLINK_SYNC);
3074 enter_db_lock(struct di_devlink_handle *hdp, const char *root_dir)
3113 (void) devlink_create(root_dir, NULL,