Lines Matching defs:item
38 static int item_depth(struct config_item * item)
40 struct config_item * p = item;
46 static int item_path_length(struct config_item * item)
48 struct config_item * p = item;
57 static void fill_item_path(struct config_item * item, char * buffer, int length)
62 for (p = item; p && !configfs_is_root(p); p = p->ci_parent) {
73 struct config_item *item,
76 struct configfs_dirent *target_sd = item->ci_dentry->d_fsdata;
86 sl->sl_target = config_item_get(item);
90 config_item_put(item);
102 config_item_put(item);
241 static int configfs_get_target_path(struct config_item * item, struct config_item * target,
247 depth = item_depth(item);
265 struct config_item *item, *target_item;
268 item = configfs_get_config_item(dentry->d_parent);
269 if (!item)
274 config_item_put(item);
279 error = configfs_get_target_path(item, target_item, path);
282 config_item_put(item);