Home
last modified time | relevance | path

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

/drivers/hv/
A Dvmbus_drv.c2156 struct resource *new_res; in vmbus_walk_resources() local
2207 new_res = kzalloc(sizeof(*new_res), GFP_ATOMIC); in vmbus_walk_resources()
2208 if (!new_res) in vmbus_walk_resources()
2215 new_res->name = "hyperv mmio"; in vmbus_walk_resources()
2217 new_res->start = start; in vmbus_walk_resources()
2218 new_res->end = end; in vmbus_walk_resources()
2225 *old_res = new_res; in vmbus_walk_resources()
2231 kfree(new_res); in vmbus_walk_resources()
2237 kfree(new_res); in vmbus_walk_resources()
2242 new_res->sibling = *old_res; in vmbus_walk_resources()
[all …]
/drivers/char/tpm/
A Dtpm_crb.c549 struct resource new_res = { in crb_map_res() local
556 if (start != new_res.start) in crb_map_res()
560 return devm_ioremap_resource(dev, &new_res); in crb_map_res()
568 return *iobase_ptr + (new_res.start - iores->start); in crb_map_res()
/drivers/base/
A 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()
/drivers/nvdimm/
A 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()
/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_vm.h528 struct ttm_resource *new_res, int sign);
/drivers/gpu/drm/xe/
A Dxe_bo.c686 struct ttm_resource *new_res) in xe_bo_move_dmabuf() argument
698 if (device_unplugged && new_res->mem_type == XE_PL_SYSTEM && in xe_bo_move_dmabuf()
706 if (new_res->mem_type == XE_PL_SYSTEM) in xe_bo_move_dmabuf()
722 ttm_bo_move_null(ttm_bo, new_res); in xe_bo_move_dmabuf()

Completed in 33 milliseconds