Lines Matching refs:kaddr
116 char *kaddr = page_address(page); in ufs_check_page() local
131 p = (struct ufs_dir_entry *)(kaddr + offs); in ufs_check_page()
181 p = (struct ufs_dir_entry *)(kaddr + offs); in ufs_check_page()
279 char *kaddr; in ufs_find_entry() local
282 kaddr = page_address(page); in ufs_find_entry()
283 de = (struct ufs_dir_entry *) kaddr; in ufs_find_entry()
284 kaddr += ufs_last_byte(dir, n) - reclen; in ufs_find_entry()
285 while ((char *) de <= kaddr) { in ufs_find_entry()
326 char *kaddr; in ufs_add_link() local
345 kaddr = page_address(page); in ufs_add_link()
346 dir_end = kaddr + ufs_last_byte(dir, n); in ufs_add_link()
347 de = (struct ufs_dir_entry *)kaddr; in ufs_add_link()
348 kaddr += PAGE_CACHE_SIZE - reclen; in ufs_add_link()
349 while ((char *)de <= kaddr) { in ufs_add_link()
453 char *kaddr, *limit; in ufs_readdir() local
465 kaddr = page_address(page); in ufs_readdir()
468 offset = ufs_validate_entry(sb, kaddr, offset, chunk_mask); in ufs_readdir()
474 de = (struct ufs_dir_entry *)(kaddr+offset); in ufs_readdir()
475 limit = kaddr + ufs_last_byte(inode, n) - UFS_DIR_REC_LEN(1); in ufs_readdir()
487 offset = (char *)de - kaddr; in ufs_readdir()
522 char *kaddr = page_address(page); in ufs_delete_entry() local
523 unsigned from = ((char*)dir - kaddr) & ~(UFS_SB(sb)->s_uspi->s_dirblksize - 1); in ufs_delete_entry()
524 unsigned to = ((char*)dir - kaddr) + fs16_to_cpu(sb, dir->d_reclen); in ufs_delete_entry()
527 struct ufs_dir_entry *de = (struct ufs_dir_entry *) (kaddr + from); in ufs_delete_entry()
623 char *kaddr; in ufs_empty_dir() local
630 kaddr = page_address(page); in ufs_empty_dir()
631 de = (struct ufs_dir_entry *)kaddr; in ufs_empty_dir()
632 kaddr += ufs_last_byte(inode, i) - UFS_DIR_REC_LEN(1); in ufs_empty_dir()
634 while ((char *)de <= kaddr) { in ufs_empty_dir()
638 "kaddr=%p, de=%p\n", kaddr, de); in ufs_empty_dir()