Searched refs:fname_len (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/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 | 188 if (le16_to_cpu(dent->nlen) != fname_len(nm)) in dbg_check_name() 190 if (memcmp(dent->name, fname_name(nm), fname_len(nm))) in dbg_check_name() 214 if (fname_len(&nm) > UBIFS_MAX_NLEN) { in ubifs_lookup() 312 sz_change = CALC_DENT_SIZE(fname_len(&nm)); in ubifs_create() 615 fname_len(&nm) = 0; in ubifs_readdir() 633 fname_len(&nm) = 0; in ubifs_readdir() 650 fname_len(&nm) = le16_to_cpu(dent->nlen); in ubifs_readdir() 663 fstr.len = fname_len(&nm); in ubifs_readdir() 824 sz_change = CALC_DENT_SIZE(fname_len(&nm)); in ubifs_unlink() 932 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 | 592 err = memcmp(dent->name, fname_name(nm), min_t(int, nlen, fname_len(nm))); in matches_name() 594 if (nlen == fname_len(nm)) in matches_name() 596 else if (nlen < fname_len(nm)) in matches_name() 885 err = memcmp(dent->name, fname_name(nm), min_t(int, nlen, fname_len(nm))); in fallible_matches_name() 887 if (nlen == fname_len(nm)) in fallible_matches_name() 889 else if (nlen < fname_len(nm)) in fallible_matches_name() 1909 if (fname_len(nm) == len && !memcmp(dent->name, fname_name(nm), len)) in ubifs_tnc_lookup_nm() 2936 fname_len(&nm) = le16_to_cpu(xent->nlen); in ubifs_tnc_remove_ino() 3006 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-6.6.21/fs/zonefs/ |
D | super.c | 809 int fname_len; in zonefs_readdir_zgroup() local 832 fname_len = snprintf(fname, ZONEFS_NAME_MAX - 1, "%u", f); in zonefs_readdir_zgroup() 833 if (!dir_emit(ctx, fname, fname_len, ino, DT_REG)) in zonefs_readdir_zgroup()
|
/linux-6.6.21/include/linux/ |
D | fscrypt.h | 55 #define fname_len(p) ((p)->disk_name.len) macro
|
/linux-6.6.21/fs/ext4/ |
D | namei.c | 858 fname_len(fname), hinfo); in dx_probe() 2103 unsigned short reclen = ext4_dir_rec_len(fname_len(fname), dir); in ext4_find_dest_de() 2151 de->name_len = fname_len(fname); in ext4_insert_dentry() 2152 memcpy(de->name, fname_name(fname), fname_len(fname)); in ext4_insert_dentry() 2323 fname_len(fname), &fname->hinfo); in make_indexed_dir()
|
D | ext4.h | 2504 #define fname_len(p) ((p)->disk_name.len) macro
|