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