Home
last modified time | relevance | path

Searched refs:min_offs (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/fs/ext2/
H A Dxattr.c413 size_t name_len, free, min_offs = sb->s_blocksize; in ext2_xattr_set() local
473 if (offs < min_offs) in ext2_xattr_set()
474 min_offs = offs; in ext2_xattr_set()
489 free = min_offs - ((char*)last - (char*)header) - sizeof(__u32); in ext2_xattr_set()
574 char *first_val = (char *)header + min_offs; in ext2_xattr_set()
593 min_offs += size; in ext2_xattr_set()
622 char *val = (char *)header + min_offs - size; in ext2_xattr_set()
/openbmc/linux/fs/ext4/
H A Dxattr.c1366 size_t *min_offs, void *base, int *total) in ext4_xattr_free_space() argument
1371 if (offs < *min_offs) in ext4_xattr_free_space()
1372 *min_offs = offs; in ext4_xattr_free_space()
1377 return (*min_offs - ((void *)last - base) - sizeof(__u32)); in ext4_xattr_free_space()
1633 size_t min_offs = s->end - s->base, name_len = strlen(i->name); in ext4_xattr_set_entry() local
1674 if (offs < min_offs) in ext4_xattr_set_entry()
1675 min_offs = offs; in ext4_xattr_set_entry()
1683 free = min_offs - ((void *)last - s->base) - sizeof(__u32); in ext4_xattr_set_entry()
1700 (min_offs + old_size - new_size) < in ext4_xattr_set_entry()
1734 void *first_val = s->base + min_offs; in ext4_xattr_set_entry()
[all …]
H A Dinline.c38 int free, min_offs; in get_max_inline_xattr_value_size() local
43 min_offs = EXT4_SB(inode->i_sb)->s_inode_size - in get_max_inline_xattr_value_size()
54 return EXT4_XATTR_SIZE(min_offs - in get_max_inline_xattr_value_size()
74 if (offs < min_offs) in get_max_inline_xattr_value_size()
75 min_offs = offs; in get_max_inline_xattr_value_size()
79 free = min_offs - in get_max_inline_xattr_value_size()
/openbmc/linux/fs/ocfs2/
H A Dxattr.c3011 size_t min_offs = xs->end - xs->base; in ocfs2_xattr_can_be_in_inode() local
3020 if (offs < min_offs) in ocfs2_xattr_can_be_in_inode()
3021 min_offs = offs; in ocfs2_xattr_can_be_in_inode()
3025 free = min_offs - ((void *)last - xs->base) - OCFS2_XATTR_HEADER_GAP; in ocfs2_xattr_can_be_in_inode()