| /linux/arch/x86/hyperv/ |
| H A D | nested.c | 23 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/fs/btrfs/ |
| H A D | space-info.c | 73 * the tail of space_info->tickets, kick async flush thread 453 enum btrfs_reserve_flush_enum flush) in calc_available_free_space() argument 503 * 1/2th of the space. If we can flush, don't let us overcommit in calc_available_free_space() 506 if (flush == BTRFS_RESERVE_FLUSH_ALL || flush == BTRFS_RESERVE_FLUSH_ALL_STEAL) in calc_available_free_space() 526 enum btrfs_reserve_flush_enum flush) in check_can_overcommit() argument 528 const u64 avail = calc_available_free_space(space_info, flush); in check_can_overcommit() 535 enum btrfs_reserve_flush_enum flush) in can_overcommit() argument 541 return check_can_overcommit(space_info, space_info_used_bytes, bytes, flush); in can_overcommit() 545 enum btrfs_reserve_flush_enum flush) in btrfs_can_overcommit() argument 593 enum btrfs_reserve_flush_enum flush = BTRFS_RESERVE_NO_FLUSH; btrfs_try_granting_tickets() local 1313 enum btrfs_flush_state flush; btrfs_preempt_reclaim_metadata_space() local 1687 handle_reserve_ticket(struct btrfs_space_info * space_info,struct reserve_ticket * ticket,u64 start_ns,u64 orig_bytes,enum btrfs_reserve_flush_enum flush) handle_reserve_ticket() argument 1735 is_normal_flushing(enum btrfs_reserve_flush_enum flush) is_normal_flushing() argument 1759 can_steal(enum btrfs_reserve_flush_enum flush) can_steal() argument 1769 can_ticket(enum btrfs_reserve_flush_enum flush) can_ticket() argument 1790 reserve_bytes(struct btrfs_space_info * space_info,u64 orig_bytes,enum btrfs_reserve_flush_enum flush) reserve_bytes() argument 1937 btrfs_reserve_metadata_bytes(struct btrfs_space_info * space_info,u64 orig_bytes,enum btrfs_reserve_flush_enum flush) btrfs_reserve_metadata_bytes() argument 1965 btrfs_reserve_data_bytes(struct btrfs_space_info * space_info,u64 bytes,enum btrfs_reserve_flush_enum flush) btrfs_reserve_data_bytes() argument [all...] |
| /linux/net/ipv4/ |
| H A D | tcp_offload.c | 296 int flush = 1; in tcp_gro_receive() local 307 flush = (__force int)((flags ^ tcp_flag_word(th2)) & in tcp_gro_receive() 309 flush |= (__force int)(th->ack_seq ^ th2->ack_seq); in tcp_gro_receive() 311 flush |= *(u32 *)((u8 *)th + i) ^ in tcp_gro_receive() 314 flush |= gro_receive_network_flush(th, th2, p); in tcp_gro_receive() 327 flush |= (mss != skb_shinfo(skb)->gso_size); in tcp_gro_receive() 328 flush |= len <= (segs - 1) * mss || len > segs * mss; in tcp_gro_receive() 330 flush |= (len - 1) >= mss; in tcp_gro_receive() 333 flush |= (ntohl(th2->seq) + skb_gro_len(p)) ^ ntohl(th->seq); in tcp_gro_receive() 334 flush | in tcp_gro_receive() [all...] |
| H A D | udp_offload.c | 27 NAPI_GRO_CB(skb)->flush = 1; in dummy_gro_rcv() 153 NAPI_GRO_CB(skb)->flush |= 1; in udp_tunnel_gro_rcv() 709 int flush; in udp_gro_receive_segment() 713 NAPI_GRO_CB(skb)->flush = 1; in udp_gro_receive_segment() 735 NAPI_GRO_CB(skb)->flush = 1; in udp_gro_receive_segment() 739 flush = gro_receive_network_flush(uh, uh2, p); in udp_gro_receive_segment() 747 if (ulen > udp_get_len_short(uh2) || flush) { in udp_gro_receive_segment() 753 NAPI_GRO_CB(skb)->flush = 1; in udp_gro_receive_segment() 758 NAPI_GRO_CB(skb)->flush = 1; in udp_gro_receive_segment() 778 /* mismatch, but we never need to flush */ in udp_gro_receive() 704 int flush; udp_gro_receive_segment() local 784 int flush = 1; udp_gro_receive() local [all...] |
| /linux/lib/ |
| H A D | decompress_inflate.c | 44 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 D | decompress_unxz.c | 256 * fill() and flush() won't be used. 260 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() 350 if (flush != NULL) in unxz() 389 if (flush != NULL) in unxz() 407 long (*flush)(voi in __decompress() [all...] |
| H A D | decompress_unzstd.c | 167 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 D | decompress_unlz4.c | 33 long (*flush)(void *, unsigned long), in unlz4() 52 } else if (!flush) { in unlz4() 53 error("NULL output pointer and no flush function provided"); in unlz4() 178 if (flush && flush(outp, dest_len) != dest_len) in unlz4() 213 long (*flush)(void*, unsigned long), in __decompress() 219 return unlz4(buf, in_len - 4, fill, flush, output, posp, error);
|
| H A D | decompress_unlzo.c | 99 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 D | decompress_unlzma.c | 285 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/drivers/nvdimm/ |
| H A D | nd_virtio.c | 260 struct virtio_pmem_flush_work *flush; in virtio_pmem_flush_work() local 263 flush = container_of(work, struct virtio_pmem_flush_work, work); in virtio_pmem_flush_work() 264 err = virtio_pmem_flush(flush->nd_region); in virtio_pmem_flush_work() 268 flush->bio->bi_status = errno_to_blk_status(err); in virtio_pmem_flush_work() 269 bio_endio(flush->bio); in virtio_pmem_flush_work() 270 kfree(flush); in virtio_pmem_flush_work() 278 struct virtio_pmem_flush_work *flush; in async_pmem_flush() local 283 flush = kmalloc_obj(*flush, GFP_NOIO); in async_pmem_flush() 284 if (!flush) in async_pmem_flush() 287 INIT_WORK(&flush->work, virtio_pmem_flush_work); in async_pmem_flush() [all …]
|
| /linux/arch/riscv/kvm/ |
| H A D | mmu.c | 29 bool flush; in mmu_wp_memory_region() local 34 flush = kvm_riscv_gstage_wp_range(&gstage, start, end); in mmu_wp_memory_region() 36 if (flush) in mmu_wp_memory_region() 91 bool flush; in kvm_riscv_mmu_iounmap() local 96 flush = kvm_riscv_gstage_unmap_range(&gstage, gpa, size, false); in kvm_riscv_mmu_iounmap() 99 if (flush) in kvm_riscv_mmu_iounmap() 123 bool flush = false; in mmu_split_huge_pages() local 130 if (flush) { in mmu_split_huge_pages() 134 flush = false; in mmu_split_huge_pages() 144 return flush; in mmu_split_huge_pages() 208 bool flush; kvm_arch_flush_shadow_memslot() local 227 bool flush; mmu_split_memory_region() local 335 bool flush; kvm_unmap_gfn_range() local 782 bool flush = false; kvm_riscv_mmu_free_pgd() local [all...] |
| /linux/tools/testing/selftests/drivers/net/netdevsim/ |
| H A D | nexthop.sh | 147 $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 D | tlb.rst | 12 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 D | dfltcc_deflate.c | 121 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 D | dfltcc_inflate.h | 16 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 D | hyperv_tlb_flush.c | 191 struct hv_tlb_flush *flush = (struct hv_tlb_flush *)data->hcall_gva; in post_test() 206 flush->flags = HV_FLUSH_ALL_VIRTUAL_ADDRESS_SPACES; in sender_guest_code() 207 flush->processor_mask = BIT(WORKER_VCPU_ID_1); in sender_guest_code() 218 flush->flags = HV_FLUSH_ALL_VIRTUAL_ADDRESS_SPACES; in sender_guest_code() 219 flush->processor_mask = BIT(WORKER_VCPU_ID_1); in sender_guest_code() 220 flush->gva_list[0] = (u64)data->test_pages; in sender_guest_code() 232 flush->flags = HV_FLUSH_ALL_VIRTUAL_ADDRESS_SPACES | in sender_guest_code() 234 flush->processor_mask = 0; in sender_guest_code() 245 flush->flags = HV_FLUSH_ALL_VIRTUAL_ADDRESS_SPACES | in sender_guest_code() 247 flush in sender_guest_code() 202 struct hv_tlb_flush *flush = (struct hv_tlb_flush *)data->hcall_gva; sender_guest_code() local [all...] |
| /linux/drivers/md/ |
| H A D | dm-delay.c | 45 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() 284 dc->worker = kthread_run(&flush_worker_fn, dc, "dm-delay-flush-worker"); in delay_ctr() 304 ti->flush_supported = dc->flush in delay_ctr() [all...] |
| /linux/kernel/dma/ |
| H A D | direct.h | 22 unsigned long attrs, bool flush); 74 bool flush) in dma_direct_sync_single_for_cpu() argument 80 if (flush) in dma_direct_sync_single_for_cpu() 90 bool flush) in dma_direct_unmap_phys() argument 100 dma_direct_sync_single_for_cpu(dev, addr, size, dir, flush); in dma_direct_unmap_phys()
|
| /linux/Documentation/block/ |
| H A D | stat.rst | 44 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 D | vmwgfx_overlay.c | 63 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 D | xsk.h | 59 * @flush_bulk: driver callback to flush the bulk to the HW queue 61 * Return: true on success, false on flush error. 146 * libeth_xsk_tx_flush_bulk - wrapper to define flush of XSk ``XDP_TX`` bulk 147 * @bq: bulk to flush 296 void (*finalize)(void *xdpsq, bool sent, bool flush)) in libeth_xsk_xmit_do_bulk() 418 * @fl: driver ``XDP_TX`` bulk flush callback 513 * @flush: driver callback to flush the bulk argument 516 * Flush the bulk if there are frames left to send, kick the queue and flush 519 #define libeth_xsk_finalize_rx(bq, flush, finaliz 290 libeth_xsk_xmit_do_bulk(struct xsk_buff_pool * pool,void * xdpsq,u32 budget,const struct xsk_tx_metadata_ops * tmo,u32 (* prep)(void * xdpsq,struct libeth_xdpsq * sq),void (* xmit)(struct libeth_xdp_tx_desc desc,u32 i,const struct libeth_xdpsq * sq,u64 priv),void (* finalize)(void * xdpsq,bool sent,bool flush)) libeth_xsk_xmit_do_bulk() argument 556 LIBETH_XSK_DEFINE_RUN_PROG(name,flush) global() argument 575 LIBETH_XSK_DEFINE_RUN(name,run,flush,populate) global() argument 584 LIBETH_XSK_DEFINE_FINALIZE(name,flush,finalize) global() argument [all...] |
| /linux/net/ipv6/ |
| H A D | ip6_offload.c | 225 u16 flush = 1; in ipv6_gro_receive() 236 flush += ntohs(iph->payload_len) != skb->len - hlen; in ipv6_gro_receive() 256 flush--; in ipv6_gro_receive() 290 NAPI_GRO_CB(skb)->flush |= flush; in ipv6_gro_receive() 295 flush = 1; in ipv6_gro_receive() 308 skb_gro_flush_final(skb, pp, flush); in sit_ip6ip6_gro_receive() 320 NAPI_GRO_CB(skb)->flush = 1; 335 NAPI_GRO_CB(skb)->flush = 1; 217 u16 flush = 1; ipv6_gro_receive() local
|
| H A D | udp_offload.c | 141 goto flush; in udp6_gro_receive() 144 if (NAPI_GRO_CB(skb)->flush) in udp6_gro_receive() 149 goto flush; in udp6_gro_receive() 161 flush: in udp6_gro_receive() 162 NAPI_GRO_CB(skb)->flush = 1; in udp6_gro_receive()
|
| /linux/arch/arm/mm/ |
| H A D | cache-v4.S | 41 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
|