Searched refs:mask (Results 1 – 7 of 7) sorted by relevance
/block/ |
D | blk-settings.c | 733 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 …]
|
D | blk-mq-rdma.c | 35 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()
|
D | blk-mq-pci.c | 33 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()
|
D | blk-mq-virtio.c | 35 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()
|
D | genhd.c | 1660 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()
|
D | bsg.c | 853 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()
|
D | blk-merge.c | 92 unsigned mask = queue_logical_block_size(q) - 1; in get_max_io_size() local 95 sectors &= ~(mask >> 9); in get_max_io_size()
|