Lines Matching refs:kaddr

100 		char *p, *kaddr, *limit;  in minix_readdir()  local
105 kaddr = (char *)page_address(page); in minix_readdir()
106 p = kaddr+offset; in minix_readdir()
107 limit = kaddr + minix_last_byte(inode, n) - chunk_size; in minix_readdir()
168 char *kaddr, *limit; in minix_find_entry() local
174 kaddr = (char*)page_address(page); in minix_find_entry()
175 limit = kaddr + minix_last_byte(dir, n) - sbi->s_dirsize; in minix_find_entry()
176 for (p = kaddr; p <= limit; p = minix_next_entry(p, sbi)) { in minix_find_entry()
210 char *kaddr, *p; in minix_add_link() local
231 kaddr = (char*)page_address(page); in minix_add_link()
232 dir_end = kaddr + minix_last_byte(dir, n); in minix_add_link()
233 limit = kaddr + PAGE_SIZE - sbi->s_dirsize; in minix_add_link()
234 for (p = kaddr; p <= limit; p = minix_next_entry(p, sbi)) { in minix_add_link()
292 char *kaddr = page_address(page); in minix_delete_entry() local
293 loff_t pos = page_offset(page) + (char*)de - kaddr; in minix_delete_entry()
319 char *kaddr; in minix_make_empty() local
330 kaddr = kmap_atomic(page); in minix_make_empty()
331 memset(kaddr, 0, PAGE_SIZE); in minix_make_empty()
334 minix3_dirent *de3 = (minix3_dirent *)kaddr; in minix_make_empty()
342 minix_dirent *de = (minix_dirent *)kaddr; in minix_make_empty()
350 kunmap_atomic(kaddr); in minix_make_empty()
370 char *p, *kaddr, *limit; in minix_empty_dir() local
376 kaddr = (char *)page_address(page); in minix_empty_dir()
377 limit = kaddr + minix_last_byte(inode, i) - sbi->s_dirsize; in minix_empty_dir()
378 for (p = kaddr; p <= limit; p = minix_next_entry(p, sbi)) { in minix_empty_dir()