Home
last modified time | relevance | path

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

/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()
/linux/fs/ext4/
H A Dxattr.c1374 size_t *min_offs, void *base, int *total) in ext4_xattr_free_space() argument
1379 if (offs < *min_offs) in ext4_xattr_free_space()
1380 *min_offs = offs; in ext4_xattr_free_space()
1385 return (*min_offs - ((void *)last - base) - sizeof(__u32)); in ext4_xattr_free_space()
1641 size_t min_offs = s->end - s->base, name_len = strlen(i->name); in ext4_xattr_set_entry() local
1682 if (offs < min_offs) in ext4_xattr_set_entry()
1683 min_offs = offs; in ext4_xattr_set_entry()
1691 free = min_offs - ((void *)last - s->base) - sizeof(__u32); in ext4_xattr_set_entry()
1708 (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 …]
H A Dinline.c42 int free, min_offs; in get_max_inline_xattr_value_size() local
47 min_offs = EXT4_SB(inode->i_sb)->s_inode_size - in get_max_inline_xattr_value_size()
58 return EXT4_XATTR_SIZE(min_offs - in get_max_inline_xattr_value_size()
78 if (offs < min_offs) in get_max_inline_xattr_value_size()
79 min_offs = offs; in get_max_inline_xattr_value_size()
83 free = min_offs - in get_max_inline_xattr_value_size()