Searched refs:old_nm (Results 1 – 3 of 3) sorted by relevance
/fs/ubifs/ |
D | dir.c | 1284 struct fscrypt_name old_nm, new_nm; in do_rename() local 1315 err = fscrypt_setup_filename(old_dir, &old_dentry->d_name, 0, &old_nm); in do_rename() 1321 fscrypt_free_filename(&old_nm); in do_rename() 1326 old_sz = CALC_DENT_SIZE(fname_len(&old_nm)); in do_rename() 1330 fscrypt_free_filename(&old_nm); in do_rename() 1336 fscrypt_free_filename(&old_nm); in do_rename() 1382 old_sz -= CALC_DENT_SIZE(fname_len(&old_nm)); in do_rename() 1467 err = ubifs_jnl_rename(c, old_dir, old_inode, &old_nm, new_dir, in do_rename() 1485 fscrypt_free_filename(&old_nm); in do_rename() 1516 fscrypt_free_filename(&old_nm); in do_rename()
|
D | journal.c | 1215 const struct fscrypt_name *old_nm, in ubifs_jnl_rename() argument 1241 dlen2 = UBIFS_DENT_NODE_SZ + fname_len(old_nm) + 1; in ubifs_jnl_rename() 1285 dent_key_init_flash(c, &dent2->key, old_dir->i_ino, old_nm); in ubifs_jnl_rename() 1295 dent2->nlen = cpu_to_le16(fname_len(old_nm)); in ubifs_jnl_rename() 1296 memcpy(dent2->name, fname_name(old_nm), fname_len(old_nm)); in ubifs_jnl_rename() 1297 dent2->name[fname_len(old_nm)] = '\0'; in ubifs_jnl_rename() 1366 dent_key_init(c, &key, old_dir->i_ino, old_nm); in ubifs_jnl_rename() 1367 err = ubifs_tnc_add_nm(c, &key, lnum, offs, dlen2, hash_dent2, old_nm); in ubifs_jnl_rename() 1377 dent_key_init(c, &key, old_dir->i_ino, old_nm); in ubifs_jnl_rename() 1378 err = ubifs_tnc_remove_nm(c, &key, old_nm); in ubifs_jnl_rename()
|
D | ubifs.h | 1786 const struct fscrypt_name *old_nm,
|