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()576 char *first_val = (char *)header + min_offs; in ext2_xattr_set()595 min_offs += size; in ext2_xattr_set()624 char *val = (char *)header + min_offs - size; in ext2_xattr_set()
1322 size_t *min_offs, void *base, int *total) in ext4_xattr_free_space() argument1327 if (offs < *min_offs) in ext4_xattr_free_space()1328 *min_offs = offs; in ext4_xattr_free_space()1333 return (*min_offs - ((void *)last - base) - sizeof(__u32)); in ext4_xattr_free_space()1572 size_t min_offs = s->end - s->base, name_len = strlen(i->name); in ext4_xattr_set_entry() local1614 if (offs < min_offs) in ext4_xattr_set_entry()1615 min_offs = offs; in ext4_xattr_set_entry()1623 free = min_offs - ((void *)last - s->base) - sizeof(__u32); in ext4_xattr_set_entry()1640 (min_offs + old_size - new_size) < in ext4_xattr_set_entry()1706 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()65 if (offs < min_offs) in get_max_inline_xattr_value_size()66 min_offs = offs; in get_max_inline_xattr_value_size()69 free = min_offs - in get_max_inline_xattr_value_size()
3007 size_t min_offs = xs->end - xs->base; in ocfs2_xattr_can_be_in_inode() local3016 if (offs < min_offs) in ocfs2_xattr_can_be_in_inode()3017 min_offs = offs; in ocfs2_xattr_can_be_in_inode()3021 free = min_offs - ((void *)last - xs->base) - OCFS2_XATTR_HEADER_GAP; in ocfs2_xattr_can_be_in_inode()