Home
last modified time | relevance | path

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

12345678910>>...21

/linux/arch/x86/hyperv/
H A Dnested.c23 struct hv_guest_mapping_flush *flush; in hyperv_flush_guest_mapping() local
33 flush = *this_cpu_ptr(hyperv_pcpu_input_arg); in hyperv_flush_guest_mapping()
35 if (unlikely(!flush)) { in hyperv_flush_guest_mapping()
40 flush->address_space = as; in hyperv_flush_guest_mapping()
41 flush->flags = 0; in hyperv_flush_guest_mapping()
44 flush, NULL); in hyperv_flush_guest_mapping()
57 struct hv_guest_mapping_flush_list *flush, in hyperv_fill_flush_guest_mapping_list() argument
74 flush->gpa_list[gpa_n].page.additional_pages = additional_pages; in hyperv_fill_flush_guest_mapping_list()
75 flush->gpa_list[gpa_n].page.largepage = false; in hyperv_fill_flush_guest_mapping_list()
76 flush->gpa_list[gpa_n].page.basepfn = cur; in hyperv_fill_flush_guest_mapping_list()
[all …]
/linux/drivers/md/dm-vdo/
H A Dflush.c103 struct vdo_flush *flush = NULL; in allocate_flush() local
106 flush = vdo_allocate_memory_nowait(sizeof(struct vdo_flush), __func__); in allocate_flush()
108 int result = vdo_allocate(1, struct vdo_flush, __func__, &flush); in allocate_flush()
114 if (flush != NULL) { in allocate_flush()
117 vdo_initialize_completion(&flush->completion, flusher->vdo, in allocate_flush()
121 return flush; in allocate_flush()
182 static void vdo_complete_flush(struct vdo_flush *flush);
251 struct vdo_flush *flush = in notify_flush() local
254 flusher->notify_generation = flush->flush_generation; in notify_flush()
269 struct vdo_flush *flush = completion_as_vdo_flush(completion); in flush_vdo() local
[all …]
/linux/lib/
H A Ddecompress_inflate.c44 long (*flush)(void*, unsigned long), in __gunzip()
53 if (flush) { in __gunzip()
82 strm->workspace = malloc(flush ? zlib_inflate_workspacesize() : in __gunzip()
138 if (!flush) { in __gunzip()
159 if (flush && strm->next_out > out_buf) { in __gunzip()
161 if (l != flush(out_buf, l)) { in __gunzip()
193 if (flush) in __gunzip()
202 long (*flush)(void*, unsigned long), in gunzip()
207 return __gunzip(buf, len, fill, flush, out_buf, 0, pos, error); in gunzip()
212 long (*flush)(void*, unsigned long), in __decompress()
[all …]
H A Ddecompress_unxz.c260 long (*flush)(void *src, unsigned long size), in unxz()
276 if (fill == NULL && flush == NULL) in unxz()
284 if (flush == NULL) { in unxz()
306 if (fill == NULL && flush == NULL) { in unxz()
332 if (flush != NULL && (b.out_pos == b.out_size in unxz()
339 if (flush(b.out, b.out_pos) != (long)b.out_pos) in unxz()
349 if (flush != NULL) in unxz()
389 if (flush != NULL) in unxz()
407 long (*flush)(void *src, unsigned long size), in __decompress()
412 return unxz(in, in_size, fill, flush, out, in_used, error); in __decompress()
H A Ddecompress_unzstd.c167 long (*flush)(void*, unsigned long), in __unzstd()
191 if (fill == NULL && flush == NULL) in __unzstd()
227 if (flush != NULL) { in __unzstd()
308 if (flush != NULL && out.pos > 0) { in __unzstd()
309 if (out.pos != flush(out.dst, out.pos)) { in __unzstd()
335 long (*flush)(void*, unsigned long), in unzstd()
340 return __unzstd(buf, len, fill, flush, out_buf, 0, pos, error); in unzstd()
345 long (*flush)(void*, unsigned long), in __decompress()
350 return __unzstd(buf, len, fill, flush, out_buf, out_len, pos, error); in __decompress()
H A Ddecompress_unlz4.c33 long (*flush)(void *, unsigned long), in unlz4()
52 } else if (!flush) { in unlz4()
174 if (flush && flush(outp, dest_len) != dest_len) in unlz4()
209 long (*flush)(void*, unsigned long), in __decompress()
215 return unlz4(buf, in_len - 4, fill, flush, output, posp, error); in __decompress()
H A Ddecompress_unlzo.c99 long (*flush)(void *, unsigned long), in unlzo()
112 } else if (!flush) { in unlzo()
243 if (flush && flush(out_buf, dst_len) != dst_len) in unlzo()
279 long (*flush)(void*, unsigned long), in __decompress()
284 return unlzo(buf, len, fill, flush, out_buf, pos, error); in __decompress()
H A Ddecompress_unlzma.c285 long (*flush)(void*, unsigned long); member
303 if (!wr->flush) { in peek_old_byte()
321 if (wr->flush && wr->buffer_pos == wr->header->dict_size) { in write_byte()
324 if (wr->flush((char *)wr->buffer, wr->header->dict_size) in write_byte()
541 long (*flush)(void*, unsigned long), in unlzma()
575 wr.flush = flush; in unlzma()
657 if (!wr.flush || wr.flush(wr.buffer, wr.buffer_pos) == wr.buffer_pos) in unlzma()
674 long (*flush)(void*, unsigned long), in __decompress()
679 return unlzma(buf, in_len - 4, fill, flush, output, posp, error); in __decompress()
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dnexthop.sh147 $IP nexthop flush &> /dev/null
182 $IP nexthop flush &> /dev/null
202 $IP nexthop flush &> /dev/null
247 $IP nexthop flush &> /dev/null
267 $IP nexthop flush &> /dev/null
289 $IP nexthop flush &> /dev/null
314 $IP nexthop flush &> /dev/null
343 $IP nexthop flush &> /dev/null
373 $IP nexthop flush &> /dev/null
422 $IP nexthop flush &> /dev/null
[all …]
/linux/Documentation/arch/x86/
H A 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/lib/zlib_dfltcc/
H A Ddfltcc_deflate.c121 int flush, in dfltcc_deflate() argument
136 if (flush == Z_FULL_FLUSH) in dfltcc_deflate()
144 no_flush = flush == Z_NO_FLUSH; in dfltcc_deflate()
159 if (flush == Z_FINISH) in dfltcc_deflate()
162 if (flush == Z_FULL_FLUSH) in dfltcc_deflate()
217 need_empty_block = flush == Z_FINISH && param->bcf && !param->bhf; in dfltcc_deflate()
225 if (flush == Z_FINISH && !param->bcf) in dfltcc_deflate()
292 if (flush == Z_FINISH) { in dfltcc_deflate()
301 if (flush == Z_FULL_FLUSH) in dfltcc_deflate()
303 *result = flush == Z_NO_FLUSH ? need_more : block_done; in dfltcc_deflate()
H A Ddfltcc_inflate.h16 int flush, int *ret);
20 #define INFLATE_TYPEDO_HOOK(strm, flush) \ argument
25 action = dfltcc_inflate((strm), (flush), &ret); \
/linux/tools/testing/selftests/kvm/x86/
H A Dhyperv_tlb_flush.c202 struct hv_tlb_flush *flush = (struct hv_tlb_flush *)data->hcall_gva; in sender_guest_code() local
217 flush->flags = HV_FLUSH_ALL_VIRTUAL_ADDRESS_SPACES; in sender_guest_code()
218 flush->processor_mask = BIT(WORKER_VCPU_ID_1); in sender_guest_code()
229 flush->flags = HV_FLUSH_ALL_VIRTUAL_ADDRESS_SPACES; in sender_guest_code()
230 flush->processor_mask = BIT(WORKER_VCPU_ID_1); in sender_guest_code()
231 flush->gva_list[0] = (u64)data->test_pages; in sender_guest_code()
243 flush->flags = HV_FLUSH_ALL_VIRTUAL_ADDRESS_SPACES | in sender_guest_code()
245 flush->processor_mask = 0; in sender_guest_code()
256 flush->flags = HV_FLUSH_ALL_VIRTUAL_ADDRESS_SPACES | in sender_guest_code()
258 flush->gva_list[0] = (u64)data->test_pages; in sender_guest_code()
[all …]
/linux/drivers/md/
H A Ddm-delay.c45 struct delay_class flush; member
172 if (dc->flush.dev) in delay_dtr()
173 dm_put_device(ti, dc->flush.dev); in delay_dtr()
249 ret = delay_class_ctr(ti, &dc->flush, argv); in delay_ctr()
262 ret = delay_class_ctr(ti, &dc->flush, argv + 3); in delay_ctr()
268 ret = delay_class_ctr(ti, &dc->flush, argv + 6); in delay_ctr()
271 max_delay = max(max_delay, dc->flush.delay); in delay_ctr()
272 min_delay = min_not_zero(min_delay, dc->flush.delay); in delay_ctr()
370 c = &dc->flush; in delay_map()
409 DMEMIT("%u %u %u", dc->read.ops, dc->write.ops, dc->flush.ops); in delay_status()
[all …]
/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_buffer.c94 u32 flush = 0; in etnaviv_cmd_select_pipe() local
105 flush = VIVS_GL_FLUSH_CACHE_PE2D; in etnaviv_cmd_select_pipe()
107 flush = VIVS_GL_FLUSH_CACHE_DEPTH | VIVS_GL_FLUSH_CACHE_COLOR; in etnaviv_cmd_select_pipe()
109 CMD_LOAD_STATE(buffer, VIVS_GL_FLUSH_CACHE, flush); in etnaviv_cmd_select_pipe()
238 u32 link_target, flush = 0; in etnaviv_buffer_end() local
245 flush = VIVS_GL_FLUSH_CACHE_PE2D; in etnaviv_buffer_end()
247 flush = VIVS_GL_FLUSH_CACHE_DEPTH | in etnaviv_buffer_end()
253 if (flush) { in etnaviv_buffer_end()
269 CMD_LOAD_STATE(buffer, VIVS_GL_FLUSH_CACHE, flush); in etnaviv_buffer_end()
416 u32 flush = VIVS_MMUv2_CONFIGURATION_MODE_MASK | in etnaviv_buffer_queue() local
[all …]
/linux/Documentation/block/
H A Dstat.rst44 flush I/Os requests number of flush I/Os processed
45 flush ticks milliseconds total wait time for flush requests
53 flush I/Os
56 These values increment when an flush I/O request completes.
58 Block layer combines flush requests and executes at most one at a time.
59 This counts flush requests executed by disk. Not tracked for partitions.
75 read ticks, write ticks, discard ticks, flush ticks
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_overlay.c63 SVGAEscapeVideoFlush flush; member
77 fill_escape(&cmd->escape, sizeof(cmd->flush)); in fill_flush()
78 cmd->flush.cmdType = SVGA_ESCAPE_VMWARE_VIDEO_FLUSH; in fill_flush()
79 cmd->flush.streamId = stream_id; in fill_flush()
93 struct vmw_escape_video_flush *flush; in vmw_overlay_send_put() local
117 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items; in vmw_overlay_send_put()
125 flush = (struct vmw_escape_video_flush *)&items[num_items]; in vmw_overlay_send_put()
164 fill_flush(flush, arg->stream_id); in vmw_overlay_send_put()
184 struct vmw_escape_video_flush flush; in vmw_overlay_send_stop() member
206 fill_flush(&cmds->flush, stream_id); in vmw_overlay_send_stop()
/linux/include/net/libeth/
H A Dxsk.h290 void (*finalize)(void *xdpsq, bool sent, bool flush)) in libeth_xsk_xmit_do_bulk() argument
513 #define libeth_xsk_finalize_rx(bq, flush, finalize) \ argument
514 __libeth_xdp_finalize_rx(bq, LIBETH_XDP_TX_XSK, flush, finalize)
556 #define LIBETH_XSK_DEFINE_RUN_PROG(name, flush) \ argument
557 u32 __LIBETH_XDP_DEFINE_RUN_PROG(name, flush, xsk)
575 #define LIBETH_XSK_DEFINE_RUN(name, run, flush, populate) \ argument
576 __LIBETH_XDP_DEFINE_RUN(name, run, flush, populate, XSK)
584 #define LIBETH_XSK_DEFINE_FINALIZE(name, flush, finalize) \ argument
585 __LIBETH_XDP_DEFINE_FINALIZE(name, flush, finalize, xsk)
/linux/block/
H A Dblk-flush.c105 return 1 << ffz(rq->flush.seq); in blk_flush_cur_seq()
121 rq->end_io = rq->flush.saved_end_io; in blk_flush_restore_request()
156 BUG_ON(rq->flush.seq & seq); in blk_flush_complete_seq()
157 rq->flush.seq |= seq; in blk_flush_complete_seq()
371 rq->flush.seq = 0; in blk_rq_init_flush()
373 rq->flush.saved_end_io = rq->end_io; /* Usually NULL */ in blk_rq_init_flush()
443 rq->flush.seq |= REQ_FSEQ_PREFLUSH; in blk_insert_flush()
/linux/net/ipv6/
H A Dip6_offload.c36 NAPI_GRO_CB(skb)->flush |= 1, NULL : \
232 u16 flush = 1; in ipv6_gro_receive() local
243 flush += ntohs(iph->payload_len) != skb->len - hlen; in ipv6_gro_receive()
263 flush--; in ipv6_gro_receive()
297 NAPI_GRO_CB(skb)->flush |= flush; in ipv6_gro_receive()
305 skb_gro_flush_final(skb, pp, flush); in ipv6_gro_receive()
316 NAPI_GRO_CB(skb)->flush = 1; in sit_ip6ip6_gro_receive()
331 NAPI_GRO_CB(skb)->flush = 1; in ip4ip6_gro_receive()
/linux/arch/arm/mm/
H A Dcache-v4.S41 mcr p15, 0, r0, c7, c7, 0 @ flush ID cache
61 mcr p15, 0, ip, c7, c7, 0 @ flush ID cache
123 mcr p15, 0, r0, c7, c7, 0 @ flush ID cache
/linux/drivers/i2c/busses/
H A Di2c-diolan-u2c.c156 static int diolan_write_cmd(struct i2c_diolan_u2c *dev, bool flush) in diolan_write_cmd() argument
158 if (flush || dev->olen >= DIOLAN_FLUSH_LEN) in diolan_write_cmd()
164 static int diolan_usb_cmd(struct i2c_diolan_u2c *dev, u8 command, bool flush) in diolan_usb_cmd() argument
168 return diolan_write_cmd(dev, flush); in diolan_usb_cmd()
173 bool flush) in diolan_usb_cmd_data() argument
178 return diolan_write_cmd(dev, flush); in diolan_usb_cmd_data()
183 u8 d2, bool flush) in diolan_usb_cmd_data2() argument
189 return diolan_write_cmd(dev, flush); in diolan_usb_cmd_data2()
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A 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/arch/x86/kvm/mmu/
H A Dtdp_mmu.c817 bool flush, bool shared) in tdp_mmu_iter_cond_resched() argument
824 if (flush) in tdp_mmu_iter_cond_resched()
981 gfn_t start, gfn_t end, bool can_yield, bool flush) in tdp_mmu_zap_leafs() argument
993 tdp_mmu_iter_cond_resched(kvm, &iter, flush, false)) { in tdp_mmu_zap_leafs()
994 flush = false; in tdp_mmu_zap_leafs()
1009 flush = true; in tdp_mmu_zap_leafs()
1018 return flush; in tdp_mmu_zap_leafs()
1026 bool kvm_tdp_mmu_zap_leafs(struct kvm *kvm, gfn_t start, gfn_t end, bool flush) in kvm_tdp_mmu_zap_leafs() argument
1032 flush = tdp_mmu_zap_leafs(kvm, root, start, end, true, flush); in kvm_tdp_mmu_zap_leafs()
1034 return flush; in kvm_tdp_mmu_zap_leafs()
[all …]
/linux/tools/testing/selftests/powerpc/nx-gzip/
H A Dgzfht_test.c152 uint64_t flush; in append_sync_flush() local
161 flush = ((0x1ULL & final) << shift) | *buf; in append_sync_flush()
164 flush |= (0xFFFF0000ULL) << shift; /* Zero length block */ in append_sync_flush()
167 *buf++ = (unsigned char) (flush & 0xffULL); in append_sync_flush()
168 flush = flush >> 8; in append_sync_flush()

12345678910>>...21