Searched refs:fname_len (Results 1 – 11 of 11) sorted by relevance
/linux-5.19.10/fs/ubifs/ |
D | xattr.c | 102 names_len = host_ui->xattr_names + host_ui->xattr_cnt + fname_len(nm) + 1; in create_xattr() 139 host_ui->xattr_size += CALC_DENT_SIZE(fname_len(nm)); in create_xattr() 141 host_ui->xattr_names += fname_len(nm); in create_xattr() 165 host_ui->xattr_size -= CALC_DENT_SIZE(fname_len(nm)); in create_xattr() 167 host_ui->xattr_names -= fname_len(nm); in create_xattr() 279 if (fname_len(&nm) > UBIFS_MAX_NLEN) in ubifs_xattr_set() 337 if (fname_len(&nm) > UBIFS_MAX_NLEN) in ubifs_xattr_get() 434 fname_len(&nm) = le16_to_cpu(xent->nlen); in ubifs_listxattr() 437 memcpy(buffer + written, fname_name(&nm), fname_len(&nm) + 1); in ubifs_listxattr() 438 written += fname_len(&nm) + 1; in ubifs_listxattr() [all …]
|
D | journal.c | 556 dlen = UBIFS_DENT_NODE_SZ + fname_len(nm) + 1; in ubifs_jnl_update() 603 dent->nlen = cpu_to_le16(fname_len(nm)); in ubifs_jnl_update() 604 memcpy(dent->name, fname_name(nm), fname_len(nm)); in ubifs_jnl_update() 605 dent->name[fname_len(nm)] = '\0'; in ubifs_jnl_update() 903 fname_len(&nm) = le16_to_cpu(xent->nlen); in ubifs_jnl_write_inode() 1074 dlen1 = UBIFS_DENT_NODE_SZ + fname_len(snd_nm) + 1; in ubifs_jnl_xrename() 1075 dlen2 = UBIFS_DENT_NODE_SZ + fname_len(fst_nm) + 1; in ubifs_jnl_xrename() 1099 dent1->nlen = cpu_to_le16(fname_len(snd_nm)); in ubifs_jnl_xrename() 1100 memcpy(dent1->name, fname_name(snd_nm), fname_len(snd_nm)); in ubifs_jnl_xrename() 1101 dent1->name[fname_len(snd_nm)] = '\0'; in ubifs_jnl_xrename() [all …]
|
D | dir.c | 186 if (le16_to_cpu(dent->nlen) != fname_len(nm)) in dbg_check_name() 188 if (memcmp(dent->name, fname_name(nm), fname_len(nm))) in dbg_check_name() 212 if (fname_len(&nm) > UBIFS_MAX_NLEN) { in ubifs_lookup() 310 sz_change = CALC_DENT_SIZE(fname_len(&nm)); in ubifs_create() 617 fname_len(&nm) = 0; in ubifs_readdir() 635 fname_len(&nm) = 0; in ubifs_readdir() 652 fname_len(&nm) = le16_to_cpu(dent->nlen); in ubifs_readdir() 665 fstr.len = fname_len(&nm); in ubifs_readdir() 826 sz_change = CALC_DENT_SIZE(fname_len(&nm)); in ubifs_unlink() 934 sz_change = CALC_DENT_SIZE(fname_len(&nm)); in ubifs_rmdir() [all …]
|
D | key.h | 150 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in dent_key_init() 186 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in dent_key_init_flash() 219 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in xent_key_init() 237 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in xent_key_init_flash()
|
D | tnc.c | 554 err = memcmp(dent->name, fname_name(nm), min_t(int, nlen, fname_len(nm))); in matches_name() 556 if (nlen == fname_len(nm)) in matches_name() 558 else if (nlen < fname_len(nm)) in matches_name() 847 err = memcmp(dent->name, fname_name(nm), min_t(int, nlen, fname_len(nm))); in fallible_matches_name() 849 if (nlen == fname_len(nm)) in fallible_matches_name() 851 else if (nlen < fname_len(nm)) in fallible_matches_name() 1871 if (fname_len(nm) == len && !memcmp(dent->name, fname_name(nm), len)) in ubifs_tnc_lookup_nm() 2898 fname_len(&nm) = le16_to_cpu(xent->nlen); in ubifs_tnc_remove_ino() 2968 if (fname_len(nm) > 0) { in ubifs_tnc_next_ent()
|
D | debug.c | 286 fname_len(&nm) = le16_to_cpu(dent->nlen); in ubifs_dump_inode() 1152 fname_len(&nm) = le16_to_cpu(dent->nlen); in dbg_check_dir() 1153 size += CALC_DENT_SIZE(fname_len(&nm)); in dbg_check_dir()
|
D | orphan.c | 181 fname_len(&nm) = le16_to_cpu(xent->nlen); in ubifs_add_orphan()
|
D | replay.c | 463 fname_len(&r->nm) = nlen; in insert_dent()
|
/linux-5.19.10/include/linux/ |
D | fscrypt.h | 55 #define fname_len(p) ((p)->disk_name.len) macro
|
/linux-5.19.10/fs/ext4/ |
D | namei.c | 848 ext4fs_dirhash(dir, fname_name(fname), fname_len(fname), hinfo); in dx_probe() 2079 unsigned short reclen = ext4_dir_rec_len(fname_len(fname), dir); in ext4_find_dest_de() 2127 de->name_len = fname_len(fname); in ext4_insert_dentry() 2128 memcpy(de->name, fname_name(fname), fname_len(fname)); in ext4_insert_dentry() 2291 fname_len(fname), &fname->hinfo); in make_indexed_dir()
|
D | ext4.h | 2495 #define fname_len(p) ((p)->disk_name.len) macro
|