/fs/ubifs/ |
D | gc.c | 119 ubifs_assert(c, key_type(c, &sa->key) == UBIFS_DATA_KEY); in data_nodes_cmp() 120 ubifs_assert(c, key_type(c, &sb->key) == UBIFS_DATA_KEY); in data_nodes_cmp() 163 ubifs_assert(c, key_type(c, &sa->key) != UBIFS_DATA_KEY && in nondata_nodes_cmp() 164 key_type(c, &sb->key) != UBIFS_DATA_KEY); in nondata_nodes_cmp() 177 ubifs_assert(c, key_type(c, &sa->key) == UBIFS_DENT_KEY || in nondata_nodes_cmp() 178 key_type(c, &sa->key) == UBIFS_XENT_KEY); in nondata_nodes_cmp() 179 ubifs_assert(c, key_type(c, &sb->key) == UBIFS_DENT_KEY || in nondata_nodes_cmp() 180 key_type(c, &sb->key) == UBIFS_XENT_KEY); in nondata_nodes_cmp() 255 ubifs_assert(c, key_type(c, &snod->key) == UBIFS_DATA_KEY || in sort_nodes() 256 key_type(c, &snod->key) == UBIFS_INO_KEY || in sort_nodes() [all …]
|
D | replay.c | 218 ubifs_assert(c, key_type(c, &rino->key) == UBIFS_INO_KEY); in inode_still_linked() 227 key_type(c, &r->key) == UBIFS_INO_KEY) in inode_still_linked() 258 switch (key_type(c, &r->key)) { in apply_replay_entry() 483 int key_type = key_type_flash(c, dent->key); in ubifs_validate_entry() local 489 (key_type == UBIFS_XENT_KEY && strnlen(dent->name, nlen) != nlen) || in ubifs_validate_entry() 491 ubifs_err(c, "bad %s node", key_type == UBIFS_DENT_KEY ? in ubifs_validate_entry() 496 if (key_type != UBIFS_DENT_KEY && key_type != UBIFS_XENT_KEY) { in ubifs_validate_entry() 497 ubifs_err(c, "bad key type %d", key_type); in ubifs_validate_entry()
|
D | tnc_misc.c | 327 switch (key_type(c, &zbr->key)) { in read_znode() 335 i, key_type(c, &zbr->key)); in read_znode() 343 type = key_type(c, &zbr->key); in read_znode() 464 int err, type = key_type(c, key); in ubifs_tnc_read_node()
|
D | tnc.c | 540 ret = try_read_node(c, node, key_type(c, key), zbr); in fallible_read_node() 1214 ubifs_assert(c, key_type(c, key) < UBIFS_INVALID_KEY); in ubifs_lookup_level0() 1594 key_type(c, key) != UBIFS_DATA_KEY) { in ubifs_tnc_get_bu_keys() 1939 key_type(c, dkey) != key_type(c, key)) { in search_dh_cookie() 2162 if (znode->level == 0 && key_type(c, key) == UBIFS_DATA_KEY) { in tnc_insert() 2167 key_type(c, key1) == UBIFS_DATA_KEY) in tnc_insert() 2178 key_type(c, key1) == UBIFS_DATA_KEY) { in tnc_insert() 2181 key_type(c, key1) != UBIFS_DATA_KEY) { in tnc_insert() 2991 int n, err, type = key_type(c, key); in ubifs_tnc_next_ent() 3054 key_type(c, dkey) != type) { in ubifs_tnc_next_ent() [all …]
|
D | key.h | 322 static inline int key_type(const struct ubifs_info *c, in key_type() function 524 int type = key_type(c, key); in is_hash_key()
|
D | orphan.c | 929 if (key_type(c, &zbr->key) != UBIFS_INO_KEY) in dbg_orphan_check() 931 (unsigned long)inum, key_type(c, &zbr->key)); in dbg_orphan_check()
|
D | recovery.c | 1361 switch (key_type(c, key)) { in ubifs_recover_size_accum()
|
D | debug.c | 94 int type = key_type(c, key); in dbg_snprintf_key() 2003 int err, type = key_type(c, &zbr->key); in check_leaf()
|
/fs/btrfs/ |
D | verity.c | 103 static int drop_verity_items(struct btrfs_inode *inode, u8 key_type) in drop_verity_items() argument 129 key.type = key_type; in drop_verity_items() 147 if (key.objectid != btrfs_ino(inode) || key.type != key_type) in drop_verity_items() 211 static int write_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in write_key_bytes() argument 237 key.type = key_type; in write_key_bytes() 291 static int read_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in read_key_bytes() argument 316 key.type = key_type; in read_key_bytes() 333 if (key.objectid != btrfs_ino(inode) || key.type != key_type) in read_key_bytes()
|
D | tree-log.c | 3617 int key_type, u64 dirid, in insert_dir_log_key() argument 3626 if (key_type == BTRFS_DIR_ITEM_KEY) in insert_dir_log_key() 3650 struct btrfs_path *dst_path, int key_type, in log_dir_items() argument 3668 min_key.type = key_type; in log_dir_items() 3677 if (ret != 0 || min_key.objectid != ino || min_key.type != key_type) { in log_dir_items() 3679 min_key.type = key_type; in log_dir_items() 3687 ret = btrfs_previous_item(root, path, ino, key_type); in log_dir_items() 3698 if (key_type == tmp.type) in log_dir_items() 3705 ret = btrfs_previous_item(root, path, ino, key_type); in log_dir_items() 3709 if (key_type == tmp.type) { in log_dir_items() [all …]
|
D | ctree.c | 1574 u64 iobjectid, u64 ioff, u8 key_type, in btrfs_find_item() argument 1584 key.type = key_type; in btrfs_find_item()
|
D | ctree.h | 2906 u64 inum, u64 ioff, u8 key_type, struct btrfs_key *found_key);
|
/fs/crypto/ |
D | inline_crypt.c | 134 crypto_cfg.key_type = in fscrypt_select_encryption_impl() 164 enum blk_crypto_key_type key_type = is_hw_wrapped ? in fscrypt_prepare_inline_crypt_key() 176 err = blk_crypto_init_key(blk_key, raw_key, raw_key_size, key_type, in fscrypt_prepare_inline_crypt_key()
|
D | keyring.c | 157 static struct key_type key_type_fscrypt_user = { 621 static struct key_type key_type_fscrypt_provisioning = {
|
/fs/cifs/ |
D | cifs_spnego.h | 31 extern struct key_type cifs_spnego_key_type;
|
D | cifs_spnego.c | 53 struct key_type cifs_spnego_key_type = {
|
D | cifsacl.c | 96 static struct key_type cifs_idmap_key_type = {
|
/fs/nfs/ |
D | nfs4idmap.c | 59 static struct key_type key_type_id_resolver_legacy; 186 static struct key_type key_type_id_resolver = { 411 static struct key_type key_type_id_resolver_legacy = {
|
/fs/hfsplus/ |
D | hfsplus_raw.h | 180 u8 key_type; member
|
D | btree.c | 206 (head->key_type == HFSPLUS_KEY_BINARY)) in hfs_btree_open()
|