Lines Matching refs:ei
503 struct reiserfs_inode_info *ei) in __discard_prealloc() argument
505 unsigned long save = ei->i_prealloc_block; in __discard_prealloc()
507 struct inode *inode = &ei->vfs_inode; in __discard_prealloc()
511 if (ei->i_prealloc_count < 0) in __discard_prealloc()
515 while (ei->i_prealloc_count > 0) { in __discard_prealloc()
524 block_to_free = ei->i_prealloc_block++; in __discard_prealloc()
525 ei->i_prealloc_count--; in __discard_prealloc()
531 ei->i_prealloc_block = save; in __discard_prealloc()
532 list_del_init(&ei->i_prealloc_list); in __discard_prealloc()
539 struct reiserfs_inode_info *ei = REISERFS_I(inode); in reiserfs_discard_prealloc() local
542 if (ei->i_prealloc_count) in reiserfs_discard_prealloc()
543 __discard_prealloc(th, ei); in reiserfs_discard_prealloc()
552 struct reiserfs_inode_info *ei; in reiserfs_discard_all_prealloc() local
553 ei = list_entry(plist->next, struct reiserfs_inode_info, in reiserfs_discard_all_prealloc()
556 if (!ei->i_prealloc_count) { in reiserfs_discard_all_prealloc()
562 __discard_prealloc(th, ei); in reiserfs_discard_all_prealloc()