Home
last modified time | relevance | path

Searched refs:ei (Results 1 – 16 of 16) sorted by relevance

/arch/x86/boot/
Dedd.c38 static u32 read_mbr_sig(u8 devno, struct edd_info *ei, u32 *mbrsig) in read_mbr_sig() argument
46 sector_size = ei->params.bytes_per_sector; in read_mbr_sig()
73 static int get_edd_info(u8 devno, struct edd_info *ei) in get_edd_info() argument
77 memset(ei, 0, sizeof(*ei)); in get_edd_info()
93 ei->device = devno; in get_edd_info()
94 ei->version = oreg.ah; /* EDD version number */ in get_edd_info()
95 ei->interface_support = oreg.cx; /* EDD functionality subsets */ in get_edd_info()
99 ei->params.length = sizeof(ei->params); in get_edd_info()
101 ireg.si = (size_t)&ei->params; in get_edd_info()
112 ei->legacy_max_cylinder = oreg.ch + ((oreg.cl & 0xc0) << 2); in get_edd_info()
[all …]
/arch/powerpc/boot/
Dmain.c29 struct elf_info ei; in prep_kernel() local
42 if (!parse_elf64(elfheader, &ei) && !parse_elf32(elfheader, &ei)) in prep_kernel()
53 printf("Allocating 0x%lx bytes for kernel...\n\r", ei.memsize); in prep_kernel()
56 addr = platform_ops.vmlinux_alloc(ei.memsize); in prep_kernel()
63 if ((unsigned long)_start < ei.loadsize) in prep_kernel()
66 _start, ei.loadsize); in prep_kernel()
68 if ((unsigned long)_end < ei.memsize) in prep_kernel()
74 memcpy(addr, vmlinuz_addr + ei.elfoffset, ei.loadsize); in prep_kernel()
76 ei.loadsize); in prep_kernel()
85 addr, ei.loadsize, ei.elfoffset); in prep_kernel()
[all …]
/arch/x86/boot/compressed/
Defi.c19 struct efi_info *ei; in efi_get_type() local
23 ei = &bp->efi_info; in efi_get_type()
24 sig = (char *)&ei->efi_loader_signature; in efi_get_type()
41 if (ei->efi_systab_hi || ei->efi_memmap_hi) { in efi_get_type()
61 struct efi_info *ei; in efi_get_system_table() local
65 ei = &bp->efi_info; in efi_get_system_table()
67 sys_tbl_pa = ei->efi_systab | ((__u64)ei->efi_systab_hi << 32); in efi_get_system_table()
69 sys_tbl_pa = ei->efi_systab; in efi_get_system_table()
/arch/x86/mm/
Dnuma_emulation.c46 static int __init emu_setup_memblk(struct numa_meminfo *ei, in emu_setup_memblk() argument
50 struct numa_memblk *eb = &ei->blk[ei->nr_blks]; in emu_setup_memblk()
53 if (ei->nr_blks >= NR_NODE_MEMBLKS) { in emu_setup_memblk()
58 ei->nr_blks++; in emu_setup_memblk()
83 static int __init split_nodes_interleave(struct numa_meminfo *ei, in split_nodes_interleave() argument
173 ret = emu_setup_memblk(ei, pi, nid++ % nr_nodes, in split_nodes_interleave()
216 static int __init split_nodes_size_interleave_uniform(struct numa_meminfo *ei, in split_nodes_size_interleave_uniform() argument
310 ret = emu_setup_memblk(ei, pi, nid++ % MAX_NUMNODES, in split_nodes_size_interleave_uniform()
320 static int __init split_nodes_size_interleave(struct numa_meminfo *ei, in split_nodes_size_interleave() argument
324 return split_nodes_size_interleave_uniform(ei, pi, addr, max_addr, size, in split_nodes_size_interleave()
[all …]
/arch/x86/kernel/
Dcrash.c250 struct e820_entry ei; in memmap_entry_callback() local
252 ei.addr = res->start; in memmap_entry_callback()
253 ei.size = resource_size(res); in memmap_entry_callback()
254 ei.type = cmd->type; in memmap_entry_callback()
255 add_e820_entry(params, &ei); in memmap_entry_callback()
281 struct e820_entry ei; in crash_setup_memmap_entries() local
317 ei.addr = crashk_low_res.start; in crash_setup_memmap_entries()
318 ei.size = resource_size(&crashk_low_res); in crash_setup_memmap_entries()
319 ei.type = E820_TYPE_RAM; in crash_setup_memmap_entries()
320 add_e820_entry(params, &ei); in crash_setup_memmap_entries()
[all …]
Dkexec-bzimage64.c141 struct efi_info *ei = &params->efi_info; in setup_efi_info_memmap() local
148 ei->efi_memmap = efi_map_phys_addr & 0xffffffff; in setup_efi_info_memmap()
149 ei->efi_memmap_hi = efi_map_phys_addr >> 32; in setup_efi_info_memmap()
150 ei->efi_memmap_size = efi_map_sz; in setup_efi_info_memmap()
185 struct efi_info *ei = &params->efi_info; in setup_efi_state() local
194 ei->efi_loader_signature = current_ei->efi_loader_signature; in setup_efi_state()
195 ei->efi_systab = current_ei->efi_systab; in setup_efi_state()
196 ei->efi_systab_hi = current_ei->efi_systab_hi; in setup_efi_state()
198 ei->efi_memdesc_version = current_ei->efi_memdesc_version; in setup_efi_state()
199 ei->efi_memdesc_size = efi_get_runtime_map_desc_size(); in setup_efi_state()
/arch/powerpc/platforms/cell/spufs/
Dinode.c50 struct spufs_inode_info *ei; in spufs_alloc_inode() local
52 ei = kmem_cache_alloc(spufs_inode_cache, GFP_KERNEL); in spufs_alloc_inode()
53 if (!ei) in spufs_alloc_inode()
56 ei->i_gang = NULL; in spufs_alloc_inode()
57 ei->i_ctx = NULL; in spufs_alloc_inode()
58 ei->i_openers = 0; in spufs_alloc_inode()
60 return &ei->vfs_inode; in spufs_alloc_inode()
71 struct spufs_inode_info *ei = p; in spufs_init_once() local
73 inode_init_once(&ei->vfs_inode); in spufs_init_once()
138 struct spufs_inode_info *ei = SPUFS_I(inode); in spufs_evict_inode() local
[all …]
/arch/riscv/kvm/
Daia_imsic.c250 u32 i, imin, imax, ei, max_msi; in imsic_mrif_topei() local
257 for (ei = 0; ei < nr_eix; ei++) { in imsic_mrif_topei()
258 eix = &mrif->eix[ei]; in imsic_mrif_topei()
270 imin = ei * BITS_PER_TYPE(u64); in imsic_mrif_topei()
315 unsigned long *ei, num, old_val = 0; in imsic_mrif_rmw() local
343 ei = (pend) ? &eix->eip[0] : &eix->eie[0]; in imsic_mrif_rmw()
345 ei = (pend) ? &eix->eip[num & 0x1] : &eix->eie[num & 0x1]; in imsic_mrif_rmw()
352 old_val = imsic_mrif_atomic_rmw(mrif, ei, new_val, wr_mask); in imsic_mrif_rmw()
/arch/parisc/math-emu/
Ddriver.c32 unsigned int ei : 26; member
/arch/s390/include/asm/
Dtimex.h25 __uint128_t ei : 8; /* epoch index */ member
/arch/arc/include/asm/
Dptrace.h89 unsigned long ei, ldi, jli; member
/arch/sparc/vdso/
Dvma.c252 struct vdso_elfinfo ei; in init_vdso_image() local
256 int err = stick_patch(image, &ei, elf64); in init_vdso_image()
/arch/ia64/include/asm/
Dprocessor.h138 __u64 ei : 2; member
/arch/arc/kernel/
Dptrace.c87 REG_OFFSET_NAME(ei),
/arch/mips/include/asm/
Dasmmacro.h49 ei
/arch/s390/kvm/
Dkvm-s390.c1323 gtod->epoch_idx = clk.ei + kvm->arch.epdx; in kvm_s390_get_tod_clock()
4554 kvm->arch.epdx = gtod->epoch_idx - clk.ei; in __kvm_s390_set_tod_clock()