Lines Matching refs:leader
462 -1 : Not leader, physically adjacent to previous.
463 -2 : Not leader, virtually adjacent to previous.
464 Write dma_length of each leader with the combined lengths of
474 struct scatterlist *leader;
477 leader = sg;
479 leader_length = leader->length;
480 next_paddr = SG_ENT_PHYS_ADDRESS(leader) + leader_length;
495 leader->dma_address = leader_flag;
496 leader->dma_length = leader_length;
497 leader = sg;
505 leader->dma_address = leader_flag;
506 leader->dma_length = leader_length;
509 /* Given a scatterlist leader, choose an allocation method and fill
513 sg_fill(struct scatterlist *leader, struct scatterlist *end,
517 unsigned long paddr = SG_ENT_PHYS_ADDRESS(leader);
518 long size = leader->dma_length;
526 if (leader->dma_address == 0
540 if (leader->dma_address == 0 && dac_allowed) {
558 if (leader->dma_address == 0)
563 sg_classify(leader, end, 0);
564 return sg_fill(leader, end, out, arena, max_dma, dac_allowed);
576 sg = leader;
598 last_sg - leader, SG_ENT_VIRT_ADDRESS(last_sg),
602 last_sg - leader, SG_ENT_VIRT_ADDRESS(last_sg),