Home
last modified time | relevance | path

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

12345678910>>...14

/linux-6.1.9/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.1.9/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.h89 extern int kvmppc_ld(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr,
91 extern int kvmppc_st(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr,
114 extern int kvmppc_xlate(struct kvm_vcpu *vcpu, ulong eaddr,
130 extern void kvmppc_core_queue_machine_check(struct kvm_vcpu *vcpu, ulong flags);
132 extern void kvmppc_core_queue_program(struct kvm_vcpu *vcpu, ulong flags);
141 extern void kvmppc_core_queue_dtlb_miss(struct kvm_vcpu *vcpu, ulong dear_flags,
142 ulong esr_flags);
144 ulong dear_flags,
145 ulong esr_flags);
148 ulong esr_flags);
[all …]
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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()
229 ulong insn; in kvm_riscv_vcpu_csr_return()
247 static int csr_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, ulong insn) in csr_insn()
252 ulong rs1_val = GET_RS1(insn, &vcpu->arch.guest_context); in csr_insn()
254 ulong val = 0, wr_mask = 0, new_val = 0; in csr_insn()
368 ulong insn) in system_opcode_insn()
[all …]
/linux-6.1.9/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()
678 ulong addr = ax_ra ? kvmppc_get_gpr(vcpu, ax_ra) : 0; in kvmppc_emulate_paired_single()
688 ulong addr = kvmppc_get_gpr(vcpu, ax_ra); in kvmppc_emulate_paired_single()
701 ulong addr = ax_ra ? kvmppc_get_gpr(vcpu, ax_ra) : 0; in kvmppc_emulate_paired_single()
711 ulong addr = kvmppc_get_gpr(vcpu, ax_ra); in kvmppc_emulate_paired_single()
731 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_mmu_hpte.c150 static void kvmppc_mmu_pte_flush_page(struct kvm_vcpu *vcpu, ulong guest_ea) in kvmppc_mmu_pte_flush_page()
169 static void kvmppc_mmu_pte_flush_long(struct kvm_vcpu *vcpu, ulong guest_ea) in kvmppc_mmu_pte_flush_long()
189 void kvmppc_mmu_pte_flush(struct kvm_vcpu *vcpu, ulong guest_ea, ulong ea_mask) in kvmppc_mmu_pte_flush()
298 void kvmppc_mmu_pte_pflush(struct kvm_vcpu *vcpu, ulong pa_start, ulong pa_end) in kvmppc_mmu_pte_pflush()
/linux-6.1.9/arch/x86/kvm/
Dkvm_cache_regs.h139 static inline ulong kvm_read_cr0_bits(struct kvm_vcpu *vcpu, ulong mask) in kvm_read_cr0_bits()
141 ulong tmask = mask & KVM_POSSIBLE_CR0_GUEST_BITS; in kvm_read_cr0_bits()
148 static inline ulong kvm_read_cr0(struct kvm_vcpu *vcpu) in kvm_read_cr0()
153 static inline ulong kvm_read_cr4_bits(struct kvm_vcpu *vcpu, ulong mask) in kvm_read_cr4_bits()
155 ulong tmask = mask & KVM_POSSIBLE_CR4_GUEST_BITS; in kvm_read_cr4_bits()
162 static inline ulong kvm_read_cr3(struct kvm_vcpu *vcpu) in kvm_read_cr3()
169 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);
187 void (*invlpg)(struct x86_emulate_ctxt *ctxt, ulong addr);
207 ulong (*get_cr)(struct x86_emulate_ctxt *ctxt, int cr);
208 int (*set_cr)(struct x86_emulate_ctxt *ctxt, int cr, ulong val);
210 void (*get_dr)(struct x86_emulate_ctxt *ctxt, int dr, ulong *dest);
211 int (*set_dr)(struct x86_emulate_ctxt *ctxt, int dr, ulong value);
255 ulong ea;
/linux-6.1.9/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.1.9/drivers/net/fddi/skfp/h/
Dtargetos.h126 ulong SharedMemSize;
127 ulong SharedMemHeap;
131 ulong QueueSkb;
134 ulong MaxFrameSize;
/linux-6.1.9/arch/riscv/kernel/
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.1.9/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.1.9/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(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()
/linux-6.1.9/drivers/scsi/snic/
Dsnic_fwint.h89 ulong init_ctx; /* initiator context */
101 u16 sg_cnt, ulong ctx) in snic_io_hdr_enc()
116 u32 *hid, ulong *ctx) in snic_io_hdr_dec()
403 (2 * sizeof(u64)) - sizeof(ulong)))
438 ulong req_pa;

12345678910>>...14