Home
last modified time | relevance | path

Searched refs:mask (Results 1 – 8 of 8) sorted by relevance

/block/
Dblk-settings.c678 void blk_queue_update_dma_pad(struct request_queue *q, unsigned int mask) in blk_queue_update_dma_pad() argument
680 if (mask > q->dma_pad_mask) in blk_queue_update_dma_pad()
681 q->dma_pad_mask = mask; in blk_queue_update_dma_pad()
690 void blk_queue_segment_boundary(struct request_queue *q, unsigned long mask) in blk_queue_segment_boundary() argument
692 if (mask < PAGE_SIZE - 1) { in blk_queue_segment_boundary()
693 mask = PAGE_SIZE - 1; in blk_queue_segment_boundary()
695 __func__, mask); in blk_queue_segment_boundary()
698 q->limits.seg_boundary_mask = mask; in blk_queue_segment_boundary()
707 void blk_queue_virt_boundary(struct request_queue *q, unsigned long mask) in blk_queue_virt_boundary() argument
709 q->limits.virt_boundary_mask = mask; in blk_queue_virt_boundary()
[all …]
Dblk-mq-rdma.c27 const struct cpumask *mask; in blk_mq_rdma_map_queues() local
31 mask = ib_get_vector_affinity(dev, first_vec + queue); in blk_mq_rdma_map_queues()
32 if (!mask) in blk_mq_rdma_map_queues()
35 for_each_cpu(cpu, mask) in blk_mq_rdma_map_queues()
Dblk-mq-pci.c29 const struct cpumask *mask; in blk_mq_pci_map_queues() local
33 mask = pci_irq_get_affinity(pdev, queue + offset); in blk_mq_pci_map_queues()
34 if (!mask) in blk_mq_pci_map_queues()
37 for_each_cpu(cpu, mask) in blk_mq_pci_map_queues()
Dblk-mq-virtio.c27 const struct cpumask *mask; in blk_mq_virtio_map_queues() local
34 mask = vdev->config->get_vq_affinity(vdev, first_vec + queue); in blk_mq_virtio_map_queues()
35 if (!mask) in blk_mq_virtio_map_queues()
38 for_each_cpu(cpu, mask) in blk_mq_virtio_map_queues()
Dblk.h58 unsigned long mask = queue_segment_boundary(q); in biovec_phys_mergeable() local
66 if ((addr1 | mask) != ((addr2 + vec2->bv_len - 1) | mask)) in biovec_phys_mergeable()
Dgenhd.c2028 void disk_flush_events(struct gendisk *disk, unsigned int mask) in disk_flush_events() argument
2036 ev->clearing |= mask; in disk_flush_events()
2054 static unsigned int disk_clear_events(struct gendisk *disk, unsigned int mask) in disk_clear_events() argument
2058 unsigned int clearing = mask; in disk_clear_events()
2084 pending = ev->pending & mask; in disk_clear_events()
2085 ev->pending &= ~mask; in disk_clear_events()
2087 WARN_ON_ONCE(clearing & mask); in disk_clear_events()
Dblk-merge.c168 unsigned long mask = queue_segment_boundary(q); in get_max_segment_size() local
170 offset = mask & (page_to_phys(start_page) + offset); in get_max_segment_size()
176 return min_not_zero(mask - offset + 1, in get_max_segment_size()
Dbio.c769 unsigned long mask = queue_segment_boundary(q); in bio_try_merge_hw_seg() local
773 if ((addr1 | mask) != (addr2 | mask)) in bio_try_merge_hw_seg()