Searched refs:min_offs (Results 1 – 4 of 4) sorted by relevance
371 size_t name_len, free, min_offs = sb->s_blocksize; in ext2_xattr_set() local425 if (offs < min_offs) in ext2_xattr_set()426 min_offs = offs; in ext2_xattr_set()445 if (offs < min_offs) in ext2_xattr_set()446 min_offs = offs; in ext2_xattr_set()452 free = min_offs - ((char*)last - (char*)header) - sizeof(__u32); in ext2_xattr_set()546 char *first_val = (char *)header + min_offs; in ext2_xattr_set()566 min_offs += size; in ext2_xattr_set()593 char *val = (char *)header + min_offs - size; in ext2_xattr_set()
1353 size_t *min_offs, void *base, int *total) in ext4_xattr_free_space() argument1358 if (offs < *min_offs) in ext4_xattr_free_space()1359 *min_offs = offs; in ext4_xattr_free_space()1364 return (*min_offs - ((void *)last - base) - sizeof(__u32)); in ext4_xattr_free_space()1608 size_t min_offs = s->end - s->base, name_len = strlen(i->name); in ext4_xattr_set_entry() local1650 if (offs < min_offs) in ext4_xattr_set_entry()1651 min_offs = offs; in ext4_xattr_set_entry()1659 free = min_offs - ((void *)last - s->base) - sizeof(__u32); in ext4_xattr_set_entry()1676 (min_offs + old_size - new_size) < in ext4_xattr_set_entry()1742 void *first_val = s->base + min_offs; in ext4_xattr_set_entry()[all …]
36 int free, min_offs; in get_max_inline_xattr_value_size() local41 min_offs = EXT4_SB(inode->i_sb)->s_inode_size - in get_max_inline_xattr_value_size()52 return EXT4_XATTR_SIZE(min_offs - in get_max_inline_xattr_value_size()72 if (offs < min_offs) in get_max_inline_xattr_value_size()73 min_offs = offs; in get_max_inline_xattr_value_size()77 free = min_offs - in get_max_inline_xattr_value_size()
3017 size_t min_offs = xs->end - xs->base; in ocfs2_xattr_can_be_in_inode() local3026 if (offs < min_offs) in ocfs2_xattr_can_be_in_inode()3027 min_offs = offs; in ocfs2_xattr_can_be_in_inode()3031 free = min_offs - ((void *)last - xs->base) - OCFS2_XATTR_HEADER_GAP; in ocfs2_xattr_can_be_in_inode()