Searched defs:need (Results 1 - 4 of 4) 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.c393 size_t avail = 0, level, chunk, need; local
451 need = max(viodev->cmo.allocated, viodev->cmo.entitled)-
453 avail -= need;
465 need = 0;
474 need += viodev->cmo.allocated - viodev->cmo.entitled;
477 cmo->excess.free = cmo->excess.size - need;
848 * Devices may not require any entitlement and they do not need
1378 /* we need the 'device_type' property, in order to match with drivers */
1402 /* PFO devices need their resource_id for submitting COP_OPs
/arch/x86/boot/compressed/
H A Deboot.c1036 * need to create one ourselves (usually the bootloader would create
1238 u32 need = (nr_desc - i) * sizeof(struct e820entry) + local
1241 if (!e820ext || e820ext_size < need)
/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 152 milliseconds