/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_scrn.c | 641 static void vmw_sou_surface_fifo_commit(struct vmw_kms_dirty *dirty) in vmw_sou_surface_fifo_commit() argument 644 container_of(dirty, typeof(*sdirty), base); in vmw_sou_surface_fifo_commit() 645 struct vmw_kms_sou_dirty_cmd *cmd = dirty->cmd; in vmw_sou_surface_fifo_commit() 646 s32 trans_x = dirty->unit->crtc.x - sdirty->dst_x; in vmw_sou_surface_fifo_commit() 647 s32 trans_y = dirty->unit->crtc.y - sdirty->dst_y; in vmw_sou_surface_fifo_commit() 648 size_t region_size = dirty->num_hits * sizeof(SVGASignedRect); in vmw_sou_surface_fifo_commit() 652 if (!dirty->num_hits) { in vmw_sou_surface_fifo_commit() 653 vmw_fifo_commit(dirty->dev_priv, 0); in vmw_sou_surface_fifo_commit() 675 cmd->body.destScreenId = dirty->unit->unit; in vmw_sou_surface_fifo_commit() 678 for (i = 0; i < dirty->num_hits; ++i, ++blit) { in vmw_sou_surface_fifo_commit() [all …]
|
D | vmwgfx_fb.c | 67 } dirty; member 190 spin_lock_irqsave(&par->dirty.lock, irq_flags); in vmw_fb_dirty_flush() 191 if (!par->dirty.active) { in vmw_fb_dirty_flush() 192 spin_unlock_irqrestore(&par->dirty.lock, irq_flags); in vmw_fb_dirty_flush() 204 dst_x1 = par->dirty.x1 - par->fb_x; in vmw_fb_dirty_flush() 205 dst_y1 = par->dirty.y1 - par->fb_y; in vmw_fb_dirty_flush() 209 dst_x2 = par->dirty.x2 - par->fb_x; in vmw_fb_dirty_flush() 210 dst_y2 = par->dirty.y2 - par->fb_y; in vmw_fb_dirty_flush() 218 par->dirty.x1 = par->dirty.x2 = 0; in vmw_fb_dirty_flush() 219 par->dirty.y1 = par->dirty.y2 = 0; in vmw_fb_dirty_flush() [all …]
|
D | vmwgfx_stdu.c | 717 static void vmw_stdu_dmabuf_clip(struct vmw_kms_dirty *dirty) in vmw_stdu_dmabuf_clip() argument 720 container_of(dirty, struct vmw_stdu_dirty, base); in vmw_stdu_dmabuf_clip() 721 struct vmw_stdu_dma *cmd = dirty->cmd; in vmw_stdu_dmabuf_clip() 724 blit += dirty->num_hits; in vmw_stdu_dmabuf_clip() 725 blit->srcx = dirty->fb_x; in vmw_stdu_dmabuf_clip() 726 blit->srcy = dirty->fb_y; in vmw_stdu_dmabuf_clip() 727 blit->x = dirty->unit_x1; in vmw_stdu_dmabuf_clip() 728 blit->y = dirty->unit_y1; in vmw_stdu_dmabuf_clip() 730 blit->w = dirty->unit_x2 - dirty->unit_x1; in vmw_stdu_dmabuf_clip() 731 blit->h = dirty->unit_y2 - dirty->unit_y1; in vmw_stdu_dmabuf_clip() [all …]
|
D | vmwgfx_kms.c | 512 .dirty = vmw_framebuffer_surface_dirty, 688 .dirty = vmw_framebuffer_dmabuf_dirty, 1743 struct vmw_kms_dirty *dirty) in vmw_kms_helper_dirty() argument 1750 dirty->dev_priv = dev_priv; in vmw_kms_helper_dirty() 1767 dirty->unit = unit; in vmw_kms_helper_dirty() 1768 if (dirty->fifo_reserve_size > 0) { in vmw_kms_helper_dirty() 1769 dirty->cmd = vmw_fifo_reserve(dev_priv, in vmw_kms_helper_dirty() 1770 dirty->fifo_reserve_size); in vmw_kms_helper_dirty() 1771 if (!dirty->cmd) { in vmw_kms_helper_dirty() 1776 memset(dirty->cmd, 0, dirty->fifo_reserve_size); in vmw_kms_helper_dirty() [all …]
|
D | vmwgfx_binding.c | 103 unsigned long dirty; member 720 unsigned long *dirty, in vmw_collect_dirty_view_ids() argument 728 i = find_first_bit(dirty, max_num); in vmw_collect_dirty_view_ids() 739 next_bit = find_next_bit(dirty, max_num, i + 1); in vmw_collect_dirty_view_ids() 927 if (!test_bit(VMW_BINDING_PS_SR_BIT, &sb->dirty)) in vmw_binding_emit_dirty_ps() 934 __clear_bit(VMW_BINDING_PS_SR_BIT, &sb->dirty); in vmw_binding_emit_dirty_ps() 957 unsigned long *dirty, in vmw_collect_dirty_vbs() argument 966 i = find_first_bit(dirty, max_num); in vmw_collect_dirty_vbs() 983 next_bit = find_next_bit(dirty, max_num, i + 1); in vmw_collect_dirty_vbs() 1049 while ((hit = find_next_bit(&cbs->dirty, VMW_BINDING_NUM_BITS, hit)) in vmw_binding_emit_dirty() [all …]
|
/drivers/gpu/drm/mga/ |
D | mga_state.c | 332 unsigned int dirty = sarea_priv->dirty; in mga_g200_emit_state() local 339 if (dirty & MGA_UPLOAD_CONTEXT) { in mga_g200_emit_state() 341 sarea_priv->dirty &= ~MGA_UPLOAD_CONTEXT; in mga_g200_emit_state() 344 if (dirty & MGA_UPLOAD_TEX0) { in mga_g200_emit_state() 346 sarea_priv->dirty &= ~MGA_UPLOAD_TEX0; in mga_g200_emit_state() 353 unsigned int dirty = sarea_priv->dirty; in mga_g400_emit_state() local 361 if (dirty & MGA_UPLOAD_CONTEXT) { in mga_g400_emit_state() 363 sarea_priv->dirty &= ~MGA_UPLOAD_CONTEXT; in mga_g400_emit_state() 366 if (dirty & MGA_UPLOAD_TEX0) { in mga_g400_emit_state() 368 sarea_priv->dirty &= ~MGA_UPLOAD_TEX0; in mga_g400_emit_state() [all …]
|
/drivers/md/ |
D | dm-cache-policy-cleaner.c | 28 bool dirty:1; member 45 struct list_head dirty; member 233 if (!e->dirty) { in __set_clear_dirty() 234 e->dirty = true; in __set_clear_dirty() 235 list_move(&e->list, &p->dirty); in __set_clear_dirty() 239 if (e->dirty) { in __set_clear_dirty() 241 e->dirty = false; in __set_clear_dirty() 270 if (e->dirty) in add_cache_entry() 271 list_add(&e->list, &p->dirty); in add_cache_entry() 287 e->dirty = false; /* blocks default to clean */ in wb_load_mapping() [all …]
|
D | dm-cache-policy-smq.c | 42 bool dirty:1; member 802 struct queue dirty; member 853 struct queue *q = &mq->dirty; in __update_writeback_sentinels() 899 q_push(&mq->dirty, sentinel); in __sentinels_init() 928 struct queue *q = e->dirty ? &mq->dirty : &mq->clean; in push_new() 943 if (e->dirty) { in push() 945 q_push_before(&mq->dirty, sentinel, e); in push() 963 __del(mq, e->dirty ? &mq->dirty : &mq->clean, e); in del() 984 if (e->dirty) { in requeue() 986 q_requeue_before(&mq->dirty, sentinel, e, 1u); in requeue() [all …]
|
D | dm-cache-metadata.h | 87 dm_cblock_t cblock, bool dirty, 94 int dm_cache_set_dirty(struct dm_cache_metadata *cmd, dm_cblock_t cblock, bool dirty);
|
/drivers/misc/sgi-gru/ |
D | gruhandles.c | 170 unsigned long vaddr, int asid, int dirty, in tfh_write_only() argument 177 tfh->dirty = dirty; in tfh_write_only() 186 unsigned long vaddr, int asid, int dirty, in tfh_write_restart() argument 193 tfh->dirty = dirty; in tfh_write_restart()
|
D | gruhandles.h | 298 unsigned int dirty:1; member 524 int gaa, unsigned long vaddr, int asid, int dirty, int pagesize); 526 int gaa, unsigned long vaddr, int asid, int dirty, int pagesize);
|
/drivers/gpu/drm/r128/ |
D | r128_state.c | 224 unsigned int dirty = sarea_priv->dirty; in r128_emit_state() local 226 DRM_DEBUG("dirty=0x%08x\n", dirty); in r128_emit_state() 228 if (dirty & R128_UPLOAD_CORE) { in r128_emit_state() 230 sarea_priv->dirty &= ~R128_UPLOAD_CORE; in r128_emit_state() 233 if (dirty & R128_UPLOAD_CONTEXT) { in r128_emit_state() 235 sarea_priv->dirty &= ~R128_UPLOAD_CONTEXT; in r128_emit_state() 238 if (dirty & R128_UPLOAD_SETUP) { in r128_emit_state() 240 sarea_priv->dirty &= ~R128_UPLOAD_SETUP; in r128_emit_state() 243 if (dirty & R128_UPLOAD_MASKS) { in r128_emit_state() 245 sarea_priv->dirty &= ~R128_UPLOAD_MASKS; in r128_emit_state() [all …]
|
/drivers/md/persistent-data/ |
D | dm-bitset.c | 68 if (!info->current_index_set || !info->dirty) in dm_bitset_flush() 80 info->dirty = false; in dm_bitset_flush() 99 info->dirty = false; in read_bits() 133 info->dirty = true; in dm_bitset_set_bit() 150 info->dirty = true; in dm_bitset_clear_bit()
|
/drivers/char/xilinx_hwicap/ |
D | buffer_icap.c | 273 bool dirty = false; in buffer_icap_set_configuration() local 282 dirty = true; in buffer_icap_set_configuration() 302 dirty = false; in buffer_icap_set_configuration() 306 if (dirty) { in buffer_icap_set_configuration()
|
/drivers/input/joystick/ |
D | grip_mp.c | 47 int dirty; /* has the state been updated? */ member 414 port->dirty = 1; in get_and_decode_packet() 425 port->dirty = 0; in get_and_decode_packet() 528 port->dirty = 0; in report_slot() 552 if (grip->port[i]->dirty) in grip_poll() 623 if (port->dirty) /* report initial state, if any */ in register_slot()
|
/drivers/gpu/drm/i810/ |
D | i810_dma.c | 560 unsigned int dirty = sarea_priv->dirty; in i810EmitState() local 562 DRM_DEBUG("%x\n", dirty); in i810EmitState() 564 if (dirty & I810_UPLOAD_BUFFERS) { in i810EmitState() 566 sarea_priv->dirty &= ~I810_UPLOAD_BUFFERS; in i810EmitState() 569 if (dirty & I810_UPLOAD_CTX) { in i810EmitState() 571 sarea_priv->dirty &= ~I810_UPLOAD_CTX; in i810EmitState() 574 if (dirty & I810_UPLOAD_TEX0) { in i810EmitState() 576 sarea_priv->dirty &= ~I810_UPLOAD_TEX0; in i810EmitState() 579 if (dirty & I810_UPLOAD_TEX1) { in i810EmitState() 581 sarea_priv->dirty &= ~I810_UPLOAD_TEX1; in i810EmitState() [all …]
|
/drivers/infiniband/hw/hfi1/ |
D | user_pages.c | 121 size_t npages, bool dirty) in hfi1_release_user_pages() argument 126 if (dirty) in hfi1_release_user_pages()
|
/drivers/infiniband/hw/qib/ |
D | qib_user_pages.c | 40 int dirty) in __qib_release_user_pages() argument 45 if (dirty) in __qib_release_user_pages()
|
/drivers/char/ |
D | ps3flash.c | 40 bool dirty; member 65 if (!priv->dirty || priv->tag < 0) in ps3flash_writeback() 72 priv->dirty = false; in ps3flash_writeback() 232 priv->dirty = true; in ps3flash_write()
|
/drivers/net/ethernet/via/ |
D | via-velocity.c | 553 vptr->rx.dirty = vptr->rx.filled = vptr->rx.curr = 0; in velocity_init_rx_ring_indexes() 1441 int avail, dirty, unusable; in velocity_give_many_rx_descs() local 1453 dirty = vptr->rx.dirty - unusable; in velocity_give_many_rx_descs() 1455 dirty = (dirty > 0) ? dirty - 1 : vptr->options.numrx - 1; in velocity_give_many_rx_descs() 1456 vptr->rx.ring[dirty].rdesc0.len |= OWNED_BY_NIC; in velocity_give_many_rx_descs() 1556 int dirty = vptr->rx.dirty, done = 0; in velocity_rx_refill() local 1559 struct rx_desc *rd = vptr->rx.ring + dirty; in velocity_rx_refill() 1565 if (!vptr->rx.info[dirty].skb) { in velocity_rx_refill() 1566 if (velocity_alloc_rx_buf(vptr, dirty) < 0) in velocity_rx_refill() 1570 dirty = (dirty < vptr->options.numrx - 1) ? dirty + 1 : 0; in velocity_rx_refill() [all …]
|
/drivers/gpu/drm/mediatek/ |
D | mtk_drm_plane.c | 150 state->pending.dirty = true; in mtk_plane_atomic_update() 160 state->pending.dirty = true; in mtk_plane_atomic_disable()
|
/drivers/infiniband/hw/usnic/ |
D | usnic_uiom.c | 78 static void usnic_uiom_put_pages(struct list_head *chunk_list, int dirty) in usnic_uiom_put_pages() argument 90 if (dirty) in usnic_uiom_put_pages() 216 int dirty) in __usnic_uiom_reg_release() argument 240 usnic_uiom_put_pages(&uiomr->chunk_list, dirty & writable); in __usnic_uiom_reg_release()
|
/drivers/md/bcache/ |
D | writeback.c | 33 int64_t dirty = bcache_dev_sectors_dirty(&dc->disk); in __update_writeback_rate() local 34 int64_t derivative = dirty - dc->disk.sectors_dirty_last; in __update_writeback_rate() 35 int64_t proportional = dirty - target; in __update_writeback_rate() 38 dc->disk.sectors_dirty_last = dirty; in __update_writeback_rate()
|
D | sysfs.c | 137 char dirty[20]; in SHOW() local 145 bch_hprint(dirty, bcache_dev_sectors_dirty(&dc->disk) << 9); in SHOW() 162 rate, dirty, target, proportional, in SHOW() 763 size_t unused = 0, available = 0, dirty = 0, meta = 0; in SHOW() local 780 dirty++; in SHOW() 823 dirty * 100 / (size_t) ca->sb.nbuckets, in SHOW()
|
/drivers/staging/lustre/ |
D | sysfs-fs-lustre | 59 Controls total number of dirty cache (in megabytes) allowed 61 Since writeout of dirty pages in Lustre is somewhat expensive, 62 when you allow to many dirty pages, this might lead to 303 pinned in client memory even though no longer dirty. 552 Displays how many dirty bytes is presently in the cache for this 559 Shows how many bytes we have as a "dirty cache" grant from the 578 to start releasing dirty grant back to the server. 601 Controls how much dirty data this client can accumulate 602 for this target. This is orthogonal to dirty grant and is 603 a hard limit even if the server would allow a bigger dirty [all …]
|