/arch/x86/boot/ |
D | edd.c | 40 static u32 read_mbr_sig(u8 devno, struct edd_info *ei, u32 *mbrsig) in read_mbr_sig() argument 48 sector_size = ei->params.bytes_per_sector; in read_mbr_sig() 75 static int get_edd_info(u8 devno, struct edd_info *ei) in get_edd_info() argument 79 memset(ei, 0, sizeof *ei); in get_edd_info() 95 ei->device = devno; in get_edd_info() 96 ei->version = oreg.ah; /* EDD version number */ in get_edd_info() 97 ei->interface_support = oreg.cx; /* EDD functionality subsets */ in get_edd_info() 101 ei->params.length = sizeof(ei->params); in get_edd_info() 103 ireg.si = (size_t)&ei->params; in get_edd_info() 114 ei->legacy_max_cylinder = oreg.ch + ((oreg.cl & 0xc0) << 2); in get_edd_info() [all …]
|
/arch/powerpc/boot/ |
D | main.c | 33 struct elf_info ei; in prep_kernel() local 46 if (!parse_elf64(elfheader, &ei) && !parse_elf32(elfheader, &ei)) in prep_kernel() 57 printf("Allocating 0x%lx bytes for kernel...\n\r", ei.memsize); in prep_kernel() 60 addr = platform_ops.vmlinux_alloc(ei.memsize); in prep_kernel() 67 if ((unsigned long)_start < ei.loadsize) in prep_kernel() 70 _start, ei.loadsize); in prep_kernel() 72 if ((unsigned long)_end < ei.memsize) in prep_kernel() 78 memcpy(addr, vmlinuz_addr + ei.elfoffset, ei.loadsize); in prep_kernel() 80 ei.loadsize); in prep_kernel() 89 addr, ei.loadsize, ei.elfoffset); in prep_kernel() [all …]
|
/arch/x86/mm/ |
D | numa_emulation.c | 46 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() 207 static int __init split_nodes_size_interleave(struct numa_meminfo *ei, in split_nodes_size_interleave() argument 272 ret = emu_setup_memblk(ei, pi, nid++ % MAX_NUMNODES, in split_nodes_size_interleave() 327 static struct numa_meminfo ei __initdata; in numa_emulation() 338 memset(&ei, 0, sizeof(ei)); in numa_emulation() [all …]
|
/arch/x86/kernel/ |
D | crash.c | 525 struct e820_entry ei; in memmap_entry_callback() local 527 ei.addr = start; in memmap_entry_callback() 528 ei.size = end - start + 1; in memmap_entry_callback() 529 ei.type = cmd->type; in memmap_entry_callback() 530 add_e820_entry(params, &ei); in memmap_entry_callback() 564 struct e820_entry ei; in crash_setup_memmap_entries() local 576 ei.addr = image->arch.backup_src_start; in crash_setup_memmap_entries() 577 ei.size = image->arch.backup_src_sz; in crash_setup_memmap_entries() 578 ei.type = E820_TYPE_RAM; in crash_setup_memmap_entries() 579 add_e820_entry(params, &ei); in crash_setup_memmap_entries() [all …]
|
D | kexec-bzimage64.c | 123 struct efi_info *ei = ¶ms->efi_info; in setup_efi_info_memmap() local 130 ei->efi_memmap = efi_map_phys_addr & 0xffffffff; in setup_efi_info_memmap() 131 ei->efi_memmap_hi = efi_map_phys_addr >> 32; in setup_efi_info_memmap() 132 ei->efi_memmap_size = efi_map_sz; in setup_efi_info_memmap() 168 struct efi_info *ei = ¶ms->efi_info; in setup_efi_state() local 185 ei->efi_loader_signature = current_ei->efi_loader_signature; in setup_efi_state() 186 ei->efi_systab = current_ei->efi_systab; in setup_efi_state() 187 ei->efi_systab_hi = current_ei->efi_systab_hi; in setup_efi_state() 189 ei->efi_memdesc_version = current_ei->efi_memdesc_version; in setup_efi_state() 190 ei->efi_memdesc_size = efi_get_runtime_map_desc_size(); in setup_efi_state()
|
/arch/arm/mach-omap1/ |
D | lcd_dma.c | 140 long ei, fi; in set_b1_regs() local 178 ei = PIXSTEP(0, 0, 1, 0); in set_b1_regs() 183 ei = PIXSTEP(1, 0, 0, 0); in set_b1_regs() 193 ei = PIXSTEP(0, 1, 0, 0); in set_b1_regs() 198 ei = PIXSTEP(0, 1, 0, 0); in set_b1_regs() 208 ei = PIXSTEP(1, 0, 0, 0); in set_b1_regs() 213 ei = PIXSTEP(0, 0, 1, 0); in set_b1_regs() 223 ei = PIXSTEP(0, 0, 0, 1); in set_b1_regs() 228 ei = PIXSTEP(0, 0, 0, 1); in set_b1_regs() 280 omap_writew(ei, OMAP1610_DMA_LCD_SRC_EI_B1); in set_b1_regs()
|
/arch/powerpc/platforms/cell/spufs/ |
D | inode.c | 61 struct spufs_inode_info *ei; in spufs_alloc_inode() local 63 ei = kmem_cache_alloc(spufs_inode_cache, GFP_KERNEL); in spufs_alloc_inode() 64 if (!ei) in spufs_alloc_inode() 67 ei->i_gang = NULL; in spufs_alloc_inode() 68 ei->i_ctx = NULL; in spufs_alloc_inode() 69 ei->i_openers = 0; in spufs_alloc_inode() 71 return &ei->vfs_inode; in spufs_alloc_inode() 88 struct spufs_inode_info *ei = p; in spufs_init_once() local 90 inode_init_once(&ei->vfs_inode); in spufs_init_once() 154 struct spufs_inode_info *ei = SPUFS_I(inode); in spufs_evict_inode() local [all …]
|
/arch/parisc/math-emu/ |
D | driver.c | 45 unsigned int ei : 26; member
|
/arch/arc/include/asm/ |
D | ptrace.h | 104 unsigned long ei, ldi, jli; member
|
/arch/ia64/include/asm/ |
D | processor.h | 138 __u64 ei : 2; member
|
/arch/mips/include/asm/ |
D | asmmacro.h | 49 ei
|