| /fs/ubifs/ |
| A 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() 178 key_type(c, &sa->key) == UBIFS_XENT_KEY); in nondata_nodes_cmp() 180 key_type(c, &sb->key) == UBIFS_XENT_KEY); in nondata_nodes_cmp() 256 key_type(c, &snod->key) == UBIFS_INO_KEY || in sort_nodes() 257 key_type(c, &snod->key) == UBIFS_DENT_KEY || in sort_nodes() 258 key_type(c, &snod->key) == UBIFS_XENT_KEY); in sort_nodes() 275 if (key_type(c, &snod->key) != UBIFS_DATA_KEY) in sort_nodes() [all …]
|
| A 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() 485 int key_type = key_type_flash(c, dent->key); in ubifs_validate_entry() local 491 (key_type == UBIFS_XENT_KEY && strnlen(dent->name, nlen) != nlen) || in ubifs_validate_entry() 493 ubifs_err(c, "bad %s node", key_type == UBIFS_DENT_KEY ? in ubifs_validate_entry() 498 if (key_type != UBIFS_DENT_KEY && key_type != UBIFS_XENT_KEY) { in ubifs_validate_entry() 499 ubifs_err(c, "bad key type %d", key_type); in ubifs_validate_entry()
|
| A D | tnc_misc.c | 349 switch (key_type(c, &zbr->key)) { in read_znode() 357 i, key_type(c, &zbr->key)); in read_znode() 365 type = key_type(c, &zbr->key); in read_znode() 486 int err, type = key_type(c, key); in ubifs_tnc_read_node()
|
| A D | tnc.c | 541 ret = try_read_node(c, node, key_type(c, key), zbr); in fallible_read_node() 1215 ubifs_assert(c, key_type(c, key) < UBIFS_INVALID_KEY); in ubifs_lookup_level0() 1595 key_type(c, key) != UBIFS_DATA_KEY) { in ubifs_tnc_get_bu_keys() 1940 key_type(c, dkey) != key_type(c, key)) { in search_dh_cookie() 2163 if (znode->level == 0 && key_type(c, key) == UBIFS_DATA_KEY) { in tnc_insert() 2168 key_type(c, key1) == UBIFS_DATA_KEY) in tnc_insert() 2179 key_type(c, key1) == UBIFS_DATA_KEY) { in tnc_insert() 2182 key_type(c, key1) != UBIFS_DATA_KEY) { in tnc_insert() 2990 int n, err, type = key_type(c, key); in ubifs_tnc_next_ent() 3053 key_type(c, dkey) != type) { in ubifs_tnc_next_ent() [all …]
|
| A 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()
|
| A D | orphan.c | 823 if (key_type(c, &zbr->key) != UBIFS_INO_KEY && in dbg_orphan_check() 824 key_type(c, &zbr->key) != UBIFS_XENT_KEY) in dbg_orphan_check() 826 (unsigned long)inum, key_type(c, &zbr->key)); in dbg_orphan_check()
|
| A D | recovery.c | 1361 switch (key_type(c, key)) { in ubifs_recover_size_accum()
|
| A D | debug.c | 94 int type = key_type(c, key); in dbg_snprintf_key() 2011 int err, type = key_type(c, &zbr->key); in check_leaf()
|
| /fs/btrfs/ |
| A D | verity.c | 108 static int drop_verity_items(struct btrfs_inode *inode, u8 key_type) in drop_verity_items() argument 134 key.type = key_type; in drop_verity_items() 152 if (key.objectid != btrfs_ino(inode) || key.type != key_type) in drop_verity_items() 216 static int write_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in write_key_bytes() argument 242 key.type = key_type; in write_key_bytes() 296 static int read_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in read_key_bytes() argument 321 key.type = key_type; in read_key_bytes() 338 if (key.objectid != btrfs_ino(inode) || key.type != key_type) in read_key_bytes()
|
| A D | ctree.h | 592 u64 inum, u64 ioff, u8 key_type, struct btrfs_key *found_key);
|
| A D | ctree.c | 1655 u64 iobjectid, u64 ioff, u8 key_type, in btrfs_find_item() argument 1665 key.type = key_type; in btrfs_find_item()
|
| /fs/bcachefs/ |
| A D | str_hash.h | 133 u8 key_type; member 144 return k.k->type == desc.key_type && in is_visible_key() 238 if (k.k->type != desc.key_type && in bch2_hash_needs_whiteout() 242 if (k.k->type == desc.key_type && in bch2_hash_needs_whiteout() 421 if (hash_k.k->type != desc->key_type) in bch2_str_hash_check_key()
|
| A D | str_hash.c | 364 if (k.k->type == desc->key_type && in __bch2_str_hash_check_key()
|
| A D | xattr.c | 66 .key_type = KEY_TYPE_xattr,
|
| A D | dirent.c | 143 .key_type = KEY_TYPE_dirent,
|
| /fs/crypto/ |
| A D | inline_crypt.c | 135 crypto_cfg.key_type = is_hw_wrapped_key ? 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, key_bytes, key_size, key_type, in fscrypt_prepare_inline_crypt_key()
|
| A D | keyring.c | 175 static struct key_type key_type_fscrypt_user = { 672 static struct key_type key_type_fscrypt_provisioning = {
|
| /fs/smb/client/ |
| A D | cifs_spnego.h | 31 extern struct key_type cifs_spnego_key_type;
|
| A D | cifs_spnego.c | 53 struct key_type cifs_spnego_key_type = {
|
| A D | cifsacl.c | 101 static struct key_type cifs_idmap_key_type = {
|
| /fs/nfs/ |
| A 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/ |
| A D | hfsplus_raw.h | 180 u8 key_type; member
|
| A D | btree.c | 206 (head->key_type == HFSPLUS_KEY_BINARY)) in hfs_btree_open()
|