Searched refs:seg_info (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/s390/block/ |
H A D | dcssblk.c | 276 dcssblk_load_segment(char *name, struct segment_info **seg_info) dcssblk_load_segment() argument 282 *seg_info = dcssblk_get_segment_by_name(name); dcssblk_load_segment() 284 if (*seg_info != NULL) dcssblk_load_segment() 288 *seg_info = kzalloc(sizeof(struct segment_info), GFP_KERNEL); dcssblk_load_segment() 289 if (*seg_info == NULL) dcssblk_load_segment() 292 strcpy((*seg_info)->segment_name, name); dcssblk_load_segment() 296 &(*seg_info)->start, &(*seg_info)->end); dcssblk_load_segment() 298 segment_warning(rc, (*seg_info)->segment_name); dcssblk_load_segment() 299 kfree(*seg_info); dcssblk_load_segment() 301 INIT_LIST_HEAD(&(*seg_info)->lh); dcssblk_load_segment() 302 (*seg_info)->segment_type = rc; dcssblk_load_segment() 525 struct segment_info *seg_info, *temp; dcssblk_add_store() local 530 seg_info = NULL; dcssblk_add_store() 563 rc = dcssblk_load_segment(local_buf, &seg_info); dcssblk_add_store() 577 dev_info->segment_type = seg_info->segment_type; dcssblk_add_store() 580 list_add_tail(&seg_info->lh, &dev_info->seg_list); dcssblk_add_store() 677 list_for_each_entry(seg_info, &dev_info->seg_list, lh) { dcssblk_add_store() 678 segment_unload(seg_info->segment_name); dcssblk_add_store() 693 list_for_each_entry_safe(seg_info, temp, &dev_info->seg_list, lh) { dcssblk_add_store() 694 list_del(&seg_info->lh); dcssblk_add_store() 695 segment_unload(seg_info->segment_name); dcssblk_add_store() 696 kfree(seg_info); dcssblk_add_store()
|
Completed in 64 milliseconds