Lines Matching defs:statbuf
27 * Return name if statbuf->st_ino && statbuf->st_dev are recorded in
30 char *is_in_ino_dev_hashtable(const struct stat *statbuf)
37 bucket = ino_dev_hashtable[hash_inode(statbuf->st_ino)];
39 if ((bucket->ino == statbuf->st_ino)
40 && (bucket->dev == statbuf->st_dev)
49 /* Add statbuf to statbuf hash table */
50 void add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name)
55 i = hash_inode(statbuf->st_ino);
59 bucket->ino = statbuf->st_ino;
60 bucket->dev = statbuf->st_dev;
71 /* Clear statbuf hash table */