/Linux-v4.19/arch/x86/hyperv/ |
D | mmu.c | 58 struct hv_tlb_flush *flush; in hyperv_flush_tlb_others() local 75 flush = *flush_pcpu; in hyperv_flush_tlb_others() 77 if (unlikely(!flush)) { in hyperv_flush_tlb_others() 87 flush->address_space = virt_to_phys(info->mm->pgd); in hyperv_flush_tlb_others() 88 flush->address_space &= CR3_ADDR_MASK; in hyperv_flush_tlb_others() 89 flush->flags = 0; in hyperv_flush_tlb_others() 91 flush->address_space = 0; in hyperv_flush_tlb_others() 92 flush->flags = HV_FLUSH_ALL_VIRTUAL_ADDRESS_SPACES; in hyperv_flush_tlb_others() 95 flush->processor_mask = 0; in hyperv_flush_tlb_others() 97 flush->flags |= HV_FLUSH_ALL_PROCESSORS; in hyperv_flush_tlb_others() [all …]
|
D | nested.c | 22 struct hv_guest_mapping_flush *flush; in hyperv_flush_guest_mapping() local 35 flush = *flush_pcpu; in hyperv_flush_guest_mapping() 37 if (unlikely(!flush)) { in hyperv_flush_guest_mapping() 42 flush->address_space = as; in hyperv_flush_guest_mapping() 43 flush->flags = 0; in hyperv_flush_guest_mapping() 46 flush, NULL); in hyperv_flush_guest_mapping()
|
/Linux-v4.19/lib/ |
D | decompress_inflate.c | 40 long (*flush)(void*, unsigned long), in __gunzip() 49 if (flush) { in __gunzip() 78 strm->workspace = malloc(flush ? zlib_inflate_workspacesize() : in __gunzip() 126 if (!flush) { in __gunzip() 146 if (flush && strm->next_out > out_buf) { in __gunzip() 148 if (l != flush(out_buf, l)) { in __gunzip() 180 if (flush) in __gunzip() 189 long (*flush)(void*, unsigned long), in gunzip() 194 return __gunzip(buf, len, fill, flush, out_buf, 0, pos, error); in gunzip() 199 long (*flush)(void*, unsigned long), in __decompress() [all …]
|
D | decompress_unxz.c | 253 long (*flush)(void *src, unsigned long size), in unxz() 269 if (fill == NULL && flush == NULL) in unxz() 277 if (flush == NULL) { in unxz() 299 if (fill == NULL && flush == NULL) { in unxz() 325 if (flush != NULL && (b.out_pos == b.out_size in unxz() 332 if (flush(b.out, b.out_pos) != (long)b.out_pos) in unxz() 342 if (flush != NULL) in unxz() 382 if (flush != NULL) in unxz() 400 long (*flush)(void*, unsigned long), in __decompress() 405 return unxz(buf, len, fill, flush, out_buf, pos, error); in __decompress()
|
D | decompress_unlz4.c | 36 long (*flush)(void *, unsigned long), in unlz4() 55 } else if (!flush) { in unlz4() 170 if (flush && flush(outp, dest_len) != dest_len) in unlz4() 204 long (*flush)(void*, unsigned long), in __decompress() 210 return unlz4(buf, in_len - 4, fill, flush, output, posp, error); in __decompress()
|
D | decompress_unlzo.c | 114 long (*flush)(void *, unsigned long), in unlzo() 127 } else if (!flush) { in unlzo() 258 if (flush && flush(out_buf, dst_len) != dst_len) in unlzo() 294 long (*flush)(void*, unsigned long), in __decompress() 299 return unlzo(buf, len, fill, flush, out_buf, pos, error); in __decompress()
|
D | decompress_unlzma.c | 283 long (*flush)(void*, unsigned long); member 301 if (!wr->flush) { in peek_old_byte() 319 if (wr->flush && wr->buffer_pos == wr->header->dict_size) { in write_byte() 322 if (wr->flush((char *)wr->buffer, wr->header->dict_size) in write_byte() 539 long (*flush)(void*, unsigned long), in unlzma() 573 wr.flush = flush; in unlzma() 655 if (!wr.flush || wr.flush(wr.buffer, wr.buffer_pos) == wr.buffer_pos) in unlzma() 672 long (*flush)(void*, unsigned long), in __decompress() 677 return unlzma(buf, in_len - 4, fill, flush, output, posp, error); in __decompress()
|
/Linux-v4.19/net/ipv4/ |
D | tcp_offload.c | 195 int flush = 1; in tcp_gro_receive() local 241 flush = NAPI_GRO_CB(p)->flush; in tcp_gro_receive() 242 flush |= (__force int)(flags & TCP_FLAG_CWR); in tcp_gro_receive() 243 flush |= (__force int)((flags ^ tcp_flag_word(th2)) & in tcp_gro_receive() 245 flush |= (__force int)(th->ack_seq ^ th2->ack_seq); in tcp_gro_receive() 247 flush |= *(u32 *)((u8 *)th + i) ^ in tcp_gro_receive() 257 flush |= NAPI_GRO_CB(p)->flush_id; in tcp_gro_receive() 263 flush |= (len - 1) >= mss; in tcp_gro_receive() 264 flush |= (ntohl(th2->seq) + skb_gro_len(p)) ^ ntohl(th->seq); in tcp_gro_receive() 266 flush |= p->decrypted ^ skb->decrypted; in tcp_gro_receive() [all …]
|
D | udp_offload.c | 353 int flush = 1; in udp_gro_receive() local 373 flush = 0; in udp_gro_receive() 398 skb_gro_flush_final(skb, pp, flush); in udp_gro_receive() 409 goto flush; in udp4_gro_receive() 412 if (NAPI_GRO_CB(skb)->flush) in udp4_gro_receive() 417 goto flush; in udp4_gro_receive() 425 flush: in udp4_gro_receive() 426 NAPI_GRO_CB(skb)->flush = 1; in udp4_gro_receive()
|
/Linux-v4.19/Documentation/x86/ |
D | tlb.txt | 5 from areas other than the one we are trying to flush will be 13 1. The size of the flush being performed. A flush of the entire 17 be no collateral damage caused by doing the global flush, and 18 all of the individual flush will have ended up being wasted 21 damage we do with a full flush. So, the larger the TLB, the 22 more attractive an individual flush looks. Data and 29 especially the contents of the TLB during a given flush. The 30 sizes of the flush will vary greatly depending on the workload as 40 This will cause us to do the global flush for more cases. 45 Despite the fact that a single individual flush on x86 is [all …]
|
/Linux-v4.19/lib/zlib_deflate/ |
D | deflate.c | 66 typedef block_state (*compress_func) (deflate_state *s, int flush); 70 static block_state deflate_stored (deflate_state *s, int flush); 71 static block_state deflate_fast (deflate_state *s, int flush); 72 static block_state deflate_slow (deflate_state *s, int flush); 329 int flush in zlib_deflate() argument 336 flush > Z_FINISH || flush < 0) { in zlib_deflate() 342 (s->status == FINISH_STATE && flush != Z_FINISH)) { in zlib_deflate() 349 s->last_flush = flush; in zlib_deflate() 391 } else if (strm->avail_in == 0 && flush <= old_flush && in zlib_deflate() 392 flush != Z_FINISH) { in zlib_deflate() [all …]
|
/Linux-v4.19/block/ |
D | blk-flush.c | 118 return 1 << ffz(rq->flush.seq); in blk_flush_cur_seq() 132 rq->end_io = rq->flush.saved_end_io; in blk_flush_restore_request() 174 BUG_ON(rq->flush.seq & seq); in blk_flush_complete_seq() 175 rq->flush.seq |= seq; in blk_flush_complete_seq() 189 list_move_tail(&rq->flush.list, pending); in blk_flush_complete_seq() 193 list_move_tail(&rq->flush.list, &fq->flush_data_in_flight); in blk_flush_complete_seq() 205 list_del_init(&rq->flush.list); in blk_flush_complete_seq() 255 list_for_each_entry_safe(rq, n, running, flush.list) { in flush_end_io() 302 list_first_entry(pending, struct request, flush.list); in blk_kick_flush() 498 memset(&rq->flush, 0, sizeof(rq->flush)); in blk_insert_flush() [all …]
|
/Linux-v4.19/drivers/md/ |
D | dm-delay.c | 37 struct delay_class flush; member 130 if (dc->flush.dev) in delay_dtr() 131 dm_put_device(ti, dc->flush.dev); in delay_dtr() 204 ret = delay_class_ctr(ti, &dc->flush, argv); in delay_ctr() 214 ret = delay_class_ctr(ti, &dc->flush, argv + 3); in delay_ctr() 220 ret = delay_class_ctr(ti, &dc->flush, argv + 6); in delay_ctr() 289 c = &dc->flush; in delay_map() 314 DMEMIT("%u %u %u", dc->read.ops, dc->write.ops, dc->flush.ops); in delay_status() 325 DMEMIT_DELAY_CLASS(&dc->flush); in delay_status() 343 ret = fn(ti, dc->flush.dev, dc->flush.start, ti->len, data); in delay_iterate_devices()
|
/Linux-v4.19/net/ipv6/ |
D | ip6_offload.c | 177 u16 flush = 1; in ipv6_gro_receive() local 193 flush += ntohs(iph->payload_len) != skb_gro_len(skb); in ipv6_gro_receive() 215 flush--; in ipv6_gro_receive() 241 NAPI_GRO_CB(p)->flush |= !!(first_word & htonl(0x0FF00000)); in ipv6_gro_receive() 242 NAPI_GRO_CB(p)->flush |= flush; in ipv6_gro_receive() 252 NAPI_GRO_CB(skb)->flush |= flush; in ipv6_gro_receive() 262 skb_gro_flush_final(skb, pp, flush); in ipv6_gro_receive() 273 NAPI_GRO_CB(skb)->flush = 1; in sit_ip6ip6_gro_receive() 288 NAPI_GRO_CB(skb)->flush = 1; in ip4ip6_gro_receive()
|
D | udp_offload.c | 123 goto flush; in udp6_gro_receive() 126 if (NAPI_GRO_CB(skb)->flush) in udp6_gro_receive() 131 goto flush; in udp6_gro_receive() 140 flush: in udp6_gro_receive() 141 NAPI_GRO_CB(skb)->flush = 1; in udp6_gro_receive()
|
/Linux-v4.19/drivers/gpu/drm/etnaviv/ |
D | etnaviv_buffer.c | 89 u32 flush = 0; in etnaviv_cmd_select_pipe() local 100 flush = VIVS_GL_FLUSH_CACHE_PE2D; in etnaviv_cmd_select_pipe() 102 flush = VIVS_GL_FLUSH_CACHE_DEPTH | VIVS_GL_FLUSH_CACHE_COLOR; in etnaviv_cmd_select_pipe() 104 CMD_LOAD_STATE(buffer, VIVS_GL_FLUSH_CACHE, flush); in etnaviv_cmd_select_pipe() 228 u32 link_target, flush = 0; in etnaviv_buffer_end() local 233 flush = VIVS_GL_FLUSH_CACHE_PE2D; in etnaviv_buffer_end() 235 flush = VIVS_GL_FLUSH_CACHE_DEPTH | in etnaviv_buffer_end() 241 if (flush) { in etnaviv_buffer_end() 248 CMD_LOAD_STATE(buffer, VIVS_GL_FLUSH_CACHE, flush); in etnaviv_buffer_end()
|
/Linux-v4.19/arch/arm/mm/ |
D | cache-v4.S | 43 mcr p15, 0, r0, c7, c7, 0 @ flush ID cache 62 mcr p15, 0, ip, c7, c7, 0 @ flush ID cache 118 mcr p15, 0, r0, c7, c7, 0 @ flush ID cache
|
D | proc-arm940.S | 54 mcr p15, 0, ip, c7, c5, 0 @ flush I cache 55 mcr p15, 0, ip, c7, c6, 0 @ flush D cache 112 mcr p15, 0, ip, c7, c6, 0 @ flush D cache 116 2: mcr p15, 0, r3, c7, c14, 2 @ clean/flush D index 166 2: mcr p15, 0, r3, c7, c14, 2 @ clean/flush D index 188 2: mcr p15, 0, r3, c7, c6, 2 @ flush D entry 235 mcr p15, 0, r3, c7, c14, 2 @ clean/flush D entry
|
D | proc-arm720.S | 82 mcr p15, 0, r1, c8, c7, 0 @ flush TLB (v4) 109 mcr p15, 0, ip, c8, c7, 0 @ flush TLB (v4) 124 mcr p15, 0, r0, c8, c7, 0 @ flush TLB (v4) 152 mcr p15, 0, r0, c8, c7, 0 @ flush TLB (v4)
|
/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_overlay.c | 71 SVGAEscapeVideoFlush flush; member 85 fill_escape(&cmd->escape, sizeof(cmd->flush)); in fill_flush() 86 cmd->flush.cmdType = SVGA_ESCAPE_VMWARE_VIDEO_FLUSH; in fill_flush() 87 cmd->flush.streamId = stream_id; in fill_flush() 101 struct vmw_escape_video_flush *flush; in vmw_overlay_send_put() local 125 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items; in vmw_overlay_send_put() 133 flush = (struct vmw_escape_video_flush *)&items[num_items]; in vmw_overlay_send_put() 172 fill_flush(flush, arg->stream_id); in vmw_overlay_send_put() 192 struct vmw_escape_video_flush flush; in vmw_overlay_send_stop() member 214 fill_flush(&cmds->flush, stream_id); in vmw_overlay_send_stop()
|
/Linux-v4.19/drivers/staging/speakup/ |
D | speakup_dectlk.c | 41 static DECLARE_WAIT_QUEUE_HEAD(flush); 129 .flush = synth_flush, 175 wake_up_interruptible(&flush); in read_buff_add() 218 prepare_to_wait(&flush, &wait, TASK_INTERRUPTIBLE); in do_catch_up() 223 finish_wait(&flush, &wait); in do_catch_up() 231 synth->flush(synth); in do_catch_up()
|
/Linux-v4.19/drivers/i2c/busses/ |
D | i2c-diolan-u2c.c | 161 static int diolan_write_cmd(struct i2c_diolan_u2c *dev, bool flush) in diolan_write_cmd() argument 163 if (flush || dev->olen >= DIOLAN_FLUSH_LEN) in diolan_write_cmd() 169 static int diolan_usb_cmd(struct i2c_diolan_u2c *dev, u8 command, bool flush) in diolan_usb_cmd() argument 173 return diolan_write_cmd(dev, flush); in diolan_usb_cmd() 178 bool flush) in diolan_usb_cmd_data() argument 183 return diolan_write_cmd(dev, flush); in diolan_usb_cmd_data() 188 u8 d2, bool flush) in diolan_usb_cmd_data2() argument 194 return diolan_write_cmd(dev, flush); in diolan_usb_cmd_data2()
|
/Linux-v4.19/tools/testing/nvdimm/test/ |
D | nfit.c | 188 void **flush; member 1405 t->flush[i] = test_alloc(t, max(PAGE_SIZE, in nfit_test0_alloc() 1408 if (!t->flush[i]) in nfit_test0_alloc() 1481 struct acpi_nfit_flush_address *flush; in nfit_test0_setup() local 1982 flush = nfit_buf + offset; in nfit_test0_setup() 1983 flush->header.type = ACPI_NFIT_TYPE_FLUSH_ADDRESS; in nfit_test0_setup() 1984 flush->header.length = flush_hint_size; in nfit_test0_setup() 1985 flush->device_handle = handle[0]; in nfit_test0_setup() 1986 flush->hint_count = NUM_HINTS; in nfit_test0_setup() 1988 flush->hint_address[i] = t->flush_dma[0] + i * sizeof(u64); in nfit_test0_setup() [all …]
|
/Linux-v4.19/Documentation/features/vm/TLB/ |
D | arch-support.txt | 2 # Feature name: batch-unmap-tlb-flush 4 # description: arch supports deferral of TLB flush until multiple pages are unmapped
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | vmmgk20a.c | 42 .flush = gf100_vmm_flush, 56 .flush = gf100_vmm_flush,
|