Lines Matching defs:info
27 struct mode_info *info;
32 list_for_each_entry(info, &reboot->head, list) {
33 if (!strcmp(info->mode, cmd)) {
34 magic = info->magic;
64 struct mode_info *info;
76 info = devm_kzalloc(reboot->dev, sizeof(*info), GFP_KERNEL);
77 if (!info) {
82 if (of_property_read_u32(np, prop->name, &info->magic)) {
84 info->mode);
85 devm_kfree(reboot->dev, info);
89 info->mode = kstrdup_const(prop->name + len, GFP_KERNEL);
90 if (!info->mode) {
93 } else if (info->mode[0] == '\0') {
94 kfree_const(info->mode);
101 list_add_tail(&info->list, &reboot->head);
110 list_for_each_entry(info, &reboot->head, list)
111 kfree_const(info->mode);
123 struct mode_info *info;
127 list_for_each_entry(info, &reboot->head, list)
128 kfree_const(info->mode);