Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/
Dresource.c1401 struct resource *new_res = NULL; in release_mem_region_adjustable() local
1419 new_res = alloc_resource(GFP_KERNEL | (alloc_nofail ? __GFP_NOFAIL : 0)); in release_mem_region_adjustable()
1457 if (!new_res) { in release_mem_region_adjustable()
1458 new_res = alloc_resource(GFP_ATOMIC); in release_mem_region_adjustable()
1459 if (!new_res) { in release_mem_region_adjustable()
1465 new_res->name = res->name; in release_mem_region_adjustable()
1466 new_res->start = end + 1; in release_mem_region_adjustable()
1467 new_res->end = res->end; in release_mem_region_adjustable()
1468 new_res->flags = res->flags; in release_mem_region_adjustable()
1469 new_res->desc = res->desc; in release_mem_region_adjustable()
[all …]
/linux-6.12.1/drivers/hv/
Dvmbus_drv.c1994 struct resource *new_res; in vmbus_walk_resources() local
2045 new_res = kzalloc(sizeof(*new_res), GFP_ATOMIC); in vmbus_walk_resources()
2046 if (!new_res) in vmbus_walk_resources()
2053 new_res->name = "hyperv mmio"; in vmbus_walk_resources()
2054 new_res->flags = IORESOURCE_MEM; in vmbus_walk_resources()
2055 new_res->start = start; in vmbus_walk_resources()
2056 new_res->end = end; in vmbus_walk_resources()
2063 *old_res = new_res; in vmbus_walk_resources()
2067 if (((*old_res)->end + 1) == new_res->start) { in vmbus_walk_resources()
2068 (*old_res)->end = new_res->end; in vmbus_walk_resources()
[all …]
/linux-6.12.1/drivers/char/tpm/
Dtpm_crb.c505 struct resource new_res = { in crb_map_res() local
512 if (start != new_res.start) in crb_map_res()
516 return devm_ioremap_resource(dev, &new_res); in crb_map_res()
524 return *iobase_ptr + (new_res.start - iores->start); in crb_map_res()
/linux-6.12.1/drivers/base/
Ddevres.c316 void *devres_get(struct device *dev, void *new_res, in devres_get() argument
319 struct devres *new_dr = container_of(new_res, struct devres, data); in devres_get()
328 new_res = NULL; in devres_get()
331 devres_free(new_res); in devres_get()
/linux-6.12.1/drivers/nvdimm/
Dnamespace_devs.c456 struct resource *next = res->sibling, *new_res = NULL; in scan_allocate() local
520 new_res = next; in scan_allocate()
538 new_res = nvdimm_allocate_dpa(ndd, label_id, in scan_allocate()
540 if (!new_res) in scan_allocate()
550 if (!new_res) in scan_allocate()
551 new_res = res; in scan_allocate()
553 nd_dbg_dpa(nd_region, ndd, new_res, "%s(%d) %d\n", in scan_allocate()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_bo.c554 struct ttm_resource *new_res) in xe_bo_move_dmabuf() argument
565 if (new_res->mem_type == XE_PL_SYSTEM) in xe_bo_move_dmabuf()
581 ttm_bo_move_null(ttm_bo, new_res); in xe_bo_move_dmabuf()
/linux-6.12.1/include/linux/
Ddevice.h303 void *devres_get(struct device *dev, void *new_res,