Searched refs:old_nm (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/fs/ubifs/ |
D | dir.c | 1308 struct fscrypt_name old_nm, new_nm; in do_rename() local 1338 err = fscrypt_setup_filename(old_dir, &old_dentry->d_name, 0, &old_nm); in do_rename() 1344 fscrypt_free_filename(&old_nm); in do_rename() 1349 old_sz = CALC_DENT_SIZE(fname_len(&old_nm)); in do_rename() 1353 fscrypt_free_filename(&old_nm); in do_rename() 1359 fscrypt_free_filename(&old_nm); in do_rename() 1411 old_sz -= CALC_DENT_SIZE(fname_len(&old_nm)); in do_rename() 1490 err = ubifs_jnl_rename(c, old_dir, old_inode, &old_nm, new_dir, in do_rename() 1518 fscrypt_free_filename(&old_nm); in do_rename() 1549 fscrypt_free_filename(&old_nm); in do_rename()
|
D | journal.c | 1216 const struct fscrypt_name *old_nm, in ubifs_jnl_rename() argument 1243 dlen2 = UBIFS_DENT_NODE_SZ + fname_len(old_nm) + 1; in ubifs_jnl_rename() 1298 dent_key_init_flash(c, &dent2->key, old_dir->i_ino, old_nm); in ubifs_jnl_rename() 1308 dent2->nlen = cpu_to_le16(fname_len(old_nm)); in ubifs_jnl_rename() 1309 memcpy(dent2->name, fname_name(old_nm), fname_len(old_nm)); in ubifs_jnl_rename() 1310 dent2->name[fname_len(old_nm)] = '\0'; in ubifs_jnl_rename() 1391 dent_key_init(c, &key, old_dir->i_ino, old_nm); in ubifs_jnl_rename() 1392 err = ubifs_tnc_add_nm(c, &key, lnum, offs, dlen2, hash_dent2, old_nm); in ubifs_jnl_rename() 1400 dent_key_init(c, &key, old_dir->i_ino, old_nm); in ubifs_jnl_rename() 1401 err = ubifs_tnc_remove_nm(c, &key, old_nm); in ubifs_jnl_rename()
|
D | ubifs.h | 1810 const struct fscrypt_name *old_nm,
|