/fs/crypto/ |
D | fname.c | 454 fname->disk_name.name = (unsigned char *)iname->name; in fscrypt_setup_filename() 455 fname->disk_name.len = iname->len; in fscrypt_setup_filename() 475 fname->disk_name.name = fname->crypto_buf.name; in fscrypt_setup_filename() 476 fname->disk_name.len = fname->crypto_buf.len; in fscrypt_setup_filename() 510 fname->disk_name.name = nokey_name->bytes; in fscrypt_setup_filename() 511 fname->disk_name.len = in fscrypt_setup_filename() 543 if (likely(fname->disk_name.name)) { in fscrypt_match_name() 544 if (de_name_len != fname->disk_name.len) in fscrypt_match_name() 546 return !memcmp(de_name, fname->disk_name.name, de_name_len); in fscrypt_match_name()
|
/fs/f2fs/ |
D | dir.c | 83 fname->disk_name = crypt_name->disk_name; in __f2fs_setup_filename() 245 f.disk_name = fname->disk_name; in f2fs_match_name() 305 int s = GET_DENTRY_SLOTS(fname->disk_name.len); in find_in_level() 476 ri->i_namelen = cpu_to_le32(fname->disk_name.len); in init_dent_inode() 477 memcpy(ri->i_name, fname->disk_name.name, fname->disk_name.len); in init_dent_inode() 488 if (fname->disk_name.len + sizeof(f2fs_hash_t) <= in init_dent_inode() 491 &ri->i_name[fname->disk_name.len]); in init_dent_inode() 647 int slots = GET_DENTRY_SLOTS(fname->disk_name.len); in f2fs_has_enough_room() 693 slots = GET_DENTRY_SLOTS(fname->disk_name.len); in f2fs_add_regular_entry() 748 f2fs_update_dentry(ino, mode, &d, &fname->disk_name, fname->hash, in f2fs_add_regular_entry()
|
D | recovery.c | 129 fname->disk_name.len = le32_to_cpu(raw_inode->i_namelen); in init_recovered_filename() 130 fname->disk_name.name = raw_inode->i_name; in init_recovered_filename() 132 if (WARN_ON(fname->disk_name.len > F2FS_NAME_LEN)) in init_recovered_filename() 136 usr_fname->name = fname->disk_name.name; in init_recovered_filename() 137 usr_fname->len = fname->disk_name.len; in init_recovered_filename() 147 if (fname->disk_name.len + sizeof(f2fs_hash_t) > F2FS_NAME_LEN) in init_recovered_filename() 150 &raw_inode->i_name[fname->disk_name.len]); in init_recovered_filename()
|
D | hash.c | 98 const u8 *name = fname->disk_name.name; in f2fs_hash_filename() 99 size_t len = fname->disk_name.len; in f2fs_hash_filename()
|
D | inline.c | 515 fname.disk_name.name = d.filename[bit_pos]; in f2fs_add_inline_entries() 516 fname.disk_name.len = le16_to_cpu(de->name_len); in f2fs_add_inline_entries() 643 int slots = GET_DENTRY_SLOTS(fname->disk_name.len); in f2fs_add_inline_entry() 675 f2fs_update_dentry(ino, mode, &d, &fname->disk_name, fname->hash, in f2fs_add_inline_entry()
|
D | f2fs.h | 513 struct fscrypt_str disk_name; member
|
/fs/ext4/ |
D | crypto.c | 16 dst->disk_name = src->disk_name; in ext4_fname_from_fscrypt_name() 71 fname->disk_name.name = NULL; in ext4_fname_free_filename()
|
D | ext4.h | 2492 struct fscrypt_str disk_name; member 2502 #define fname_name(p) ((p)->disk_name.name) 2504 #define fname_len(p) ((p)->disk_name.len) 2758 fname->disk_name.name = (unsigned char *) iname->name; in ext4_fname_setup_filename() 2759 fname->disk_name.len = iname->len; in ext4_fname_setup_filename()
|
D | namei.c | 1498 f.disk_name = fname->disk_name; in ext4_match()
|
/fs/nfs/blocklayout/ |
D | dev.c | 260 d->bdev->bd_disk->disk_name); in bl_parse_simple() 357 d->bdev->bd_disk->disk_name, d->pr_key); in bl_parse_scsi() 362 d->bdev->bd_disk->disk_name); in bl_parse_scsi() 370 d->bdev->bd_disk->disk_name); in bl_parse_scsi()
|
/fs/pstore/ |
D | Kconfig | 115 2) /dev/<disk_name> represents the device name of disk 116 3) /dev/<disk_name><decimal> represents the device name and number 118 4) /dev/<disk_name>p<decimal> - same as the above, this form is
|
/fs/ubifs/ |
D | xattr.c | 268 struct fscrypt_name nm = { .disk_name = FSTR_INIT((char *)name, strlen(name))}; in ubifs_xattr_set() 331 struct fscrypt_name nm = { .disk_name = FSTR_INIT((char *)name, strlen(name))}; in ubifs_xattr_get() 599 struct fscrypt_name nm = { .disk_name = FSTR_INIT((char *)name, strlen(name))}; in ubifs_xattr_remove()
|
D | dir.c | 659 &nm.disk_name, &fstr); in ubifs_readdir()
|
D | tnc.c | 2514 struct fscrypt_name noname = { .disk_name = { .name = "", .len = 1 } }; in ubifs_tnc_add_nm()
|
/fs/affs/ |
D | amigaffs.h | 65 u8 disk_name[32]; member
|
D | super.c | 511 u8 len = AFFS_ROOT_TAIL(sb, root_bh)->disk_name[0]; in affs_fill_super() 514 AFFS_ROOT_TAIL(sb, root_bh)->disk_name + 1, in affs_fill_super()
|
/fs/btrfs/ |
D | inode.c | 4212 &fname.disk_name); in btrfs_unlink() 4268 &fname.disk_name, -1); in btrfs_unlink_subvol() 4294 di = btrfs_search_dir_index_item(root, path, dir_ino, &fname.disk_name); in btrfs_unlink_subvol() 4311 &index, &fname.disk_name); in btrfs_unlink_subvol() 4324 btrfs_i_size_write(dir, dir->vfs_inode.i_size - fname.disk_name.len * 2); in btrfs_unlink_subvol() 4656 &fname.disk_name); in btrfs_rmdir() 5381 &fname.disk_name, 0); in btrfs_inode_by_name() 5393 __func__, fname.disk_name.name, btrfs_ino(dir), in btrfs_inode_by_name() 5449 btrfs_root_ref_name_len(leaf, ref) != fname.disk_name.len) in fixup_tree_root_location() 5452 ret = memcmp_extent_buffer(leaf, fname.disk_name.name, in fixup_tree_root_location() [all …]
|
D | transaction.c | 1721 &fname.disk_name, 0); in create_pending_snapshot() 1816 &fname.disk_name); in create_pending_snapshot() 1848 ret = btrfs_insert_dir_item(trans, &fname.disk_name, in create_pending_snapshot() 1859 fname.disk_name.len * 2); in create_pending_snapshot()
|
D | tree-log.c | 7510 &fname.disk_name, old_dir_index); in btrfs_log_new_name()
|