Home
last modified time | relevance | path

Searched defs:batch (Results 1 – 25 of 106) sorted by relevance

12345

/linux-6.15/mm/
Dmmu_gather.c20 struct mmu_gather_batch *batch; in tlb_next_batch() local
51 static void tlb_flush_rmap_batch(struct mmu_gather_batch *batch, struct vm_area_struct *vma) in tlb_flush_rmap_batch()
101 static void __tlb_batch_free_encoded_pages(struct mmu_gather_batch *batch) in __tlb_batch_free_encoded_pages()
146 struct mmu_gather_batch *batch; in tlb_batch_pages_flush() local
155 struct mmu_gather_batch *batch, *next; in tlb_batch_list_free() local
169 struct mmu_gather_batch *batch; in __tlb_remove_folio_pages_size() local
222 static void __tlb_remove_table_free(struct mmu_table_batch *batch) in __tlb_remove_table_free()
293 static void tlb_remove_table_free(struct mmu_table_batch *batch) in tlb_remove_table_free()
300 static void tlb_remove_table_free(struct mmu_table_batch *batch) in tlb_remove_table_free()
353 struct mmu_table_batch **batch = &tlb->batch; in tlb_table_flush() local
[all …]
/linux-6.15/tools/testing/selftests/bpf/progs/
Dtest_bpf_ma.c56 static __always_inline void batch_alloc(struct bpf_map *map, unsigned int batch, unsigned int idx) in batch_alloc()
83 static __always_inline void batch_free(struct bpf_map *map, unsigned int batch, unsigned int idx) in batch_free()
105 static __always_inline void batch_percpu_alloc(struct bpf_map *map, unsigned int batch, in batch_percpu_alloc()
133 static __always_inline void batch_percpu_free(struct bpf_map *map, unsigned int batch, in batch_percpu_free()
154 #define CALL_BATCH_ALLOC(size, batch, idx) \ argument
157 #define CALL_BATCH_ALLOC_FREE(size, batch, idx) \ argument
163 #define CALL_BATCH_PERCPU_ALLOC(size, batch, idx) \ argument
166 #define CALL_BATCH_PERCPU_ALLOC_FREE(size, batch, idx) \ argument
/linux-6.15/drivers/iommu/iommufd/
Dpages.c276 static void batch_clear(struct pfn_batch *batch) in batch_clear()
288 static void batch_clear_carry(struct pfn_batch *batch, unsigned int keep_pfns) in batch_clear_carry()
304 static void batch_skip_carry(struct pfn_batch *batch, unsigned int skip_pfns) in batch_skip_carry()
316 static int __batch_init(struct pfn_batch *batch, size_t max_pages, void *backup, in __batch_init()
333 static int batch_init(struct pfn_batch *batch, size_t max_pages) in batch_init()
338 static void batch_init_backup(struct pfn_batch *batch, size_t max_pages, in batch_init_backup()
344 static void batch_destroy(struct pfn_batch *batch, void *backup) in batch_destroy()
350 static bool batch_add_pfn_num(struct pfn_batch *batch, unsigned long pfn, in batch_add_pfn_num()
371 static void batch_remove_pfn_num(struct pfn_batch *batch, unsigned long nr) in batch_remove_pfn_num()
380 static bool batch_add_pfn(struct pfn_batch *batch, unsigned long pfn) in batch_add_pfn()
[all …]
/linux-6.15/drivers/gpu/drm/i915/gt/
Dgen7_renderclear.c235 gen7_emit_state_base_address(struct batch_chunk *batch, in gen7_emit_state_base_address()
261 gen7_emit_vfe_state(struct batch_chunk *batch, in gen7_emit_vfe_state()
290 gen7_emit_interface_descriptor_load(struct batch_chunk *batch, in gen7_emit_interface_descriptor_load()
309 gen7_emit_media_object(struct batch_chunk *batch, in gen7_emit_media_object()
340 static void gen7_emit_pipeline_flush(struct batch_chunk *batch) in gen7_emit_pipeline_flush()
355 static void gen7_emit_pipeline_invalidate(struct batch_chunk *batch) in gen7_emit_pipeline_invalidate()
436 u32 *batch; in gen7_setup_clear_gpr_bb() local
Dgen8_engine_cs.h53 __gen8_emit_pipe_control(u32 *batch, u32 bit_group_0, in __gen8_emit_pipe_control()
65 static inline u32 *gen8_emit_pipe_control(u32 *batch, in gen8_emit_pipe_control()
71 static inline u32 *gen12_emit_pipe_control(u32 *batch, u32 bit_group_0, in gen12_emit_pipe_control()
Dintel_lrc.c1638 gen8_emit_flush_coherentl3_wa(struct intel_engine_cs *engine, u32 *batch) in gen8_emit_flush_coherentl3_wa()
1680 static u32 *gen8_init_indirectctx_bb(struct intel_engine_cs *engine, u32 *batch) in gen8_init_indirectctx_bb()
1718 static u32 *emit_lri(u32 *batch, const struct lri *lri, unsigned int count) in emit_lri()
1732 static u32 *gen9_init_indirectctx_bb(struct intel_engine_cs *engine, u32 *batch) in gen9_init_indirectctx_bb()
1845 void *batch, *batch_ptr; in lrc_init_wa_ctx() local
Dintel_renderstate.h19 const u32 *batch; member
Dintel_renderstate.c43 #define OUT_BATCH(batch, i, val) \ argument
/linux-6.15/drivers/gpu/drm/xe/
Dxe_pxp_submit.c219 static u32 pxp_emit_wait(struct xe_device *xe, struct iosys_map *batch, u32 offset) in pxp_emit_wait()
228 static u32 pxp_emit_session_selection(struct xe_device *xe, struct iosys_map *batch, in pxp_emit_session_selection()
261 struct iosys_map *batch, u32 offset) in pxp_emit_inline_termination()
270 static u32 pxp_emit_session_termination(struct xe_device *xe, struct iosys_map *batch, in pxp_emit_session_termination()
381 static void emit_pxp_heci_cmd(struct xe_device *xe, struct iosys_map *batch, in emit_pxp_heci_cmd()
/linux-6.15/lib/
Dpercpu_counter.c93 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch) in percpu_counter_add_batch()
120 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch) in percpu_counter_add_batch()
292 int __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch) in __percpu_counter_compare()
328 s64 limit, s64 amount, s32 batch) in __percpu_counter_limited_add()
/linux-6.15/drivers/iommu/intel/
Dcache.c294 static void qi_batch_flush_descs(struct intel_iommu *iommu, struct qi_batch *batch) in qi_batch_flush_descs()
305 static void qi_batch_increment_index(struct intel_iommu *iommu, struct qi_batch *batch) in qi_batch_increment_index()
313 struct qi_batch *batch) in qi_batch_add_iotlb()
321 struct qi_batch *batch) in qi_batch_add_dev_iotlb()
336 struct qi_batch *batch) in qi_batch_add_piotlb()
352 unsigned int size_order, struct qi_batch *batch) in qi_batch_add_pasid_dev_iotlb()
/linux-6.15/arch/powerpc/include/asm/book3s/64/
Dtlbflush-hash.h31 struct ppc64_tlb_batch *batch; in arch_enter_lazy_mmu_mode() local
46 struct ppc64_tlb_batch *batch; in arch_leave_lazy_mmu_mode() local
/linux-6.15/arch/powerpc/mm/book3s64/
Dhash_tlb.c44 struct ppc64_tlb_batch *batch = &get_cpu_var(ppc64_tlb_batch); in hpte_need_flush() local
144 void __flush_tlb_pending(struct ppc64_tlb_batch *batch) in __flush_tlb_pending()
/linux-6.15/drivers/xen/
Dgntdev.c799 static int gntdev_get_page(struct gntdev_copy_batch *batch, void __user *virt, in gntdev_get_page()
819 static void gntdev_put_pages(struct gntdev_copy_batch *batch) in gntdev_put_pages()
826 static int gntdev_copy(struct gntdev_copy_batch *batch) in gntdev_copy()
858 static int gntdev_grant_copy_seg(struct gntdev_copy_batch *batch, in gntdev_grant_copy_seg()
956 struct gntdev_copy_batch batch; in gntdev_ioctl_grant_copy() local
/linux-6.15/arch/riscv/mm/
Dtlbflush.c192 void arch_tlbbatch_add_pending(struct arch_tlbflush_unmap_batch *batch, in arch_tlbbatch_add_pending()
204 void arch_tlbbatch_flush(struct arch_tlbflush_unmap_batch *batch) in arch_tlbbatch_flush()
/linux-6.15/drivers/gpu/drm/i915/selftests/
Digt_spinner.h25 u32 *batch; member
/linux-6.15/include/vdso/
Dgetrandom.h36 u8 batch[CHACHA_BLOCK_SIZE * 3 / 2]; member
/linux-6.15/drivers/vfio/
Dvfio_iommu_type1.c474 static void __vfio_batch_init(struct vfio_batch *batch, bool single) in __vfio_batch_init()
494 static void vfio_batch_init(struct vfio_batch *batch) in vfio_batch_init()
499 static void vfio_batch_init_single(struct vfio_batch *batch) in vfio_batch_init_single()
504 static void vfio_batch_unpin(struct vfio_batch *batch, struct vfio_dma *dma) in vfio_batch_unpin()
515 static void vfio_batch_fini(struct vfio_batch *batch) in vfio_batch_fini()
567 struct vfio_batch *batch) in vaddr_get_pfns()
625 unsigned long limit, struct vfio_batch *batch) in vfio_pin_pages_remote()
759 struct vfio_batch batch; in vfio_pin_page_external() local
1476 struct vfio_batch batch; in vfio_pin_map_dma() local
1694 struct vfio_batch batch; in vfio_iommu_replay() local
/linux-6.15/drivers/net/ethernet/netronome/nfp/flower/
Dlag_conf.c234 unsigned int member_cnt, enum nfp_fl_lag_batch *batch) in nfp_fl_lag_config_group()
296 enum nfp_fl_lag_batch batch = NFP_FL_LAG_BATCH_FIRST; in nfp_fl_lag_do_work() local
691 enum nfp_fl_lag_batch batch = NFP_FL_LAG_BATCH_FIRST; in nfp_flower_lag_reset() local
/linux-6.15/tools/virtio/
Dvirtio_test.c170 bool delayed, int batch, int reset_n, int bufs) in run_test()
349 long batch = 1, reset = 0; in main() local
/linux-6.15/drivers/gpu/drm/i915/gem/selftests/
Digt_gem_utils.c116 struct i915_vma *batch; in igt_gpu_fill_dw() local
/linux-6.15/include/linux/
Dpercpu_counter.h182 __percpu_counter_compare(struct percpu_counter *fbc, s64 rhs, s32 batch) in __percpu_counter_compare()
226 percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch) in percpu_counter_add_batch()
/linux-6.15/tools/testing/selftests/bpf/map_tests/
Dlpm_trie_map_batch_ops.c73 __u64 batch = 0; in test_lpm_trie_map_batch_ops() local
/linux-6.15/arch/arm64/include/asm/
Dtlbflush.h345 static inline void arch_tlbbatch_flush(struct arch_tlbflush_unmap_batch *batch) in arch_tlbbatch_flush()
532 static inline void arch_tlbbatch_add_pending(struct arch_tlbflush_unmap_batch *batch, in arch_tlbbatch_add_pending()
/linux-6.15/drivers/gpu/drm/vmwgfx/
Dvmwgfx_mob.c238 struct vmw_otable_batch *batch) in vmw_otable_batch_setup()
333 struct vmw_otable_batch *batch) in vmw_otable_batch_takedown()

12345