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

/linux-master/drivers/hv/
H A Dvmbus_drv.c1965 struct resource *new_res; local
2016 new_res = kzalloc(sizeof(*new_res), GFP_ATOMIC);
2017 if (!new_res)
2024 new_res->name = "hyperv mmio";
2025 new_res->flags = IORESOURCE_MEM;
2026 new_res->start = start;
2027 new_res->end = end;
2034 *old_res = new_res;
2038 if (((*old_res)->end + 1) == new_res
[all...]
/linux-master/kernel/
H A Dresource.c1368 struct resource *new_res = NULL; local
1386 new_res = alloc_resource(GFP_KERNEL | (alloc_nofail ? __GFP_NOFAIL : 0));
1424 if (!new_res) {
1425 new_res = alloc_resource(GFP_ATOMIC);
1426 if (!new_res) {
1432 new_res->name = res->name;
1433 new_res->start = end + 1;
1434 new_res->end = res->end;
1435 new_res->flags = res->flags;
1436 new_res
[all...]
/linux-master/drivers/char/tpm/
H A Dtpm_crb.c505 struct resource new_res = { local
512 if (start != new_res.start)
516 return devm_ioremap_resource(dev, &new_res);
524 return *iobase_ptr + (new_res.start - iores->start);
/linux-master/drivers/base/
H A Ddevres.c305 * @new_res: Pointer to new initialized devres to add if not found
310 * as @new_res and for which @match return 1. If found, @new_res is
311 * freed; otherwise, @new_res is added atomically.
316 void * devres_get(struct device *dev, void *new_res, argument
319 struct devres *new_dr = container_of(new_res, struct devres, data);
328 new_res = NULL;
331 devres_free(new_res);
/linux-master/drivers/nvdimm/
H A Dnamespace_devs.c456 struct resource *next = res->sibling, *new_res = NULL; local
520 new_res = next;
538 new_res = nvdimm_allocate_dpa(ndd, label_id,
540 if (!new_res)
550 if (!new_res)
551 new_res = res;
553 nd_dbg_dpa(nd_region, ndd, new_res, "%s(%d) %d\n",
/linux-master/drivers/gpu/drm/xe/
H A Dxe_bo.c521 struct ttm_resource *new_res)
532 if (new_res->mem_type == XE_PL_SYSTEM)
548 ttm_bo_move_null(ttm_bo, new_res);
520 xe_bo_move_dmabuf(struct ttm_buffer_object *ttm_bo, struct ttm_resource *new_res) argument
/linux-master/include/linux/
H A Ddevice.h288 void *devres_get(struct device *dev, void *new_res,

Completed in 363 milliseconds