Searched refs:old_nm (Results 1 – 3 of 3) sorted by relevance
/linux/fs/ubifs/ |
H A D | dir.c | 1340 struct fscrypt_name old_nm, new_nm; in do_rename() local 1372 err = fscrypt_setup_filename(old_dir, &old_dentry->d_name, 0, &old_nm); in do_rename() 1378 fscrypt_free_filename(&old_nm); in do_rename() 1383 old_sz = CALC_DENT_SIZE(fname_len(&old_nm)); in do_rename() 1387 fscrypt_free_filename(&old_nm); in do_rename() 1393 fscrypt_free_filename(&old_nm); in do_rename() 1441 old_sz -= CALC_DENT_SIZE(fname_len(&old_nm)); in do_rename() 1516 err = ubifs_jnl_rename(c, old_dir, old_inode, &old_nm, new_dir, in do_rename() 1544 fscrypt_free_filename(&old_nm); in do_rename() 1576 fscrypt_free_filename(&old_nm); in do_rename()
|
H A D | journal.c | 1353 const struct fscrypt_name *old_nm, in ubifs_jnl_rename() argument 1380 dlen2 = UBIFS_DENT_NODE_SZ + fname_len(old_nm) + 1; in ubifs_jnl_rename() 1435 dent_key_init_flash(c, &dent2->key, old_dir->i_ino, old_nm); in ubifs_jnl_rename() 1445 dent2->nlen = cpu_to_le16(fname_len(old_nm)); in ubifs_jnl_rename() 1446 memcpy(dent2->name, fname_name(old_nm), fname_len(old_nm)); in ubifs_jnl_rename() 1447 dent2->name[fname_len(old_nm)] = '\0'; in ubifs_jnl_rename() 1528 dent_key_init(c, &key, old_dir->i_ino, old_nm); in ubifs_jnl_rename() 1529 err = ubifs_tnc_add_nm(c, &key, lnum, offs, dlen2, hash_dent2, old_nm); in ubifs_jnl_rename() 1537 dent_key_init(c, &key, old_dir->i_ino, old_nm); in ubifs_jnl_rename() 1538 err = ubifs_tnc_remove_nm(c, &key, old_nm); in ubifs_jnl_rename()
|
H A D | ubifs.h | 1809 const struct fscrypt_name *old_nm,
|