Home
last modified time | relevance | path

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

/linux-6.6.21/fs/ext2/
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()
/linux-6.6.21/fs/ext4/
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()
1623 size_t min_offs = s->end - s->base, name_len = strlen(i->name); in ext4_xattr_set_entry() local
1665 if (offs < min_offs) in ext4_xattr_set_entry()
1666 min_offs = offs; in ext4_xattr_set_entry()
1674 free = min_offs - ((void *)last - s->base) - sizeof(__u32); in ext4_xattr_set_entry()
1691 (min_offs + old_size - new_size) < in ext4_xattr_set_entry()
1757 void *first_val = s->base + min_offs; in ext4_xattr_set_entry()
[all …]
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()
/linux-6.6.21/fs/ocfs2/
Dxattr.c3003 size_t min_offs = xs->end - xs->base; in ocfs2_xattr_can_be_in_inode() local
3012 if (offs < min_offs) in ocfs2_xattr_can_be_in_inode()
3013 min_offs = offs; in ocfs2_xattr_can_be_in_inode()
3017 free = min_offs - ((void *)last - xs->base) - OCFS2_XATTR_HEADER_GAP; in ocfs2_xattr_can_be_in_inode()