Home
last modified time | relevance | path

Searched refs:flush (Results 1 – 25 of 567) sorted by relevance

12345678910>>...23

/Linux-v5.4/arch/x86/hyperv/
Dmmu.c60 struct hv_tlb_flush *flush; in hyperv_flush_tlb_others() local
77 flush = *flush_pcpu; in hyperv_flush_tlb_others()
79 if (unlikely(!flush)) { in hyperv_flush_tlb_others()
89 flush->address_space = virt_to_phys(info->mm->pgd); in hyperv_flush_tlb_others()
90 flush->address_space &= CR3_ADDR_MASK; in hyperv_flush_tlb_others()
91 flush->flags = 0; in hyperv_flush_tlb_others()
93 flush->address_space = 0; in hyperv_flush_tlb_others()
94 flush->flags = HV_FLUSH_ALL_VIRTUAL_ADDRESS_SPACES; in hyperv_flush_tlb_others()
97 flush->processor_mask = 0; in hyperv_flush_tlb_others()
99 flush->flags |= HV_FLUSH_ALL_PROCESSORS; in hyperv_flush_tlb_others()
[all …]
Dnested.c23 struct hv_guest_mapping_flush *flush; in hyperv_flush_guest_mapping() local
36 flush = *flush_pcpu; in hyperv_flush_guest_mapping()
38 if (unlikely(!flush)) { in hyperv_flush_guest_mapping()
43 flush->address_space = as; in hyperv_flush_guest_mapping()
44 flush->flags = 0; in hyperv_flush_guest_mapping()
47 flush, NULL); in hyperv_flush_guest_mapping()
60 struct hv_guest_mapping_flush_list *flush, in hyperv_fill_flush_guest_mapping_list() argument
77 flush->gpa_list[gpa_n].page.additional_pages = additional_pages; in hyperv_fill_flush_guest_mapping_list()
78 flush->gpa_list[gpa_n].page.largepage = false; in hyperv_fill_flush_guest_mapping_list()
79 flush->gpa_list[gpa_n].page.basepfn = cur; in hyperv_fill_flush_guest_mapping_list()
[all …]
/Linux-v5.4/lib/
Ddecompress_inflate.c40 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 …]
Ddecompress_unxz.c253 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()
Ddecompress_unlz4.c33 long (*flush)(void *, unsigned long), in unlz4()
52 } else if (!flush) { in unlz4()
167 if (flush && flush(outp, dest_len) != dest_len) in unlz4()
201 long (*flush)(void*, unsigned long), in __decompress()
207 return unlz4(buf, in_len - 4, fill, flush, output, posp, error); in __decompress()
Ddecompress_unlzo.c100 long (*flush)(void *, unsigned long), in unlzo()
113 } else if (!flush) { in unlzo()
244 if (flush && flush(out_buf, dst_len) != dst_len) in unlzo()
280 long (*flush)(void*, unsigned long), in __decompress()
285 return unlzo(buf, len, fill, flush, out_buf, pos, error); in __decompress()
Ddecompress_unlzma.c283 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-v5.4/net/ipv4/
Dtcp_offload.c192 int flush = 1; in tcp_gro_receive() local
238 flush = NAPI_GRO_CB(p)->flush; in tcp_gro_receive()
239 flush |= (__force int)(flags & TCP_FLAG_CWR); in tcp_gro_receive()
240 flush |= (__force int)((flags ^ tcp_flag_word(th2)) & in tcp_gro_receive()
242 flush |= (__force int)(th->ack_seq ^ th2->ack_seq); in tcp_gro_receive()
244 flush |= *(u32 *)((u8 *)th + i) ^ in tcp_gro_receive()
254 flush |= NAPI_GRO_CB(p)->flush_id; in tcp_gro_receive()
260 flush |= (len - 1) >= mss; in tcp_gro_receive()
261 flush |= (ntohl(th2->seq) + skb_gro_len(p)) ^ ntohl(th->seq); in tcp_gro_receive()
263 flush |= p->decrypted ^ skb->decrypted; in tcp_gro_receive()
[all …]
Dudp_offload.c360 NAPI_GRO_CB(skb)->flush = 1; in udp_gro_receive_segment()
367 NAPI_GRO_CB(skb)->flush = 1; in udp_gro_receive_segment()
413 int flush = 1; in udp_gro_receive() local
438 flush = 0; in udp_gro_receive()
462 skb_gro_flush_final(skb, pp, flush); in udp_gro_receive()
473 goto flush; in udp4_gro_receive()
476 if (NAPI_GRO_CB(skb)->flush) in udp4_gro_receive()
481 goto flush; in udp4_gro_receive()
489 flush: in udp4_gro_receive()
490 NAPI_GRO_CB(skb)->flush = 1; in udp4_gro_receive()
/Linux-v5.4/block/
Dblk-flush.c117 return 1 << ffz(rq->flush.seq); in blk_flush_cur_seq()
131 rq->end_io = rq->flush.saved_end_io; in blk_flush_restore_request()
163 BUG_ON(rq->flush.seq & seq); in blk_flush_complete_seq()
164 rq->flush.seq |= seq; in blk_flush_complete_seq()
178 list_move_tail(&rq->flush.list, pending); in blk_flush_complete_seq()
182 list_move_tail(&rq->flush.list, &fq->flush_data_in_flight); in blk_flush_complete_seq()
194 list_del_init(&rq->flush.list); in blk_flush_complete_seq()
243 list_for_each_entry_safe(rq, n, running, flush.list) { in flush_end_io()
272 list_first_entry(pending, struct request, flush.list); in blk_kick_flush()
409 memset(&rq->flush, 0, sizeof(rq->flush)); in blk_insert_flush()
[all …]
/Linux-v5.4/Documentation/x86/
Dtlb.rst12 from areas other than the one we are trying to flush will be
21 1. The size of the flush being performed. A flush of the entire
25 be no collateral damage caused by doing the global flush, and
26 all of the individual flush will have ended up being wasted
29 damage we do with a full flush. So, the larger the TLB, the
30 more attractive an individual flush looks. Data and
37 especially the contents of the TLB during a given flush. The
38 sizes of the flush will vary greatly depending on the workload as
48 This will cause us to do the global flush for more cases.
53 Despite the fact that a single individual flush on x86 is
[all …]
/Linux-v5.4/lib/zlib_deflate/
Ddeflate.c66 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-v5.4/fs/btrfs/
Dspace-info.c165 enum btrfs_reserve_flush_enum flush, in can_overcommit() argument
199 if (flush == BTRFS_RESERVE_FLUSH_ALL) in can_overcommit()
217 enum btrfs_reserve_flush_enum flush = BTRFS_RESERVE_NO_FLUSH; in btrfs_try_granting_tickets() local
231 can_overcommit(fs_info, space_info, ticket->bytes, flush, in btrfs_try_granting_tickets()
247 flush = BTRFS_RESERVE_FLUSH_ALL; in btrfs_try_granting_tickets()
773 space_info->flush = 0; in btrfs_async_reclaim_metadata_space()
785 space_info->flush = 0; in btrfs_async_reclaim_metadata_space()
821 space_info->flush = 0; in btrfs_async_reclaim_metadata_space()
931 enum btrfs_reserve_flush_enum flush) in handle_reserve_ticket() argument
935 switch (flush) { in handle_reserve_ticket()
[all …]
/Linux-v5.4/drivers/md/
Ddm-delay.c37 struct delay_class flush; member
131 if (dc->flush.dev) in delay_dtr()
132 dm_put_device(ti, dc->flush.dev); in delay_dtr()
205 ret = delay_class_ctr(ti, &dc->flush, argv); in delay_ctr()
215 ret = delay_class_ctr(ti, &dc->flush, argv + 3); in delay_ctr()
221 ret = delay_class_ctr(ti, &dc->flush, argv + 6); in delay_ctr()
290 c = &dc->flush; in delay_map()
315 DMEMIT("%u %u %u", dc->read.ops, dc->write.ops, dc->flush.ops); in delay_status()
326 DMEMIT_DELAY_CLASS(&dc->flush); in delay_status()
344 ret = fn(ti, dc->flush.dev, dc->flush.start, ti->len, data); in delay_iterate_devices()
/Linux-v5.4/net/ipv6/
Dip6_offload.c32 NAPI_GRO_CB(skb)->flush |= 1, NULL : \
194 u16 flush = 1; in ipv6_gro_receive() local
210 flush += ntohs(iph->payload_len) != skb_gro_len(skb); in ipv6_gro_receive()
232 flush--; in ipv6_gro_receive()
265 NAPI_GRO_CB(p)->flush |= !!(first_word & htonl(0x0FF00000)); in ipv6_gro_receive()
266 NAPI_GRO_CB(p)->flush |= flush; in ipv6_gro_receive()
276 NAPI_GRO_CB(skb)->flush |= flush; in ipv6_gro_receive()
287 skb_gro_flush_final(skb, pp, flush); in ipv6_gro_receive()
298 NAPI_GRO_CB(skb)->flush = 1; in sit_ip6ip6_gro_receive()
313 NAPI_GRO_CB(skb)->flush = 1; in ip4ip6_gro_receive()
Dudp_offload.c120 goto flush; in udp6_gro_receive()
123 if (NAPI_GRO_CB(skb)->flush) in udp6_gro_receive()
128 goto flush; in udp6_gro_receive()
137 flush: in udp6_gro_receive()
138 NAPI_GRO_CB(skb)->flush = 1; in udp6_gro_receive()
/Linux-v5.4/drivers/gpu/drm/etnaviv/
Detnaviv_buffer.c91 u32 flush = 0; in etnaviv_cmd_select_pipe() local
102 flush = VIVS_GL_FLUSH_CACHE_PE2D; in etnaviv_cmd_select_pipe()
104 flush = VIVS_GL_FLUSH_CACHE_DEPTH | VIVS_GL_FLUSH_CACHE_COLOR; in etnaviv_cmd_select_pipe()
106 CMD_LOAD_STATE(buffer, VIVS_GL_FLUSH_CACHE, flush); in etnaviv_cmd_select_pipe()
235 u32 link_target, flush = 0; in etnaviv_buffer_end() local
240 flush = VIVS_GL_FLUSH_CACHE_PE2D; in etnaviv_buffer_end()
242 flush = VIVS_GL_FLUSH_CACHE_DEPTH | in etnaviv_buffer_end()
248 if (flush) { in etnaviv_buffer_end()
255 CMD_LOAD_STATE(buffer, VIVS_GL_FLUSH_CACHE, flush); in etnaviv_buffer_end()
388 u32 flush = VIVS_MMUv2_CONFIGURATION_MODE_MASK | in etnaviv_buffer_queue() local
[all …]
/Linux-v5.4/arch/arm/mm/
Dcache-v4.S40 mcr p15, 0, r0, c7, c7, 0 @ flush ID cache
59 mcr p15, 0, ip, c7, c7, 0 @ flush ID cache
115 mcr p15, 0, r0, c7, c7, 0 @ flush ID cache
Dproc-arm940.S50 mcr p15, 0, ip, c7, c5, 0 @ flush I cache
51 mcr p15, 0, ip, c7, c6, 0 @ flush D cache
108 mcr p15, 0, ip, c7, c6, 0 @ flush D cache
112 2: mcr p15, 0, r3, c7, c14, 2 @ clean/flush D index
162 2: mcr p15, 0, r3, c7, c14, 2 @ clean/flush D index
184 2: mcr p15, 0, r3, c7, c6, 2 @ flush D entry
231 mcr p15, 0, r3, c7, c14, 2 @ clean/flush D entry
Dproc-arm720.S68 mcr p15, 0, r1, c8, c7, 0 @ flush TLB (v4)
95 mcr p15, 0, ip, c8, c7, 0 @ flush TLB (v4)
110 mcr p15, 0, r0, c8, c7, 0 @ flush TLB (v4)
138 mcr p15, 0, r0, c8, c7, 0 @ flush TLB (v4)
/Linux-v5.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_overlay.c69 SVGAEscapeVideoFlush flush; member
83 fill_escape(&cmd->escape, sizeof(cmd->flush)); in fill_flush()
84 cmd->flush.cmdType = SVGA_ESCAPE_VMWARE_VIDEO_FLUSH; in fill_flush()
85 cmd->flush.streamId = stream_id; in fill_flush()
99 struct vmw_escape_video_flush *flush; in vmw_overlay_send_put() local
123 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items; in vmw_overlay_send_put()
131 flush = (struct vmw_escape_video_flush *)&items[num_items]; in vmw_overlay_send_put()
170 fill_flush(flush, arg->stream_id); in vmw_overlay_send_put()
190 struct vmw_escape_video_flush flush; in vmw_overlay_send_stop() member
212 fill_flush(&cmds->flush, stream_id); in vmw_overlay_send_stop()
/Linux-v5.4/drivers/staging/speakup/
Dspeakup_dectlk.c41 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-v5.4/drivers/i2c/busses/
Di2c-diolan-u2c.c158 static int diolan_write_cmd(struct i2c_diolan_u2c *dev, bool flush) in diolan_write_cmd() argument
160 if (flush || dev->olen >= DIOLAN_FLUSH_LEN) in diolan_write_cmd()
166 static int diolan_usb_cmd(struct i2c_diolan_u2c *dev, u8 command, bool flush) in diolan_usb_cmd() argument
170 return diolan_write_cmd(dev, flush); in diolan_usb_cmd()
175 bool flush) in diolan_usb_cmd_data() argument
180 return diolan_write_cmd(dev, flush); in diolan_usb_cmd_data()
185 u8 d2, bool flush) in diolan_usb_cmd_data2() argument
191 return diolan_write_cmd(dev, flush); in diolan_usb_cmd_data2()
/Linux-v5.4/tools/testing/selftests/drivers/net/mlxsw/
Dfib_offload.sh103 ip -6 route flush 2001:db8:3::/64 dev $spine_p1
109 ip -6 route flush 2001:db8:3::/64
160 ip -6 route flush 2001:db8:3::/64
215 ip -6 route flush 2001:db8:3::/64
253 ip -6 route flush 2001:db8:3::/64
254 ip -6 route flush 2001:db8:4::/64
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dtx.c70 bool flush = false; in mlx5e_xsk_tx() local
106 flush = true; in mlx5e_xsk_tx()
109 if (flush) { in mlx5e_xsk_tx()

12345678910>>...23