Searched refs:old_nm (Results 1 – 3 of 3) sorted by relevance
/fs/ubifs/ |
D | dir.c | 1303 struct fscrypt_name old_nm, new_nm; in do_rename() local 1335 err = fscrypt_setup_filename(old_dir, &old_dentry->d_name, 0, &old_nm); in do_rename() 1341 fscrypt_free_filename(&old_nm); in do_rename() 1346 old_sz = CALC_DENT_SIZE(fname_len(&old_nm)); in do_rename() 1350 fscrypt_free_filename(&old_nm); in do_rename() 1356 fscrypt_free_filename(&old_nm); in do_rename() 1408 old_sz -= CALC_DENT_SIZE(fname_len(&old_nm)); in do_rename() 1483 err = ubifs_jnl_rename(c, old_dir, old_inode, &old_nm, new_dir, in do_rename() 1511 fscrypt_free_filename(&old_nm); in do_rename() 1542 fscrypt_free_filename(&old_nm); in do_rename()
|
D | journal.c | 1220 const struct fscrypt_name *old_nm, in ubifs_jnl_rename() argument 1247 dlen2 = UBIFS_DENT_NODE_SZ + fname_len(old_nm) + 1; in ubifs_jnl_rename() 1302 dent_key_init_flash(c, &dent2->key, old_dir->i_ino, old_nm); in ubifs_jnl_rename() 1312 dent2->nlen = cpu_to_le16(fname_len(old_nm)); in ubifs_jnl_rename() 1313 memcpy(dent2->name, fname_name(old_nm), fname_len(old_nm)); in ubifs_jnl_rename() 1314 dent2->name[fname_len(old_nm)] = '\0'; in ubifs_jnl_rename() 1395 dent_key_init(c, &key, old_dir->i_ino, old_nm); in ubifs_jnl_rename() 1396 err = ubifs_tnc_add_nm(c, &key, lnum, offs, dlen2, hash_dent2, old_nm); in ubifs_jnl_rename() 1404 dent_key_init(c, &key, old_dir->i_ino, old_nm); in ubifs_jnl_rename() 1405 err = ubifs_tnc_remove_nm(c, &key, old_nm); in ubifs_jnl_rename()
|
D | ubifs.h | 1815 const struct fscrypt_name *old_nm,
|