Home
last modified time | relevance | path

Searched refs:key_type (Results 1 – 19 of 19) sorted by relevance

/fs/ubifs/
Dgc.c119 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 …]
Dreplay.c218 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()
Dtnc_misc.c327 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()
Dtnc.c541 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()
2992 int n, err, type = key_type(c, key); in ubifs_tnc_next_ent()
3055 key_type(c, dkey) != type) { in ubifs_tnc_next_ent()
[all …]
Dkey.h322 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()
Dorphan.c929 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()
Drecovery.c1361 switch (key_type(c, key)) { in ubifs_recover_size_accum()
Ddebug.c94 int type = key_type(c, key); in dbg_snprintf_key()
2003 int err, type = key_type(c, &zbr->key); in check_leaf()
/fs/btrfs/
Dverity.c109 static int drop_verity_items(struct btrfs_inode *inode, u8 key_type) in drop_verity_items() argument
135 key.type = key_type; in drop_verity_items()
153 if (key.objectid != btrfs_ino(inode) || key.type != key_type) in drop_verity_items()
217 static int write_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in write_key_bytes() argument
243 key.type = key_type; in write_key_bytes()
297 static int read_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in read_key_bytes() argument
322 key.type = key_type; in read_key_bytes()
339 if (key.objectid != btrfs_ino(inode) || key.type != key_type) in read_key_bytes()
Dctree.h563 u64 inum, u64 ioff, u8 key_type, struct btrfs_key *found_key);
Dctree.c1791 u64 iobjectid, u64 ioff, u8 key_type, in btrfs_find_item() argument
1801 key.type = key_type; in btrfs_find_item()
/fs/crypto/
Dinline_crypt.c134 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()
Dkeyring.c169 static struct key_type key_type_fscrypt_user = {
640 static struct key_type key_type_fscrypt_provisioning = {
/fs/smb/client/
Dcifs_spnego.h31 extern struct key_type cifs_spnego_key_type;
Dcifs_spnego.c53 struct key_type cifs_spnego_key_type = {
Dcifsacl.c101 static struct key_type cifs_idmap_key_type = {
/fs/nfs/
Dnfs4idmap.c59 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/
Dhfsplus_raw.h180 u8 key_type; member
Dbtree.c206 (head->key_type == HFSPLUS_KEY_BINARY)) in hfs_btree_open()