Searched refs:mask (Results 1 – 7 of 7) sorted by relevance
/block/ |
D | blk-mq-pci.c | 28 const struct cpumask *mask; in blk_mq_pci_map_queues() local 32 mask = pci_irq_get_affinity(pdev, queue + offset); in blk_mq_pci_map_queues() 33 if (!mask) in blk_mq_pci_map_queues() 36 for_each_cpu(cpu, mask) in blk_mq_pci_map_queues()
|
D | blk-mq-virtio.c | 26 const struct cpumask *mask; in blk_mq_virtio_map_queues() local 33 mask = vdev->config->get_vq_affinity(vdev, first_vec + queue); in blk_mq_virtio_map_queues() 34 if (!mask) in blk_mq_virtio_map_queues() 37 for_each_cpu(cpu, mask) in blk_mq_virtio_map_queues()
|
D | blk-settings.c | 802 void blk_queue_update_dma_pad(struct request_queue *q, unsigned int mask) in blk_queue_update_dma_pad() argument 804 if (mask > q->dma_pad_mask) in blk_queue_update_dma_pad() 805 q->dma_pad_mask = mask; in blk_queue_update_dma_pad() 814 void blk_queue_segment_boundary(struct request_queue *q, unsigned long mask) in blk_queue_segment_boundary() argument 816 if (mask < PAGE_SIZE - 1) { in blk_queue_segment_boundary() 817 mask = PAGE_SIZE - 1; in blk_queue_segment_boundary() 818 pr_info("set to minimum %lx\n", mask); in blk_queue_segment_boundary() 821 q->limits.seg_boundary_mask = mask; in blk_queue_segment_boundary() 830 void blk_queue_virt_boundary(struct request_queue *q, unsigned long mask) in blk_queue_virt_boundary() argument 832 q->limits.virt_boundary_mask = mask; in blk_queue_virt_boundary() [all …]
|
D | disk-events.c | 151 void disk_flush_events(struct gendisk *disk, unsigned int mask) in disk_flush_events() argument 159 ev->clearing |= mask; in disk_flush_events() 227 static unsigned int disk_clear_events(struct gendisk *disk, unsigned int mask) in disk_clear_events() argument 231 unsigned int clearing = mask; in disk_clear_events() 257 pending = ev->pending & mask; in disk_clear_events() 258 ev->pending &= ~mask; in disk_clear_events() 260 WARN_ON_ONCE(clearing & mask); in disk_clear_events()
|
D | blk.h | 113 unsigned long mask = queue_segment_boundary(q); in biovec_phys_mergeable() local 128 if ((addr1 | mask) != ((addr2 + vec2->bv_len - 1) | mask)) in biovec_phys_mergeable() 490 void disk_flush_events(struct gendisk *disk, unsigned int mask);
|
D | blk-merge.c | 200 unsigned long mask = lim->seg_boundary_mask; in get_max_segment_size() local 202 offset = mask & (page_to_phys(start_page) + offset); in get_max_segment_size() 208 return min(mask - offset, (unsigned long)lim->max_segment_size - 1) + 1; in get_max_segment_size()
|
D | bio.c | 946 unsigned long mask = queue_segment_boundary(q); in bvec_try_merge_hw_page() local 950 if ((addr1 | mask) != (addr2 | mask)) in bvec_try_merge_hw_page()
|