Home
last modified time | relevance | path

Searched refs:ulong (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/linux-6.6.21/mm/damon/
Dmodules-common.h12 ulong, 0600); \
13 module_param_named(aggr_interval, attrs.aggr_interval, ulong, \
15 module_param_named(min_nr_regions, attrs.min_nr_regions, ulong, \
17 module_param_named(max_nr_regions, attrs.max_nr_regions, ulong, \
21 module_param_named(quota_ms, quota.ms, ulong, 0600); \
23 quota.reset_interval, ulong, 0600);
27 module_param_named(quota_sz, quota.sz, ulong, 0600);
30 module_param_named(wmarks_interval, wmarks.interval, ulong, \
32 module_param_named(wmarks_high, wmarks.high, ulong, 0600); \
33 module_param_named(wmarks_mid, wmarks.mid, ulong, 0600); \
[all …]
/linux-6.6.21/arch/powerpc/include/asm/
Dkvm_host.h378 ulong eaddr;
380 ulong raddr;
395 int (*slbfee)(struct kvm_vcpu *vcpu, gva_t eaddr, ulong *ret_slb);
399 void (*mtsrin)(struct kvm_vcpu *vcpu, u32 srnum, ulong value);
403 void (*tlbie)(struct kvm_vcpu *vcpu, ulong addr, bool large);
404 int (*esid_to_vsid)(struct kvm_vcpu *vcpu, ulong esid, u64 *vsid);
513 ulong host_stack;
535 ulong evr[32];
536 ulong spefscr;
537 ulong host_spefscr;
[all …]
Dkvm_book3s_asm.h84 ulong host_r1;
85 ulong host_r2;
86 ulong host_msr;
87 ulong vmhandler;
88 ulong scratch0;
89 ulong scratch1;
90 ulong scratch2;
125 ulong gpr[14];
127 ulong xer;
128 ulong ctr;
[all …]
Dkvm_booke.h26 static inline void kvmppc_set_gpr(struct kvm_vcpu *vcpu, int num, ulong val) in kvmppc_set_gpr()
31 static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) in kvmppc_get_gpr()
46 static inline void kvmppc_set_xer(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_xer()
51 static inline ulong kvmppc_get_xer(struct kvm_vcpu *vcpu) in kvmppc_get_xer()
62 static inline void kvmppc_set_ctr(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_ctr()
67 static inline ulong kvmppc_get_ctr(struct kvm_vcpu *vcpu) in kvmppc_get_ctr()
72 static inline void kvmppc_set_lr(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_lr()
77 static inline ulong kvmppc_get_lr(struct kvm_vcpu *vcpu) in kvmppc_get_lr()
82 static inline void kvmppc_set_pc(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_pc()
87 static inline ulong kvmppc_get_pc(struct kvm_vcpu *vcpu) in kvmppc_get_pc()
[all …]
Dkvm_book3s.h56 ulong slot;
89 ulong lpcr;
91 ulong pcr;
92 ulong dpdes; /* doorbell state (POWER8) */
93 ulong vtb; /* virtual timebase */
94 ulong conferring_threads;
145 extern void kvmppc_mmu_pte_flush(struct kvm_vcpu *vcpu, ulong ea, ulong ea_mask);
147 extern void kvmppc_mmu_pte_pflush(struct kvm_vcpu *vcpu, ulong pa_start, ulong pa_end);
155 extern int kvmppc_mmu_map_segment(struct kvm_vcpu *vcpu, ulong eaddr);
156 extern void kvmppc_mmu_flush_segment(struct kvm_vcpu *vcpu, ulong eaddr, ulong seg_size);
[all …]
Dkvm_ppc.h91 extern int kvmppc_ld(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr,
93 extern int kvmppc_st(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr,
116 extern int kvmppc_xlate(struct kvm_vcpu *vcpu, ulong eaddr,
133 ulong srr1_flags);
136 ulong srr1_flags);
138 ulong srr1_flags);
140 ulong srr1_flags);
142 ulong srr1_flags);
149 ulong dear_flags,
150 ulong esr_flags);
[all …]
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_tmpl.c15 qla27xx_insert16(uint16_t value, void *buf, ulong *len) in qla27xx_insert16()
25 qla27xx_insert32(uint32_t value, void *buf, ulong *len) in qla27xx_insert32()
35 qla27xx_insertbuf(void *mem, ulong size, void *buf, ulong *len) in qla27xx_insertbuf()
45 qla27xx_read8(void __iomem *window, void *buf, ulong *len) in qla27xx_read8()
56 qla27xx_read16(void __iomem *window, void *buf, ulong *len) in qla27xx_read16()
67 qla27xx_read32(void __iomem *window, void *buf, ulong *len) in qla27xx_read32()
77 static inline void (*qla27xx_read_vector(uint width))(void __iomem*, void *, ulong *) in qla27xx_read_vector()
87 uint offset, void *buf, ulong *len) in qla27xx_read_reg()
108 ulong *len) in qla27xx_read_window()
111 void (*readn)(void __iomem*, void *, ulong *) = qla27xx_read_vector(width); in qla27xx_read_window()
[all …]
/linux-6.6.21/arch/powerpc/kernel/
Dkvm.c74 flush_icache_range((ulong)inst, (ulong)inst + 4); in kvm_patch_ins()
125 if ((ulong)inst < (ulong)&__end_interrupts) in kvm_patch_ins_b()
160 ulong next_inst; in kvm_patch_ins_mtmsrd()
167 distance_start = (ulong)p - (ulong)inst; in kvm_patch_ins_mtmsrd()
168 next_inst = ((ulong)inst + 4); in kvm_patch_ins_mtmsrd()
169 distance_end = next_inst - (ulong)&p[kvm_emulate_mtmsrd_branch_offs]; in kvm_patch_ins_mtmsrd()
195 flush_icache_range((ulong)p, (ulong)p + kvm_emulate_mtmsrd_len * 4); in kvm_patch_ins_mtmsrd()
213 ulong next_inst; in kvm_patch_ins_mtmsr()
220 distance_start = (ulong)p - (ulong)inst; in kvm_patch_ins_mtmsr()
221 next_inst = ((ulong)inst + 4); in kvm_patch_ins_mtmsr()
[all …]
/linux-6.6.21/drivers/block/aoe/
Daoe.h108 ulong nframesout;
122 ulong waited;
123 ulong waited_total;
134 ulong lost;
149 ulong falloc; /* number of allocated frames */
158 ulong sysminor;
159 ulong aoemajor;
168 ulong ref;
186 ulong maxbcnt;
190 ulong ntargets; /* number of allocated aoetgt pointers */
[all …]
Daoedev.c41 minor_get_dyn(ulong *sysminor) in minor_get_dyn()
43 ulong flags; in minor_get_dyn()
44 ulong n; in minor_get_dyn()
60 minor_get_static(ulong *sysminor, ulong aoemaj, int aoemin) in minor_get_static()
62 ulong flags; in minor_get_static()
63 ulong n; in minor_get_static()
103 minor_get(ulong *sysminor, ulong aoemaj, int aoemin) in minor_get()
112 minor_free(ulong minor) in minor_free()
114 ulong flags; in minor_free()
140 ulong flags; in aoedev_put()
[all …]
/linux-6.6.21/arch/riscv/kernel/
Dirq.c37 DEFINE_PER_CPU(ulong *, irq_stack_ptr);
43 ulong *p; in init_irq_stacks()
52 DEFINE_PER_CPU_ALIGNED(ulong [IRQ_STACK_SIZE/sizeof(ulong)], irq_stack);
68 ulong *sp = per_cpu(irq_stack_ptr, smp_processor_id()) in do_softirq_own_stack()
69 + IRQ_STACK_SIZE/sizeof(ulong); in do_softirq_own_stack()
Dtraps_misaligned.c133 (ulong *)((ulong)(regs) + REG_OFFSET(insn, pos))
182 DECLARE_UNPRIVILEGED_LOAD_FUNCTION(ulong, ld) in DECLARE_UNPRIVILEGED_LOAD_FUNCTION()
185 DECLARE_UNPRIVILEGED_LOAD_FUNCTION(ulong, lw) in DECLARE_UNPRIVILEGED_LOAD_FUNCTION()
200 static inline ulong get_insn(ulong mepc)
202 register ulong __mepc asm ("a2") = mepc;
203 ulong val, rvc_mask = 3, tmp;
234 ulong data_ulong;
/linux-6.6.21/arch/riscv/kvm/
Dvcpu_insn.c119 ((ulong *)((ulong)(regs) + REG_OFFSET(insn, pos)))
148 int (*func)(struct kvm_vcpu *vcpu, struct kvm_run *run, ulong insn);
152 ulong insn) in truly_illegal_insn()
168 ulong insn) in truly_virtual_insn()
197 static int wfi_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, ulong insn) in wfi_insn()
232 ulong insn; in kvm_riscv_vcpu_csr_return()
250 static int csr_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, ulong insn) in csr_insn()
255 ulong rs1_val = GET_RS1(insn, &vcpu->arch.guest_context); in csr_insn()
257 ulong val = 0, wr_mask = 0, new_val = 0; in csr_insn()
371 ulong insn) in system_opcode_insn()
[all …]
/linux-6.6.21/arch/powerpc/kvm/
Dbooke.h75 int kvmppc_booke_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, ulong *spr_val);
76 int kvmppc_booke_emulate_mtspr(struct kvm_vcpu *vcpu, int sprn, ulong spr_val);
100 ulong spr_val);
102 ulong *spr_val);
104 ulong spr_val);
106 ulong *spr_val);
Dbook3s_paired_singles.c155 static void kvmppc_inject_pf(struct kvm_vcpu *vcpu, ulong eaddr, bool is_store) in kvmppc_inject_pf()
173 int rs, ulong addr, int ls_type) in kvmppc_emulate_fpr_load()
217 int rs, ulong addr, int ls_type) in kvmppc_emulate_fpr_store()
263 int rs, ulong addr, bool w, int i) in kvmppc_emulate_psq_load()
306 int rs, ulong addr, bool w, int i) in kvmppc_emulate_psq_store()
680 ulong addr = ax_ra ? kvmppc_get_gpr(vcpu, ax_ra) : 0; in kvmppc_emulate_paired_single()
690 ulong addr = kvmppc_get_gpr(vcpu, ax_ra); in kvmppc_emulate_paired_single()
703 ulong addr = ax_ra ? kvmppc_get_gpr(vcpu, ax_ra) : 0; in kvmppc_emulate_paired_single()
713 ulong addr = kvmppc_get_gpr(vcpu, ax_ra); in kvmppc_emulate_paired_single()
733 ulong addr = ax_ra ? kvmppc_get_gpr(vcpu, ax_ra) : 0; in kvmppc_emulate_paired_single()
[all …]
Dbook3s_emulate.c299 ulong rs_val = kvmppc_get_gpr(vcpu, rs); in kvmppc_core_emulate_op_pr()
301 ulong new_msr = kvmppc_get_msr(vcpu); in kvmppc_core_emulate_op_pr()
350 ulong addr = kvmppc_get_gpr(vcpu, rb); in kvmppc_core_emulate_op_pr()
358 ulong cmd = kvmppc_get_gpr(vcpu, 3); in kvmppc_core_emulate_op_pr()
372 ulong gpr = kvmppc_get_gpr(vcpu, 4 + i); in kvmppc_core_emulate_op_pr()
409 ulong b, t; in kvmppc_core_emulate_op_pr()
410 ulong cr = kvmppc_get_cr(vcpu) & ~CR0_MASK; in kvmppc_core_emulate_op_pr()
426 ulong t, rb_val; in kvmppc_core_emulate_op_pr()
437 ulong t, rb_val; in kvmppc_core_emulate_op_pr()
449 ulong rb_val = kvmppc_get_gpr(vcpu, rb); in kvmppc_core_emulate_op_pr()
[all …]
Dtrace_pr.h32 TP_PROTO(int rflags, ulong hpteg, ulong va, kvm_pfn_t hpaddr,
70 __field( ulong, eaddr )
72 __field( ulong, raddr )
99 __field( ulong, eaddr )
101 __field( ulong, raddr )
Dbook3s_32_mmu_host.c46 static ulong htab;
110 ulong pteg = htab; in kvmppc_mmu_get_pteg()
243 orig_pte->eaddr, (ulong)pteg, vpn, in kvmppc_mmu_map_page()
246 pte->slot = (ulong)&pteg[rr]; in kvmppc_mmu_map_page()
302 int kvmppc_mmu_map_segment(struct kvm_vcpu *vcpu, ulong eaddr) in kvmppc_mmu_map_segment()
360 ulong sdr1; in kvmppc_mmu_init_pr()
380 htab = (ulong)__va(sdr1 & 0xffff0000); in kvmppc_mmu_init_pr()
Dbook3s.c111 ulong crit_raw; in kvmppc_critical_section()
112 ulong crit_r1; in kvmppc_critical_section()
191 void kvmppc_core_queue_machine_check(struct kvm_vcpu *vcpu, ulong srr1_flags) in kvmppc_core_queue_machine_check()
204 void kvmppc_core_queue_program(struct kvm_vcpu *vcpu, ulong srr1_flags) in kvmppc_core_queue_program()
211 void kvmppc_core_queue_fpunavail(struct kvm_vcpu *vcpu, ulong srr1_flags) in kvmppc_core_queue_fpunavail()
217 void kvmppc_core_queue_vec_unavail(struct kvm_vcpu *vcpu, ulong srr1_flags) in kvmppc_core_queue_vec_unavail()
223 void kvmppc_core_queue_vsx_unavail(struct kvm_vcpu *vcpu, ulong srr1_flags) in kvmppc_core_queue_vsx_unavail()
281 void kvmppc_core_queue_data_storage(struct kvm_vcpu *vcpu, ulong srr1_flags, in kvmppc_core_queue_data_storage()
282 ulong dar, ulong dsisr) in kvmppc_core_queue_data_storage()
290 void kvmppc_core_queue_inst_storage(struct kvm_vcpu *vcpu, ulong srr1_flags) in kvmppc_core_queue_inst_storage()
[all …]
/linux-6.6.21/drivers/block/
Damiflop.c234 module_param(fd_def_df0, ulong, 0);
626 ulong id = 0; in fd_get_drive_id()
667 … printk(KERN_NOTICE "fd: drive 0 didn't identify, setting default %08lx\n", (ulong)fd_def_df0); in fd_get_drive_id()
733 if ((ulong)unit[drive].track >= unit[drive].type->precomp2) in raw_write()
735 else if ((ulong)unit[drive].track >= unit[drive].type->precomp1) in raw_write()
788 return (ulong)ptr; in scan_sync()
808 ulong *odd, *even; in decode()
822 return (ulong)raw; in decode()
853 raw = decode ((ulong *)&hdr.magic, (ulong *)raw, 4); in amiga_read()
854 raw = decode ((ulong *)&hdr.labels, (ulong *)raw, 16); in amiga_read()
[all …]
/linux-6.6.21/arch/x86/kvm/
Dkvm_cache_regs.h151 static inline ulong kvm_read_cr0_bits(struct kvm_vcpu *vcpu, ulong mask) in kvm_read_cr0_bits()
153 ulong tmask = mask & KVM_POSSIBLE_CR0_GUEST_BITS; in kvm_read_cr0_bits()
168 static inline ulong kvm_read_cr0(struct kvm_vcpu *vcpu) in kvm_read_cr0()
173 static inline ulong kvm_read_cr4_bits(struct kvm_vcpu *vcpu, ulong mask) in kvm_read_cr4_bits()
175 ulong tmask = mask & KVM_POSSIBLE_CR4_GUEST_BITS; in kvm_read_cr4_bits()
190 static inline ulong kvm_read_cr3(struct kvm_vcpu *vcpu) in kvm_read_cr3()
197 static inline ulong kvm_read_cr4(struct kvm_vcpu *vcpu) in kvm_read_cr4()
Dkvm_emulate.h98 ulong (*read_gpr)(struct x86_emulate_ctxt *ctxt, unsigned reg);
105 void (*write_gpr)(struct x86_emulate_ctxt *ctxt, unsigned reg, ulong val);
177 void (*invlpg)(struct x86_emulate_ctxt *ctxt, ulong addr);
197 ulong (*get_cr)(struct x86_emulate_ctxt *ctxt, int cr);
198 int (*set_cr)(struct x86_emulate_ctxt *ctxt, int cr, ulong val);
200 void (*get_dr)(struct x86_emulate_ctxt *ctxt, int dr, ulong *dest);
201 int (*set_dr)(struct x86_emulate_ctxt *ctxt, int dr, ulong value);
241 ulong ea;
510 static inline ulong reg_read(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_read()
522 static inline ulong *reg_write(struct x86_emulate_ctxt *ctxt, unsigned nr) in reg_write()
[all …]
/linux-6.6.21/drivers/net/fddi/skfp/h/
Dtargetos.h126 ulong SharedMemSize;
127 ulong SharedMemHeap;
131 ulong QueueSkb;
134 ulong MaxFrameSize;
/linux-6.6.21/drivers/video/fbdev/
Dn411.c196 module_param_hw(dio_addr, ulong, ioport, 0);
198 module_param_hw(cio_addr, ulong, ioport, 0);
200 module_param_hw(c2io_addr, ulong, ioport, 0);
202 module_param(splashval, ulong, 0);
/linux-6.6.21/tools/testing/selftests/kvm/
Dsteal_time.c75 (ulong)st_gva[i] | KVM_STEAL_RESERVED_MASK); in steal_time_init()
78 vcpu_set_msr(vcpu, MSR_KVM_STEAL_TIME, (ulong)st_gva[i] | KVM_MSR_ENABLED); in steal_time_init()
83 struct kvm_steal_time *st = addr_gva2hva(vm, (ulong)st_gva[vcpu_idx]); in steal_time_dump()
143 GUEST_ASSERT_EQ(status, (ulong)st_gva[cpu]); in guest_code()
185 st_ipa = (ulong)st_gva[i] | 1; in steal_time_init()
189 st_ipa = (ulong)st_gva[i]; in steal_time_init()
198 struct st_time *st = addr_gva2hva(vm, (ulong)st_gva[vcpu_idx]); in steal_time_dump()

12345678910>>...14