Searched refs:min_offs (Results 1 – 4 of 4) sorted by relevance
414 size_t name_len, free, min_offs = sb->s_blocksize; in ext2_xattr_set() local474 if (offs < min_offs) in ext2_xattr_set()475 min_offs = offs; in ext2_xattr_set()490 free = min_offs - ((char*)last - (char*)header) - sizeof(__u32); in ext2_xattr_set()575 char *first_val = (char *)header + min_offs; in ext2_xattr_set()594 min_offs += size; in ext2_xattr_set()623 char *val = (char *)header + min_offs - size; in ext2_xattr_set()
1311 size_t *min_offs, void *base, int *total) in ext4_xattr_free_space() argument1316 if (offs < *min_offs) in ext4_xattr_free_space()1317 *min_offs = offs; in ext4_xattr_free_space()1322 return (*min_offs - ((void *)last - base) - sizeof(__u32)); in ext4_xattr_free_space()1566 size_t min_offs = s->end - s->base, name_len = strlen(i->name); in ext4_xattr_set_entry() local1608 if (offs < min_offs) in ext4_xattr_set_entry()1609 min_offs = offs; in ext4_xattr_set_entry()1617 free = min_offs - ((void *)last - s->base) - sizeof(__u32); in ext4_xattr_set_entry()1634 (min_offs + old_size - new_size) < in ext4_xattr_set_entry()1700 void *first_val = s->base + min_offs; in ext4_xattr_set_entry()[all …]
37 int free, min_offs; in get_max_inline_xattr_value_size() local42 min_offs = EXT4_SB(inode->i_sb)->s_inode_size - in get_max_inline_xattr_value_size()53 return EXT4_XATTR_SIZE(min_offs - in get_max_inline_xattr_value_size()73 if (offs < min_offs) in get_max_inline_xattr_value_size()74 min_offs = offs; in get_max_inline_xattr_value_size()78 free = min_offs - in get_max_inline_xattr_value_size()
3009 size_t min_offs = xs->end - xs->base; in ocfs2_xattr_can_be_in_inode() local3018 if (offs < min_offs) in ocfs2_xattr_can_be_in_inode()3019 min_offs = offs; in ocfs2_xattr_can_be_in_inode()3023 free = min_offs - ((void *)last - xs->base) - OCFS2_XATTR_HEADER_GAP; in ocfs2_xattr_can_be_in_inode()