Lines Matching refs:kaddr

114 	char *kaddr = page_address(page);  in ufs_check_page()  local
129 p = (struct ufs_dir_entry *)(kaddr + offs); in ufs_check_page()
179 p = (struct ufs_dir_entry *)(kaddr + offs); in ufs_check_page()
277 char *kaddr; in ufs_find_entry() local
280 kaddr = page_address(page); in ufs_find_entry()
281 de = (struct ufs_dir_entry *) kaddr; in ufs_find_entry()
282 kaddr += ufs_last_byte(dir, n) - reclen; in ufs_find_entry()
283 while ((char *) de <= kaddr) { in ufs_find_entry()
318 char *kaddr; in ufs_add_link() local
337 kaddr = page_address(page); in ufs_add_link()
338 dir_end = kaddr + ufs_last_byte(dir, n); in ufs_add_link()
339 de = (struct ufs_dir_entry *)kaddr; in ufs_add_link()
340 kaddr += PAGE_SIZE - reclen; in ufs_add_link()
341 while ((char *)de <= kaddr) { in ufs_add_link()
441 char *kaddr, *limit; in ufs_readdir() local
453 kaddr = page_address(page); in ufs_readdir()
456 offset = ufs_validate_entry(sb, kaddr, offset, chunk_mask); in ufs_readdir()
462 de = (struct ufs_dir_entry *)(kaddr+offset); in ufs_readdir()
463 limit = kaddr + ufs_last_byte(inode, n) - UFS_DIR_REC_LEN(1); in ufs_readdir()
499 char *kaddr = page_address(page); in ufs_delete_entry() local
500 unsigned from = ((char*)dir - kaddr) & ~(UFS_SB(sb)->s_uspi->s_dirblksize - 1); in ufs_delete_entry()
501 unsigned to = ((char*)dir - kaddr) + fs16_to_cpu(sb, dir->d_reclen); in ufs_delete_entry()
504 struct ufs_dir_entry *de = (struct ufs_dir_entry *) (kaddr + from); in ufs_delete_entry()
598 char *kaddr; in ufs_empty_dir() local
605 kaddr = page_address(page); in ufs_empty_dir()
606 de = (struct ufs_dir_entry *)kaddr; in ufs_empty_dir()
607 kaddr += ufs_last_byte(inode, i) - UFS_DIR_REC_LEN(1); in ufs_empty_dir()
609 while ((char *)de <= kaddr) { in ufs_empty_dir()
613 "kaddr=%p, de=%p\n", kaddr, de); in ufs_empty_dir()