Home
last modified time | relevance | path

Searched defs:ctxt (Results 1 – 25 of 96) sorted by relevance

1234

/linux-6.12.1/arch/x86/kvm/
Demulate.c246 static void writeback_registers(struct x86_emulate_ctxt *ctxt) in writeback_registers()
255 static void invalidate_registers(struct x86_emulate_ctxt *ctxt) in invalidate_registers()
466 static int emulator_check_intercept(struct x86_emulate_ctxt *ctxt, in emulator_check_intercept()
511 static inline unsigned long ad_mask(struct x86_emulate_ctxt *ctxt) in ad_mask()
516 static ulong stack_mask(struct x86_emulate_ctxt *ctxt) in stack_mask()
527 static int stack_size(struct x86_emulate_ctxt *ctxt) in stack_size()
534 address_mask(struct x86_emulate_ctxt *ctxt, unsigned long reg) in address_mask()
543 register_address(struct x86_emulate_ctxt *ctxt, int reg) in register_address()
554 register_address_increment(struct x86_emulate_ctxt *ctxt, int reg, int inc) in register_address_increment()
561 static void rsp_increment(struct x86_emulate_ctxt *ctxt, int inc) in rsp_increment()
[all …]
Dx86.c108 #define emul_to_vcpu(ctxt) \ argument
7641 static int kvm_fetch_guest_virt(struct x86_emulate_ctxt *ctxt, in kvm_fetch_guest_virt()
7686 static int emulator_read_std(struct x86_emulate_ctxt *ctxt, in emulator_read_std()
7731 static int emulator_write_std(struct x86_emulate_ctxt *ctxt, gva_t addr, void *val, in emulator_write_std()
7931 struct x86_emulate_ctxt *ctxt = vcpu->arch.emulate_ctxt; in emulator_read_write_onepage() local
7972 static int emulator_read_write(struct x86_emulate_ctxt *ctxt, in emulator_read_write()
8026 static int emulator_read_emulated(struct x86_emulate_ctxt *ctxt, in emulator_read_emulated()
8036 static int emulator_write_emulated(struct x86_emulate_ctxt *ctxt, in emulator_write_emulated()
8049 static int emulator_cmpxchg_emulated(struct x86_emulate_ctxt *ctxt, in emulator_cmpxchg_emulated()
8202 static int emulator_pio_in_emulated(struct x86_emulate_ctxt *ctxt, in emulator_pio_in_emulated()
[all …]
/linux-6.12.1/arch/arm64/kvm/hyp/include/hyp/
Dsysreg-sr.h21 static inline void __sysreg_save_common_state(struct kvm_cpu_context *ctxt) in __sysreg_save_common_state()
30 static inline void __sysreg_save_user_state(struct kvm_cpu_context *ctxt) in __sysreg_save_user_state()
36 static inline struct kvm_vcpu *ctxt_to_vcpu(struct kvm_cpu_context *ctxt) in ctxt_to_vcpu()
46 static inline bool ctxt_has_mte(struct kvm_cpu_context *ctxt) in ctxt_has_mte()
53 static inline bool ctxt_has_s1pie(struct kvm_cpu_context *ctxt) in ctxt_has_s1pie()
64 static inline bool ctxt_has_tcrx(struct kvm_cpu_context *ctxt) in ctxt_has_tcrx()
75 static inline bool ctxt_has_s1poe(struct kvm_cpu_context *ctxt) in ctxt_has_s1poe()
86 static inline void __sysreg_save_el1_state(struct kvm_cpu_context *ctxt) in __sysreg_save_el1_state()
126 static inline void __sysreg_save_el2_return_state(struct kvm_cpu_context *ctxt) in __sysreg_save_el2_return_state()
140 static inline void __sysreg_restore_common_state(struct kvm_cpu_context *ctxt) in __sysreg_restore_common_state()
[all …]
/linux-6.12.1/net/sunrpc/xprtrdma/
Dsvc_rdma_recvfrom.c122 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_recv_ctxt_alloc() local
164 struct svc_rdma_recv_ctxt *ctxt) in svc_rdma_recv_ctxt_destroy()
179 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_recv_ctxts_destroy() local
196 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_recv_ctxt_get() local
215 struct svc_rdma_recv_ctxt *ctxt) in svc_rdma_recv_ctxt_put()
243 struct svc_rdma_recv_ctxt *ctxt = vctxt; in svc_rdma_release_ctxt() local
255 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_refresh_recvs() local
311 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_post_recvs() local
332 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_wc_receive() local
385 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_flush_recv_queues() local
[all …]
Dsvc_rdma_rw.c59 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_get_rw_ctxt() local
91 static void __svc_rdma_put_rw_ctxt(struct svc_rdma_rw_ctxt *ctxt, in __svc_rdma_put_rw_ctxt()
99 struct svc_rdma_rw_ctxt *ctxt) in svc_rdma_put_rw_ctxt()
111 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_destroy_rw_ctxts() local
132 struct svc_rdma_rw_ctxt *ctxt, in svc_rdma_rw_ctx_init()
177 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_cc_release() local
239 struct svc_rdma_send_ctxt *ctxt) in svc_rdma_reply_chunk_release()
323 struct svc_rdma_recv_ctxt *ctxt; in svc_rdma_wc_read_done() local
379 struct svc_rdma_rw_ctxt *ctxt; in svc_rdma_post_chunk_ctxt() local
421 struct svc_rdma_rw_ctxt *ctxt) in svc_rdma_vec_to_sg()
[all …]
Dsvc_rdma_sendto.c120 struct svc_rdma_send_ctxt *ctxt; in svc_rdma_send_ctxt_alloc() local
169 struct svc_rdma_send_ctxt *ctxt; in svc_rdma_send_ctxts_destroy() local
192 struct svc_rdma_send_ctxt *ctxt; in svc_rdma_send_ctxt_get() local
225 struct svc_rdma_send_ctxt *ctxt) in svc_rdma_send_ctxt_release()
253 struct svc_rdma_send_ctxt *ctxt; in svc_rdma_send_ctxt_put_async() local
267 struct svc_rdma_send_ctxt *ctxt) in svc_rdma_send_ctxt_put()
299 struct svc_rdma_send_ctxt *ctxt = in svc_rdma_wc_send() local
339 struct svc_rdma_send_ctxt *ctxt) in svc_rdma_post_send()
567 struct svc_rdma_send_ctxt *ctxt = args->md_ctxt; in svc_rdma_page_dma_map() local
854 struct svc_rdma_send_ctxt *ctxt) in svc_rdma_save_io_pages()
/linux-6.12.1/kernel/printk/
Dnbcon.c202 static void nbcon_seq_try_update(struct nbcon_context *ctxt, u64 new_seq) in nbcon_seq_try_update()
237 static int nbcon_context_try_acquire_direct(struct nbcon_context *ctxt, in nbcon_context_try_acquire_direct()
335 static int nbcon_context_try_acquire_requested(struct nbcon_context *ctxt, in nbcon_context_try_acquire_requested()
418 static int nbcon_context_try_acquire_handover(struct nbcon_context *ctxt, in nbcon_context_try_acquire_handover()
524 static int nbcon_context_try_acquire_hostile(struct nbcon_context *ctxt, in nbcon_context_try_acquire_hostile()
571 static bool nbcon_context_try_acquire(struct nbcon_context *ctxt) in nbcon_context_try_acquire()
651 static void nbcon_context_release(struct nbcon_context *ctxt) in nbcon_context_release()
704 static bool nbcon_context_can_proceed(struct nbcon_context *ctxt, struct nbcon_state *cur) in nbcon_context_can_proceed()
774 struct nbcon_context *ctxt = &ACCESS_PRIVATE(wctxt, ctxt); in nbcon_can_proceed() local
806 static bool __nbcon_context_update_unsafe(struct nbcon_context *ctxt, bool unsafe) in __nbcon_context_update_unsafe()
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dphy-ctxt.c69 static void iwl_mvm_phy_ctxt_cmd_hdr(struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_cmd_hdr()
79 struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_set_rxchain()
117 struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_cmd_data_v1()
138 struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_cmd_data()
155 int iwl_mvm_phy_send_rlc(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_send_rlc()
203 struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_apply()
272 int iwl_mvm_phy_ctxt_add(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_add()
303 void iwl_mvm_phy_ctxt_ref(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt) in iwl_mvm_phy_ctxt_ref()
319 int iwl_mvm_phy_ctxt_changed(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_changed()
364 void iwl_mvm_phy_ctxt_unref(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt) in iwl_mvm_phy_ctxt_unref()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_vsi_vlan_lib.c94 struct ice_vsi_ctx *ctxt; in ice_vsi_manage_vlan_insertion() local
134 struct ice_vsi_ctx *ctxt; in ice_vsi_manage_vlan_stripping() local
239 struct ice_vsi_ctx *ctxt; in __ice_vsi_set_inner_port_vlan() local
292 struct ice_vsi_ctx *ctxt; in ice_vsi_clear_inner_port_vlan() local
324 struct ice_vsi_ctx *ctxt; in ice_cfg_vlan_pruning() local
468 struct ice_vsi_ctx *ctxt; in ice_vsi_ena_outer_stripping() local
526 struct ice_vsi_ctx *ctxt; in ice_vsi_dis_outer_stripping() local
577 struct ice_vsi_ctx *ctxt; in ice_vsi_ena_outer_insertion() local
633 struct ice_vsi_ctx *ctxt; in ice_vsi_dis_outer_insertion() local
690 struct ice_vsi_ctx *ctxt; in __ice_vsi_set_outer_port_vlan() local
[all …]
/linux-6.12.1/arch/arm64/kvm/hyp/vhe/
Dsysreg-sr.c28 void sysreg_save_host_state_vhe(struct kvm_cpu_context *ctxt) in sysreg_save_host_state_vhe()
34 void sysreg_save_guest_state_vhe(struct kvm_cpu_context *ctxt) in sysreg_save_guest_state_vhe()
41 void sysreg_restore_host_state_vhe(struct kvm_cpu_context *ctxt) in sysreg_restore_host_state_vhe()
47 void sysreg_restore_guest_state_vhe(struct kvm_cpu_context *ctxt) in sysreg_restore_guest_state_vhe()
/linux-6.12.1/arch/x86/coco/sev/
Dcore.c306 static int vc_fetch_insn_kernel(struct es_em_ctxt *ctxt, in vc_fetch_insn_kernel()
312 static enum es_result __vc_decode_user_insn(struct es_em_ctxt *ctxt) in __vc_decode_user_insn()
341 static enum es_result __vc_decode_kern_insn(struct es_em_ctxt *ctxt) in __vc_decode_kern_insn()
361 static enum es_result vc_decode_insn(struct es_em_ctxt *ctxt) in vc_decode_insn()
369 static enum es_result vc_write_mem(struct es_em_ctxt *ctxt, in vc_write_mem()
448 static enum es_result vc_read_mem(struct es_em_ctxt *ctxt, in vc_read_mem()
526 static enum es_result vc_slow_virt_to_phys(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in vc_slow_virt_to_phys()
561 static enum es_result vc_ioio_check(struct es_em_ctxt *ctxt, u16 port, size_t size) in vc_ioio_check()
588 static __always_inline void vc_forward_exception(struct es_em_ctxt *ctxt) in vc_forward_exception()
1334 static enum es_result vc_handle_msr(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in vc_handle_msr()
[all …]
Dshared.c206 static enum es_result vc_init_em_ctxt(struct es_em_ctxt *ctxt, in vc_init_em_ctxt()
221 static void vc_finish_insn(struct es_em_ctxt *ctxt) in vc_finish_insn()
226 static enum es_result verify_exception_info(struct ghcb *ghcb, struct es_em_ctxt *ctxt) in verify_exception_info()
338 struct es_em_ctxt ctxt; in svsm_perform_ghcb_protocol() local
375 struct es_em_ctxt *ctxt, in sev_es_ghcb_hv_call()
431 static int __sev_cpuid_hv_ghcb(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in __sev_cpuid_hv_ghcb()
464 static int sev_cpuid_hv(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in sev_cpuid_hv()
573 static void snp_cpuid_hv(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in snp_cpuid_hv()
579 static int snp_cpuid_postprocess(struct ghcb *ghcb, struct es_em_ctxt *ctxt, in snp_cpuid_postprocess()
675 snp_cpuid(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in snp_cpuid()
[all …]
/linux-6.12.1/fs/bcachefs/
Dmove.c84 struct moving_context *ctxt = io->write.ctxt; in move_free() local
102 struct moving_context *ctxt = io->write.ctxt; in move_write_done() local
136 struct moving_io *bch2_moving_ctxt_next_pending_write(struct moving_context *ctxt) in bch2_moving_ctxt_next_pending_write()
147 struct moving_context *ctxt = io->write.ctxt; in move_read_endio() local
157 void bch2_moving_ctxt_do_pending_writes(struct moving_context *ctxt) in bch2_moving_ctxt_do_pending_writes()
168 void bch2_move_ctxt_wait_for_io(struct moving_context *ctxt) in bch2_move_ctxt_wait_for_io()
177 void bch2_moving_ctxt_flush_all(struct moving_context *ctxt) in bch2_moving_ctxt_flush_all()
184 void bch2_moving_ctxt_exit(struct moving_context *ctxt) in bch2_moving_ctxt_exit()
203 void bch2_moving_ctxt_init(struct moving_context *ctxt, in bch2_moving_ctxt_init()
243 int bch2_move_extent(struct moving_context *ctxt, in bch2_move_extent()
[all …]
Dmovinggc.c111 static void move_buckets_wait(struct moving_context *ctxt, in move_buckets_wait()
149 static int bch2_copygc_get_buckets(struct moving_context *ctxt, in bch2_copygc_get_buckets()
207 static int bch2_copygc(struct moving_context *ctxt, in bch2_copygc()
323 struct moving_context ctxt; in bch2_copygc_thread() local
Drebalance.c196 static int do_rebalance_extent(struct moving_context *ctxt, in do_rebalance_extent()
274 static int do_rebalance_scan(struct moving_context *ctxt, u64 inum, u64 cookie) in do_rebalance_scan()
322 static int do_rebalance(struct moving_context *ctxt) in do_rebalance()
393 struct moving_context ctxt; in bch2_rebalance_thread() local
/linux-6.12.1/arch/arm64/kvm/hyp/nvhe/
Dffa.c97 static void ffa_set_retval(struct kvm_cpu_context *ctxt, in ffa_set_retval()
192 struct kvm_cpu_context *ctxt) in do_ffa_rxtx_map()
271 struct kvm_cpu_context *ctxt) in do_ffa_rxtx_unmap()
372 struct kvm_cpu_context *ctxt) in do_ffa_mem_frag_tx()
431 struct kvm_cpu_context *ctxt) in __do_ffa_mem_xfer()
517 #define do_ffa_mem_xfer(fid, res, ctxt) \ argument
525 struct kvm_cpu_context *ctxt) in do_ffa_mem_reclaim()
638 struct kvm_cpu_context *ctxt) in do_ffa_features()
704 struct kvm_cpu_context *ctxt) in do_ffa_version()
744 struct kvm_cpu_context *ctxt) in do_ffa_part_get()
Dsysreg-sr.c21 void __sysreg_save_state_nvhe(struct kvm_cpu_context *ctxt) in __sysreg_save_state_nvhe()
29 void __sysreg_restore_state_nvhe(struct kvm_cpu_context *ctxt) in __sysreg_restore_state_nvhe()
/linux-6.12.1/arch/arm64/include/asm/
Dkvm_ptrauth.h105 #define __ptrauth_save_key(ctxt, key) \ argument
114 #define ptrauth_save_keys(ctxt) \ argument
/linux-6.12.1/arch/arm64/kvm/hyp/include/nvhe/
Dtrap_handler.h14 #define cpu_reg(ctxt, r) (ctxt)->regs.regs[r] argument
15 #define DECLARE_REG(type, name, ctxt, reg) \ argument
/linux-6.12.1/arch/x86/power/
Dcpu.c39 static void msr_save_context(struct saved_context *ctxt) in msr_save_context()
51 static void msr_restore_context(struct saved_context *ctxt) in msr_restore_context()
79 static void __save_processor_state(struct saved_context *ctxt) in __save_processor_state()
195 static void notrace __restore_processor_state(struct saved_context *ctxt) in __restore_processor_state()
/linux-6.12.1/arch/x86/boot/compressed/
Dsev.c77 static enum es_result vc_decode_insn(struct es_em_ctxt *ctxt) in vc_decode_insn()
91 static enum es_result vc_write_mem(struct es_em_ctxt *ctxt, in vc_write_mem()
99 static enum es_result vc_read_mem(struct es_em_ctxt *ctxt, in vc_read_mem()
107 static enum es_result vc_ioio_check(struct es_em_ctxt *ctxt, u16 port, size_t size) in vc_ioio_check()
338 struct es_em_ctxt ctxt; in do_boot_stage2_vc() local
/linux-6.12.1/fs/nilfs2/
Dbtnode.c208 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_prepare_change_key()
284 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_commit_change_key()
335 struct nilfs_btnode_chkey_ctxt *ctxt) in nilfs_btnode_abort_change_key()
/linux-6.12.1/arch/x86/xen/
Dpmu.c29 #define field_offset(ctxt, field) ((void *)((uintptr_t)ctxt + \ argument
201 struct xen_pmu_intel_ctxt *ctxt; in xen_intel_pmu_emulate() local
264 struct xen_pmu_amd_ctxt *ctxt; in xen_amd_pmu_emulate() local
351 struct xen_pmu_amd_ctxt *ctxt; in xen_amd_read_pmc() local
371 struct xen_pmu_intel_ctxt *ctxt; in xen_intel_read_pmc() local
/linux-6.12.1/tools/perf/scripts/python/
Dfutex-contention.py29 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, argument
40 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, argument
/linux-6.12.1/drivers/dma/amd/qdma/
Dqdma.c181 const struct qdma_ctxt_sw_desc *ctxt, in qdma_prep_sw_desc_context()
203 const struct qdma_ctxt_intr *ctxt, in qdma_prep_intr_context()
216 const struct qdma_ctxt_fmap *ctxt, in qdma_prep_fmap_context()
233 enum qdma_ctxt_cmd cmd, u16 index, u32 *ctxt) in qdma_prog_context()
319 u32 ctxt[QDMA_CTXT_REGMAP_LEN]; in qdma_setup_fmap_context() local
345 u32 ctxt[QDMA_CTXT_REGMAP_LEN]; in qdma_setup_queue_context() local
951 u32 ctxt[QDMA_CTXT_REGMAP_LEN]; in qdmam_alloc_qintr_rings() local

1234