Searched refs:new_sect (Results 1 – 2 of 2) sorted by relevance
100 struct rmm_ovly_sect *new_sect; in rmm_alloc() local140 new_sect = kzalloc(sizeof(struct rmm_ovly_sect), GFP_KERNEL); in rmm_alloc()141 if (new_sect == NULL) { in rmm_alloc()144 new_sect->addr = addr; in rmm_alloc()145 new_sect->size = size; in rmm_alloc()146 new_sect->page = segid; in rmm_alloc()149 list_add_tail(&new_sect->list_elem, in rmm_alloc()153 list_add_tail(&new_sect->list_elem, in rmm_alloc()
1058 struct ovly_sect *new_sect = NULL; in add_ovly_sect() local1081 new_sect = kzalloc(sizeof(struct ovly_sect), GFP_KERNEL); in add_ovly_sect()1082 if (new_sect == NULL) { in add_ovly_sect()1085 new_sect->sect_load_addr = addr; in add_ovly_sect()1086 new_sect->sect_run_addr = sect_inf->sect_run_addr + in add_ovly_sect()1088 new_sect->size = bytes; in add_ovly_sect()1089 new_sect->page = sect_inf->type; in add_ovly_sect()1096 *lst = new_sect; in add_ovly_sect()1098 last_sect->next_sect = new_sect; in add_ovly_sect()