Lines Matching refs:free
641 size_t free, min_offs = s->end - s->base, name_len = strlen(i->name); in ext4_xattr_set_entry() local
657 free = min_offs - ((void *)last - s->base) - sizeof(__u32); in ext4_xattr_set_entry()
661 free += EXT4_XATTR_SIZE(size); in ext4_xattr_set_entry()
663 free += EXT4_XATTR_LEN(name_len); in ext4_xattr_set_entry()
666 if (free < EXT4_XATTR_LEN(name_len) + in ext4_xattr_set_entry()
1300 size_t min_offs, free; in ext4_expand_extra_isize_ea() local
1334 free = ext4_xattr_free_space(last, &min_offs, base, &total_ino); in ext4_expand_extra_isize_ea()
1335 if (free >= isize_diff) { in ext4_expand_extra_isize_ea()
1365 free = ext4_xattr_free_space(first, &min_offs, base, NULL); in ext4_expand_extra_isize_ea()
1366 if (free < isize_diff) { in ext4_expand_extra_isize_ea()
1377 free = inode->i_sb->s_blocksize; in ext4_expand_extra_isize_ea()
1415 if (total_size <= free && total_size < min_total_size) { in ext4_expand_extra_isize_ea()