Lines Matching refs:root_dir
125 di_devlink_open(const char *root_dir, uint_t flags) in di_devlink_open() argument
137 if ((hdp = handle_alloc(root_dir, OPEN_RDWR)) == NULL) { in di_devlink_open()
312 handle_alloc(const char *root_dir, uint_t flags) in handle_alloc() argument
329 if (root_dir && root_dir[0] != '\0') { in handle_alloc()
331 if (root_dir[0] != '/') { in handle_alloc()
340 if ((realpath(root_dir, dev_dir) == NULL) || in handle_alloc()
341 (realpath(root_dir, db_dir) == NULL)) { in handle_alloc()
419 if (enter_db_lock(&proto, root_dir) != 1) { in handle_alloc()
1992 devlink_snapshot(const char *root_dir) in devlink_snapshot() argument
1998 if ((hdp = handle_alloc(root_dir, OPEN_RDONLY)) == NULL) { in devlink_snapshot()
2020 (void) devlink_create(root_dir, NULL, DCA_DEVLINK_SYNC); in devlink_snapshot()
3075 enter_db_lock(struct di_devlink_handle *hdp, const char *root_dir) in enter_db_lock() argument
3114 (void) devlink_create(root_dir, NULL, in enter_db_lock()