Searched refs:oname (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/fs/crypto/ |
D | fname.c | 155 struct fscrypt_str *oname) in fname_decrypt() argument 178 sg_init_one(&dst_sg, oname->name, oname->len); in fname_decrypt() 187 oname->len = strnlen(oname->name, iname->len); in fname_decrypt() 372 struct fscrypt_str *oname) in fscrypt_fname_disk_to_usr() argument 379 oname->name[0] = '.'; in fscrypt_fname_disk_to_usr() 380 oname->name[iname->len - 1] = '.'; in fscrypt_fname_disk_to_usr() 381 oname->len = iname->len; in fscrypt_fname_disk_to_usr() 389 return fname_decrypt(inode, iname, oname); in fscrypt_fname_disk_to_usr() 415 oname->len = fscrypt_base64url_encode((const u8 *)&nokey_name, size, in fscrypt_fname_disk_to_usr() 416 oname->name); in fscrypt_fname_disk_to_usr()
|
/Linux-v6.6/fs/ceph/ |
D | crypto.c | 379 struct fscrypt_str *oname, bool *is_nokey) in ceph_fname_to_usr() argument 402 oname->name = fname->name; in ceph_fname_to_usr() 403 oname->len = fname->name_len; in ceph_fname_to_usr() 418 oname->name = fname->name; in ceph_fname_to_usr() 420 memcpy(oname->name, fname->name, fname->name_len); in ceph_fname_to_usr() 421 oname->len = fname->name_len; in ceph_fname_to_usr() 450 ret = fscrypt_fname_disk_to_usr(dir, 0, 0, &iname, oname); in ceph_fname_to_usr() 455 oname->len, oname->name, dir->i_ino); in ceph_fname_to_usr() 456 memcpy(oname->name, tmp_buf, name_len); in ceph_fname_to_usr() 457 oname->len = name_len; in ceph_fname_to_usr()
|
D | crypto.h | 126 struct fscrypt_str *oname, bool *is_nokey); 223 struct fscrypt_str *oname, bool *is_nokey) in ceph_fname_to_usr() argument 225 oname->name = fname->name; in ceph_fname_to_usr() 226 oname->len = fname->name_len; in ceph_fname_to_usr()
|
D | export.c | 572 struct fscrypt_str oname = FSTR_INIT(NULL, 0); in ceph_get_name() local 579 err = ceph_fname_alloc_buffer(dir, &oname); in ceph_get_name() 583 err = ceph_fname_to_usr(&fname, NULL, &oname, NULL); in ceph_get_name() 585 memcpy(name, oname.name, oname.len); in ceph_get_name() 586 name[oname.len] = 0; in ceph_get_name() 588 ceph_fname_free_buffer(dir, &oname); in ceph_get_name()
|
D | inode.c | 1524 struct fscrypt_str oname = FSTR_INIT(NULL, 0); in ceph_fill_trace() local 1537 err = ceph_fname_alloc_buffer(dir, &oname); in ceph_fill_trace() 1543 err = ceph_fname_to_usr(&fname, NULL, &oname, &is_nokey); in ceph_fill_trace() 1546 ceph_fname_free_buffer(dir, &oname); in ceph_fill_trace() 1549 dname.name = oname.name; in ceph_fill_trace() 1550 dname.len = oname.len; in ceph_fill_trace() 1565 ceph_fname_free_buffer(dir, &oname); in ceph_fill_trace() 1585 ceph_fname_free_buffer(dir, &oname); in ceph_fill_trace()
|
D | mds_client.c | 447 struct fscrypt_str oname = FSTR_INIT(NULL, 0); in parse_reply_info_readdir() local 504 oname.name = _name; in parse_reply_info_readdir() 505 oname.len = _name_len; in parse_reply_info_readdir() 511 oname.name = altname; in parse_reply_info_readdir() 512 oname.len = altname_len; in parse_reply_info_readdir() 515 err = ceph_fname_to_usr(&fname, &tname, &oname, &rde->is_nokey); in parse_reply_info_readdir() 521 rde->name = oname.name; in parse_reply_info_readdir() 522 rde->name_len = oname.len; in parse_reply_info_readdir()
|
/Linux-v6.6/include/linux/ |
D | fscrypt.h | 352 struct fscrypt_str *oname); 628 struct fscrypt_str *oname) in fscrypt_fname_disk_to_usr() argument
|
/Linux-v6.6/fs/xfs/ |
D | xfs_iops.c | 455 struct xfs_name oname; in xfs_vn_rename() local 465 error = xfs_dentry_mode_to_name(&oname, odentry, omode); in xfs_vn_rename() 474 return xfs_rename(idmap, XFS_I(odir), &oname, in xfs_vn_rename()
|