Home
last modified time | relevance | path

Searched refs:BCH_NAME_MAX (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/fs/bcachefs/
H A Ddirent.c22 unsigned char *buf = bch2_trans_kmalloc(trans, BCH_NAME_MAX + 1); in bch2_casefold()
27 ret = utf8_casefold(info->cf_encoding, str, buf, BCH_NAME_MAX + 1); in bch2_casefold()
172 bkey_fsck_err_on((from.flags & BCH_VALIDATE_commit) && d_name.len > BCH_NAME_MAX, in bch2_dirent_validate()
175 d_name.len, BCH_NAME_MAX); in bch2_dirent_validate()
197 d_cf_name.len > BCH_NAME_MAX, in bch2_dirent_validate()
200 d_cf_name.len, BCH_NAME_MAX); in bch2_dirent_validate()
301 if (name->len > BCH_NAME_MAX) in dirent_create_key()
H A Ddirent_format.h56 #define BCH_NAME_MAX 512 macro
H A Dfs-ioctl.c47 kname = kmalloc(BCH_NAME_MAX, GFP_KERNEL); in bch2_ioc_reinherit_attrs()
51 ret = strncpy_from_user(kname, name, BCH_NAME_MAX); in bch2_ioc_reinherit_attrs()
H A Dfs.c2286 buf->f_namelen = BCH_NAME_MAX; in bch2_statfs()
/linux-6.15/Documentation/filesystems/bcachefs/
H A Dcasefolding.rst24 string of `BCH_NAME_MAX` length using the `utf8_casefold` function to
50 `BCH_NAME_MAX` to change between versions, and a new feature bit.