Home
last modified time | relevance | path

Searched refs:map_size (Results 1 – 25 of 26) sorted by relevance

12

/linux-2.4.37.9/drivers/mtd/maps/
Dich2rom.c155 unsigned long map_size; in ich2rom_init_one() local
209 map_size = ICH2_FWH_REGION_SIZE; in ich2rom_init_one()
210 while(!info->mtd && (map_size > 0)) { in ich2rom_init_one()
211 info->map.size = map_size; in ich2rom_init_one()
213 map_size -= 512*1024; in ich2rom_init_one()
/linux-2.4.37.9/drivers/pcmcia/
Dcistpl.c108 s->cap.map_size); in set_cis_map()
143 mem->card_start = addr & ~(s->cap.map_size-1); in read_cis_mem()
146 sys = s->cis_virt + (addr & (s->cap.map_size-1)); in read_cis_mem()
148 if (sys == s->cis_virt+s->cap.map_size) break; in read_cis_mem()
151 mem->card_start += s->cap.map_size; in read_cis_mem()
189 mem->card_start = addr & ~(s->cap.map_size-1); in write_cis_mem()
192 sys = s->cis_virt + (addr & (s->cap.map_size-1)); in write_cis_mem()
194 if (sys == s->cis_virt+s->cap.map_size) break; in write_cis_mem()
197 mem->card_start += s->cap.map_size; in write_cis_mem()
219 vs->cis_mem.sys_stop = base+vs->cap.map_size-1; in cis_readable()
[all …]
Dsibyte_generic.c110 map_size: 0x4000000, /* 64MB minimum window size (What *should* this be?)*/
271 cap->irq_mask, cap->map_size); in sb1250pc_inquire_socket()
Dau1000_generic.c417 cap->map_size=MAP_SIZE; in au1000_pcmcia_inquire_socket()
Dvrc4173_cardu.c133 socket->cap.map_size = 0x1000; in cardu_init()
Dcs.c1952 req->Size = s->cap.map_size; in pcmcia_request_window()
1955 req->Size : s->cap.map_size); in pcmcia_request_window()
1956 if (req->Size & (s->cap.map_size-1)) in pcmcia_request_window()
Di82092.c203 sockets[i].cap.map_size = 0x1000; in i82092aa_pci_probe()
Dsa1100_generic.c376 cap->map_size = PAGE_SIZE; in sa1100_pcmcia_inquire_socket()
Dyenta.c575 socket->cap.map_size = 0x1000; in yenta_get_socket_capabilities()
/linux-2.4.37.9/drivers/video/
Digafb.c247 unsigned int size, page, map_size = 0; in igafb_mmap() local
261 map_size = 0; in igafb_mmap()
272 map_size = fb->mmap_map[i].size - (offset - start); in igafb_mmap()
276 if (!map_size) { in igafb_mmap()
280 if (page + map_size > size) in igafb_mmap()
281 map_size = size - page; in igafb_mmap()
287 map_size, vma->vm_page_prot)) in igafb_mmap()
290 page += map_size; in igafb_mmap()
293 if (!map_size) in igafb_mmap()
Dsbusfb.c182 unsigned int size, page, r, map_size; in sbusfb_mmap() local
199 map_size = 0; in sbusfb_mmap()
202 map_size = sbusfb_mmapsize(fb,fb->mmap_map[i].size); in sbusfb_mmap()
211 if (!map_size){ in sbusfb_mmap()
215 if (page + map_size > size) in sbusfb_mmap()
216 map_size = size - page; in sbusfb_mmap()
217 …r = io_remap_page_range (vma->vm_start+page, map_offset, map_size, vma->vm_page_prot, fb->iospace); in sbusfb_mmap()
220 page += map_size; in sbusfb_mmap()
Dsa1100fb.h80 u_int map_size; member
Dsa1100fb.c2190 fbi->map_size = PAGE_ALIGN(fbi->fb.fix.smem_len + PAGE_SIZE); in sa1100fb_map_video_memory()
2191 fbi->map_cpu = consistent_alloc(GFP_KERNEL, fbi->map_size, in sa1100fb_map_video_memory()
/linux-2.4.37.9/drivers/sbus/char/
Dvfc_dev.c621 unsigned int map_size, ret, map_offset; in vfc_mmap() local
628 map_size = vma->vm_end - vma->vm_start; in vfc_mmap()
629 if(map_size > sizeof(struct vfc_regs)) in vfc_mmap()
630 map_size = sizeof(struct vfc_regs); in vfc_mmap()
635 ret = io_remap_page_range(vma->vm_start, map_offset, map_size, in vfc_mmap()
/linux-2.4.37.9/fs/
Dbinfmt_aout.c338 unsigned long text_addr, map_size; in load_aout_binary() local
345 map_size = ex.a_text+ex.a_data + PAGE_SIZE - 1; in load_aout_binary()
348 map_size = ex.a_text+ex.a_data; in load_aout_binary()
351 error = do_brk(text_addr & PAGE_MASK, map_size); in load_aout_binary()
/linux-2.4.37.9/include/pcmcia/
Dss.h56 u_int map_size; member
/linux-2.4.37.9/arch/ia64/mm/
Dinit.c613 unsigned long map_size; in paging_init() local
614 map_size = PAGE_ALIGN(max_low_pfn*sizeof(struct page)); in paging_init()
615 vmalloc_end -= map_size; in paging_init()
/linux-2.4.37.9/mm/
Dpage_alloc.c766 unsigned long map_size; in free_area_init_core() local
792 map_size = (totalpages + 1)*sizeof(struct page); in free_area_init_core()
794 lmem_map = (struct page *) alloc_bootmem_node(pgdat, map_size); in free_area_init_core()
/linux-2.4.37.9/fs/xfs/
Dxfs_buf_item.c739 int map_size; in xfs_buf_item_init() local
764 map_size = (int)((chunks + NBWORD) >> BIT_TO_WORD_SHIFT); in xfs_buf_item_init()
775 bip->bli_format.blf_map_size = map_size; in xfs_buf_item_init()
Dxfs_dir2_leaf.c796 int map_size; /* total entries in *map */ in xfs_dir2_leaf_getdents() local
828 map_size = in xfs_dir2_leaf_getdents()
831 map = kmem_alloc(map_size * sizeof(*map), KM_SLEEP); in xfs_dir2_leaf_getdents()
899 nmap = map_size - map_valid; in xfs_dir2_leaf_getdents()
921 if (nmap == map_size - map_valid) in xfs_dir2_leaf_getdents()
1151 kmem_free(map, map_size * sizeof(*map)); in xfs_dir2_leaf_getdents()
Dxfs_log_recover.c1820 unsigned int map_size = 0; in xlog_recover_do_inode_buffer() local
1825 map_size = buf_f->blf_map_size; in xlog_recover_do_inode_buffer()
1831 map_size = obuf_f->blf_map_size; in xlog_recover_do_inode_buffer()
1858 bit = xfs_next_bit(data_map, map_size, bit); in xlog_recover_do_inode_buffer()
1868 nbits = xfs_contig_bits(data_map, map_size, in xlog_recover_do_inode_buffer()
1933 unsigned int map_size = 0; in xlog_recover_do_reg_buffer() local
1939 map_size = buf_f->blf_map_size; in xlog_recover_do_reg_buffer()
1945 map_size = obuf_f->blf_map_size; in xlog_recover_do_reg_buffer()
1951 bit = xfs_next_bit(data_map, map_size, bit); in xlog_recover_do_reg_buffer()
1954 nbits = xfs_contig_bits(data_map, map_size, bit); in xlog_recover_do_reg_buffer()
/linux-2.4.37.9/arch/ppc64/kernel/
Dprom.c2029 int l, isize, ipsize, asize, map_size, regpsize; in finish_node_interrupts() local
2082 map_size = l>>2; in finish_node_interrupts()
2090 while (map_size>0 && !found) { in finish_node_interrupts()
2097 map_size--; in finish_node_interrupts()
2104 map_size--; in finish_node_interrupts()
2107 map+=1; map_size-=1; in finish_node_interrupts()
2121 map_size -= temp_isize + temp_asize; in finish_node_interrupts()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_aops.c1172 loff_t offset, map_size; in linvfs_direct_IO() local
1212 map_size = iomap.iomap_bsize - iomap.iomap_delta; in linvfs_direct_IO()
1213 size = (size_t)min(map_size, (loff_t)length); in linvfs_direct_IO()
/linux-2.4.37.9/drivers/video/aty/
Datyfb_base.c1581 unsigned int size, page, map_size = 0; in atyfb_mmap() local
1606 map_size = 0; in atyfb_mmap()
1617 map_size = fb->mmap_map[i].size - (offset - start); in atyfb_mmap()
1621 if (!map_size) { in atyfb_mmap()
1625 if (page + map_size > size) in atyfb_mmap()
1626 map_size = size - page; in atyfb_mmap()
1632 map_size, vma->vm_page_prot)) in atyfb_mmap()
1635 page += map_size; in atyfb_mmap()
1638 if (!map_size) in atyfb_mmap()
/linux-2.4.37.9/arch/ia64/sn/io/sn2/pcibr/
Dpcibr_dvr.c3490 size_t map_size = 1ULL << 31;
3495 if ((req_size > map_size) ||
3498 (endoff > map_size)) {

12