Home
last modified time | relevance | path

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

/block/
Dblk-settings.c733 void blk_queue_dma_pad(struct request_queue *q, unsigned int mask) in blk_queue_dma_pad() argument
735 q->dma_pad_mask = mask; in blk_queue_dma_pad()
749 void blk_queue_update_dma_pad(struct request_queue *q, unsigned int mask) in blk_queue_update_dma_pad() argument
751 if (mask > q->dma_pad_mask) in blk_queue_update_dma_pad()
752 q->dma_pad_mask = mask; in blk_queue_update_dma_pad()
798 void blk_queue_segment_boundary(struct request_queue *q, unsigned long mask) in blk_queue_segment_boundary() argument
800 if (mask < PAGE_SIZE - 1) { in blk_queue_segment_boundary()
801 mask = PAGE_SIZE - 1; in blk_queue_segment_boundary()
803 __func__, mask); in blk_queue_segment_boundary()
806 q->limits.seg_boundary_mask = mask; in blk_queue_segment_boundary()
[all …]
Dblk-mq-rdma.c35 const struct cpumask *mask; in blk_mq_rdma_map_queues() local
39 mask = ib_get_vector_affinity(dev, first_vec + queue); in blk_mq_rdma_map_queues()
40 if (!mask) in blk_mq_rdma_map_queues()
43 for_each_cpu(cpu, mask) in blk_mq_rdma_map_queues()
Dblk-mq-pci.c33 const struct cpumask *mask; in blk_mq_pci_map_queues() local
37 mask = pci_irq_get_affinity(pdev, queue); in blk_mq_pci_map_queues()
38 if (!mask) in blk_mq_pci_map_queues()
41 for_each_cpu(cpu, mask) in blk_mq_pci_map_queues()
Dblk-mq-virtio.c35 const struct cpumask *mask; in blk_mq_virtio_map_queues() local
42 mask = vdev->config->get_vq_affinity(vdev, first_vec + queue); in blk_mq_virtio_map_queues()
43 if (!mask) in blk_mq_virtio_map_queues()
46 for_each_cpu(cpu, mask) in blk_mq_virtio_map_queues()
Dgenhd.c1660 void disk_flush_events(struct gendisk *disk, unsigned int mask) in disk_flush_events() argument
1668 ev->clearing |= mask; in disk_flush_events()
1686 unsigned int disk_clear_events(struct gendisk *disk, unsigned int mask) in disk_clear_events() argument
1691 unsigned int clearing = mask; in disk_clear_events()
1695 if ((mask & DISK_EVENT_MEDIA_CHANGE) && in disk_clear_events()
1722 pending = ev->pending & mask; in disk_clear_events()
1723 ev->pending &= ~mask; in disk_clear_events()
1725 WARN_ON_ONCE(clearing & mask); in disk_clear_events()
Dbsg.c853 unsigned int mask = 0; in bsg_poll() local
860 mask |= POLLIN | POLLRDNORM; in bsg_poll()
862 mask |= POLLOUT; in bsg_poll()
865 return mask; in bsg_poll()
Dblk-merge.c92 unsigned mask = queue_logical_block_size(q) - 1; in get_max_io_size() local
95 sectors &= ~(mask >> 9); in get_max_io_size()