src_pte = huge_pte_offset(src, addr); if (src_pte && !pte_none(*src_pte)) { 
if (!pte_none(*src_pte)) { 
int copy_hugetlb_page_range(struct mm_struct *dst, struct mm_struct *src,			    struct vm_area_struct *vma){	pte_t *src_pte, *dst_pte, entry;	struct page *ptepage;	unsigned long addr;	for (addr = vma->vm_start; addr < vma->vm_end; addr += HPAGE_SIZE) {		dst_pte = huge_pte_alloc(dst, addr);		if (!dst_pte)			goto nomem;		spin_lock(&src->page_table_lock);		src_pte = huge_pte_offset(src, addr);		if (src_pte && !pte_none(*src_pte)) {			entry = *src_pte;			ptepage = pte_page(entry);			get_page(ptepage);			add_mm_counter(dst, file_rss, HPAGE_SIZE / PAGE_SIZE);			set_huge_pte_at(dst, addr, dst_pte, entry);		}		spin_unlock(&src->page_table_lock);	}	return 0;nomem:	return -ENOMEM;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/c74df32c724a1652ad8399b4891bb02c9d43743a/hugetlb.c/clean/mm/hugetlb.c