Home
last modified time | relevance | path

Searched refs:next_bit (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/fs/xfs/
Dxfs_buf_item.c69 int next_bit; in xfs_buf_item_size_segment() local
90 next_bit = xfs_next_bit(blfp->blf_data_map, blfp->blf_map_size, in xfs_buf_item_size_segment()
97 if (next_bit == -1) { in xfs_buf_item_size_segment()
99 } else if (next_bit != last_bit + 1) { in xfs_buf_item_size_segment()
100 last_bit = next_bit; in xfs_buf_item_size_segment()
102 } else if (xfs_buf_offset(bp, next_bit * XFS_BLF_CHUNK) != in xfs_buf_item_size_segment()
105 last_bit = next_bit; in xfs_buf_item_size_segment()
204 int next_bit, in xfs_buf_item_straddle() argument
207 return xfs_buf_offset(bp, offset + (next_bit << XFS_BLF_SHIFT)) != in xfs_buf_item_straddle()
224 int next_bit; in xfs_buf_item_format_segment() local
[all …]
/linux-4.1.27/arch/x86/kernel/
Damd_gart_64.c91 static unsigned long next_bit; /* protected by iommu_bitmap_lock */ variable
107 offset = iommu_area_alloc(iommu_gart_bitmap, iommu_pages, next_bit, in alloc_iommu()
116 next_bit = offset+size; in alloc_iommu()
117 if (next_bit >= iommu_pages) { in alloc_iommu()
118 next_bit = 0; in alloc_iommu()
135 if (offset >= next_bit) in free_iommu()
136 next_bit = offset + size; in free_iommu()
/linux-4.1.27/arch/s390/pci/
Dpci_dma.c230 offset = __dma_alloc_iommu(zdev, zdev->next_bit, size); in dma_alloc_iommu()
238 zdev->next_bit = offset + size; in dma_alloc_iommu()
259 if (!s390_iommu_strict && offset >= zdev->next_bit) in dma_free_iommu()
260 zdev->next_bit = offset + size; in dma_free_iommu()
467 zdev->next_bit = 0; in zpci_dma_exit_device()
/linux-4.1.27/lib/
Dgenalloc.c553 int next_bit = find_next_bit(map, size, index + nr); in gen_pool_best_fit() local
554 if ((next_bit - index) < len) { in gen_pool_best_fit()
555 len = next_bit - index; in gen_pool_best_fit()
561 next_bit + 1, nr, 0); in gen_pool_best_fit()
/linux-4.1.27/drivers/isdn/i4l/
Disdn_v110.c349 next_bit: in EncodeMatrix()
366 goto next_bit; /* and go on there */ in EncodeMatrix()
381 goto next_bit; in EncodeMatrix()
/linux-4.1.27/arch/s390/include/asm/
Dpci.h101 unsigned int next_bit; member
/linux-4.1.27/drivers/iommu/
Damd_iommu.c1704 unsigned long next_bit = dom->next_address % APERTURE_RANGE_SIZE; in dma_ops_area_alloc() local
1711 next_bit >>= PAGE_SHIFT; in dma_ops_area_alloc()
1726 limit, next_bit, pages, 0, in dma_ops_area_alloc()
1735 next_bit = 0; in dma_ops_area_alloc()