Lines Matching refs:parent_item

626 static int configfs_attach_group(struct config_item *parent_item,
760 static void link_obj(struct config_item *parent_item, struct config_item *item) in link_obj() argument
766 item->ci_parent = parent_item; in link_obj()
772 item->ci_group = config_group_get(to_config_group(parent_item)); in link_obj()
827 static int configfs_attach_item(struct config_item *parent_item, in configfs_attach_item() argument
862 static int configfs_attach_group(struct config_item *parent_item, in configfs_attach_group() argument
870 ret = configfs_attach_item(parent_item, item, dentry, frag); in configfs_attach_group()
917 static void client_disconnect_notify(struct config_item *parent_item, in client_disconnect_notify() argument
922 type = parent_item->ci_type; in client_disconnect_notify()
926 type->ct_group_ops->disconnect_notify(to_config_group(parent_item), in client_disconnect_notify()
936 static void client_drop_item(struct config_item *parent_item, in client_drop_item() argument
941 type = parent_item->ci_type; in client_drop_item()
949 type->ct_group_ops->drop_item(to_config_group(parent_item), in client_drop_item()
1276 struct config_item *parent_item; in configfs_mkdir() local
1307 parent_item = configfs_get_config_item(dentry->d_parent); in configfs_mkdir()
1308 type = parent_item->ci_type; in configfs_mkdir()
1309 subsys = to_config_group(parent_item)->cg_subsys; in configfs_mkdir()
1344 group = type->ct_group_ops->make_group(to_config_group(parent_item), name); in configfs_mkdir()
1348 link_group(to_config_group(parent_item), group); in configfs_mkdir()
1353 item = type->ct_group_ops->make_item(to_config_group(parent_item), name); in configfs_mkdir()
1357 link_obj(parent_item, item); in configfs_mkdir()
1408 ret = configfs_attach_group(parent_item, item, dentry, frag); in configfs_mkdir()
1410 ret = configfs_attach_item(parent_item, item, dentry, frag); in configfs_mkdir()
1423 client_disconnect_notify(parent_item, item); in configfs_mkdir()
1428 client_drop_item(parent_item, item); in configfs_mkdir()
1446 config_item_put(parent_item); in configfs_mkdir()
1455 struct config_item *parent_item; in configfs_rmdir() local
1468 parent_item = configfs_get_config_item(dentry->d_parent); in configfs_rmdir()
1469 subsys = to_config_group(parent_item)->cg_subsys; in configfs_rmdir()
1472 if (!parent_item->ci_type) { in configfs_rmdir()
1473 config_item_put(parent_item); in configfs_rmdir()
1506 config_item_put(parent_item); in configfs_rmdir()
1522 config_item_put(parent_item); in configfs_rmdir()
1532 config_item_put(parent_item); in configfs_rmdir()
1541 client_disconnect_notify(parent_item, item); in configfs_rmdir()
1547 client_disconnect_notify(parent_item, item); in configfs_rmdir()
1551 client_drop_item(parent_item, item); in configfs_rmdir()