Lines Matching refs:inode
187 curino = link_check(cur->inode); in walk_dir()
189 free(cur->inode); in walk_dir()
190 cur->inode = curino; in walk_dir()
191 cur->inode->nlink++; in walk_dir()
227 cur->inode = ecalloc(1, sizeof(*cur->inode)); in create_fsnode()
230 cur->inode->nlink = 1; in create_fsnode()
231 cur->inode->st = *stbuf; in create_fsnode()
233 cur->inode->st.st_atime = stampst.st_atime; in create_fsnode()
234 cur->inode->st.st_mtime = stampst.st_mtime; in create_fsnode()
235 cur->inode->st.st_ctime = stampst.st_ctime; in create_fsnode()
237 cur->inode->st.st_atimensec = stampst.st_atimensec; in create_fsnode()
238 cur->inode->st.st_mtimensec = stampst.st_mtimensec; in create_fsnode()
239 cur->inode->st.st_ctimensec = stampst.st_ctimensec; in create_fsnode()
242 cur->inode->st.st_birthtime = stampst.st_birthtime; in create_fsnode()
243 cur->inode->st.st_birthtimensec = stampst.st_birthtimensec; in create_fsnode()
287 if (cur->inode->nlink-- == 1) in free_fsnodes()
288 free(cur->inode); in free_fsnodes()
494 dirnode->inode->st.st_gid, specnode->st_gid); in apply_specentry()
495 dirnode->inode->st.st_gid = specnode->st_gid; in apply_specentry()
499 dirnode->inode->st.st_mode & ALLPERMS, specnode->st_mode); in apply_specentry()
500 dirnode->inode->st.st_mode &= ~ALLPERMS; in apply_specentry()
501 dirnode->inode->st.st_mode |= (specnode->st_mode & ALLPERMS); in apply_specentry()
506 (long long)dirnode->inode->st.st_size, in apply_specentry()
508 dirnode->inode->st.st_size = specnode->st_size; in apply_specentry()
519 (long)dirnode->inode->st.st_mtime, in apply_specentry()
521 dirnode->inode->st.st_mtime = specnode->st_mtimespec.tv_sec; in apply_specentry()
522 dirnode->inode->st.st_atime = specnode->st_mtimespec.tv_sec; in apply_specentry()
523 dirnode->inode->st.st_ctime = start_time.tv_sec; in apply_specentry()
525 dirnode->inode->st.st_mtimensec = specnode->st_mtimespec.tv_nsec; in apply_specentry()
526 dirnode->inode->st.st_atimensec = specnode->st_mtimespec.tv_nsec; in apply_specentry()
527 dirnode->inode->st.st_ctimensec = start_time.tv_nsec; in apply_specentry()
532 dirnode->inode->st.st_uid, specnode->st_uid); in apply_specentry()
533 dirnode->inode->st.st_uid = specnode->st_uid; in apply_specentry()
538 (unsigned long)dirnode->inode->st.st_flags, in apply_specentry()
540 dirnode->inode->st.st_flags = specnode->st_flags; in apply_specentry()
581 if (cur->inode->nlink > 1) in dump_fsnodes()
582 printf(", nlinks=%d", cur->inode->nlink); in dump_fsnodes()