• Home
  • Raw
  • Download

Lines Matching refs:meta_index

1187 struct meta_index *locate_meta_index(struct inode *inode, int index, int offset)  in locate_meta_index()
1189 struct meta_index *meta = NULL; in locate_meta_index()
1197 if(msblk->meta_index == NULL) in locate_meta_index()
1201 if (msblk->meta_index[i].inode_number == inode->i_ino && in locate_meta_index()
1202 msblk->meta_index[i].offset >= offset && in locate_meta_index()
1203 msblk->meta_index[i].offset <= index && in locate_meta_index()
1204 msblk->meta_index[i].locked == 0) { in locate_meta_index()
1206 msblk->meta_index[i].offset); in locate_meta_index()
1207 meta = &msblk->meta_index[i]; in locate_meta_index()
1221 struct meta_index *empty_meta_index(struct inode *inode, int offset, int skip) in empty_meta_index()
1224 struct meta_index *meta = NULL; in empty_meta_index()
1231 if(msblk->meta_index == NULL) { in empty_meta_index()
1232 if (!(msblk->meta_index = kmalloc(sizeof(struct meta_index) * in empty_meta_index()
1238 msblk->meta_index[i].inode_number = 0; in empty_meta_index()
1239 msblk->meta_index[i].locked = 0; in empty_meta_index()
1245 msblk->meta_index[msblk->next_meta_index].locked; i --) in empty_meta_index()
1256 &msblk->meta_index[msblk->next_meta_index]); in empty_meta_index()
1258 meta = &msblk->meta_index[msblk->next_meta_index]; in empty_meta_index()
1274 void release_meta_index(struct inode *inode, struct meta_index *meta) in release_meta_index()
1333 struct meta_index *meta; in get_meta_index()
1993 kfree(sbi->meta_index); in squashfs_put_super()
2002 sbi->meta_index = NULL; in squashfs_put_super()