Searched refs:user_res (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/mtd/devices/
H A Dms02-nv.c114 struct resource *user_res; ms02nv_init_one() local
169 user_res = kzalloc(sizeof(*user_res), GFP_KERNEL); ms02nv_init_one()
170 if (!user_res) ms02nv_init_one()
173 user_res->name = ms02nv_res_user_ram; ms02nv_init_one()
174 user_res->start = addr + MS02NV_RAM; ms02nv_init_one()
175 user_res->end = addr + size - 1; ms02nv_init_one()
176 user_res->flags = IORESOURCE_BUSY; ms02nv_init_one()
177 request_resource(mod_res, user_res); ms02nv_init_one()
179 mp->resource.user_ram = user_res; ms02nv_init_one()
234 release_resource(user_res); ms02nv_init_one()
235 kfree(user_res); ms02nv_init_one()

Completed in 41 milliseconds