Lines Matching defs:boot_kset
338 iscsi_boot_create_kobj(struct iscsi_boot_kset *boot_kset,
352 boot_kobj->kobj.kset = boot_kset->kset;
378 list_add_tail(&boot_kobj->list, &boot_kset->kobj_list);
391 * @boot_kset: boot kset
402 iscsi_boot_create_target(struct iscsi_boot_kset *boot_kset, int index,
408 return iscsi_boot_create_kobj(boot_kset, &iscsi_boot_target_attr_group,
416 * @boot_kset: boot kset
427 iscsi_boot_create_initiator(struct iscsi_boot_kset *boot_kset, int index,
433 return iscsi_boot_create_kobj(boot_kset,
442 * @boot_kset: boot kset
453 iscsi_boot_create_ethernet(struct iscsi_boot_kset *boot_kset, int index,
459 return iscsi_boot_create_kobj(boot_kset,
468 * @boot_kset: boot kset
479 iscsi_boot_create_acpitbl(struct iscsi_boot_kset *boot_kset, int index,
485 return iscsi_boot_create_kobj(boot_kset,
498 struct iscsi_boot_kset *boot_kset;
500 boot_kset = kzalloc(sizeof(*boot_kset), GFP_KERNEL);
501 if (!boot_kset)
504 boot_kset->kset = kset_create_and_add(set_name, NULL, firmware_kobj);
505 if (!boot_kset->kset) {
506 kfree(boot_kset);
510 INIT_LIST_HEAD(&boot_kset->kobj_list);
511 return boot_kset;
521 struct iscsi_boot_kset *boot_kset;
528 boot_kset = iscsi_boot_create_kset(set_name);
530 return boot_kset;
536 * @boot_kset: boot kset
540 void iscsi_boot_destroy_kset(struct iscsi_boot_kset *boot_kset)
544 if (!boot_kset)
548 &boot_kset->kobj_list, list)
551 kset_unregister(boot_kset->kset);
552 kfree(boot_kset);