Home
last modified time | relevance | path

Searched refs:new_res (Results 1 – 6 of 6) sorted by relevance

/linux/kernel/
A Dresource.c1402 if (!new_res) { in release_mem_region_adjustable()
1404 if (!new_res) { in release_mem_region_adjustable()
1410 new_res->name = res->name; in release_mem_region_adjustable()
1411 new_res->start = end + 1; in release_mem_region_adjustable()
1412 new_res->end = res->end; in release_mem_region_adjustable()
1413 new_res->flags = res->flags; in release_mem_region_adjustable()
1414 new_res->desc = res->desc; in release_mem_region_adjustable()
1417 new_res->child = NULL; in release_mem_region_adjustable()
1422 res->sibling = new_res; in release_mem_region_adjustable()
1423 new_res = NULL; in release_mem_region_adjustable()
[all …]
/linux/drivers/hv/
A Dvmbus_drv.c2159 struct resource *new_res; in vmbus_walk_resources() local
2210 new_res = kzalloc(sizeof(*new_res), GFP_ATOMIC); in vmbus_walk_resources()
2211 if (!new_res) in vmbus_walk_resources()
2218 new_res->name = "hyperv mmio"; in vmbus_walk_resources()
2220 new_res->start = start; in vmbus_walk_resources()
2221 new_res->end = end; in vmbus_walk_resources()
2228 *old_res = new_res; in vmbus_walk_resources()
2234 kfree(new_res); in vmbus_walk_resources()
2240 kfree(new_res); in vmbus_walk_resources()
2245 new_res->sibling = *old_res; in vmbus_walk_resources()
[all …]
/linux/drivers/char/tpm/
A Dtpm_crb.c459 struct resource new_res = { in crb_map_res() local
466 if (start != new_res.start) in crb_map_res()
470 return devm_ioremap_resource(dev, &new_res); in crb_map_res()
478 return *iobase_ptr + (new_res.start - iores->start); in crb_map_res()
/linux/drivers/base/
A Ddevres.c311 void * devres_get(struct device *dev, void *new_res, in devres_get() argument
314 struct devres *new_dr = container_of(new_res, struct devres, data); in devres_get()
323 new_res = NULL; in devres_get()
326 devres_free(new_res); in devres_get()
/linux/drivers/nvdimm/
A Dnamespace_devs.c613 struct resource *next = res->sibling, *new_res = NULL; in scan_allocate() local
677 new_res = next; in scan_allocate()
699 new_res = nvdimm_allocate_dpa(ndd, label_id, in scan_allocate()
701 if (!new_res) in scan_allocate()
711 if (!new_res) in scan_allocate()
712 new_res = res; in scan_allocate()
714 nd_dbg_dpa(nd_region, ndd, new_res, "%s(%d) %d\n", in scan_allocate()
/linux/include/linux/
A Ddevice.h183 void *devres_get(struct device *dev, void *new_res,

Completed in 34 milliseconds