Searched defs:need (Results 1 - 3 of 3) sorted by relevance

/arch/ia64/kernel/
H A Dparavirt_patch.c252 unsigned long need = p->ebundle - p->sbundle; local
258 if (room < need) {
262 "bundles. type %ld need %ld room %ld\n",
263 type, need, room);
267 used = need;
/arch/powerpc/kernel/
H A Dvio.c394 size_t avail = 0, level, chunk, need; local
452 need = max(viodev->cmo.allocated, viodev->cmo.entitled)-
454 avail -= need;
466 need = 0;
475 need += viodev->cmo.allocated - viodev->cmo.entitled;
478 cmo->excess.free = cmo->excess.size - need;
823 * Devices may not require any entitlement and they do not need
1216 /* we need the 'device_type' property, in order to match with drivers */
/arch/x86/kernel/
H A Damd_gart_64.c374 struct scatterlist *sout, unsigned long pages, int need)
376 if (!need) {
393 int need = 0, nextneed, i, out, start; local
427 if (!iommu_merge || !nextneed || !need || s->offset ||
431 sgmap, pages, need) < 0)
444 need = nextneed;
448 if (dma_map_cont(dev, start_sg, i - start, sgmap, pages, need) < 0)
766 /* need to map that range */
373 dma_map_cont(struct device *dev, struct scatterlist *start, int nelems, struct scatterlist *sout, unsigned long pages, int need) argument

Completed in 82 milliseconds