Home
last modified time | relevance | path

Searched refs:key_type (Results 1 – 20 of 20) 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.c540 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 …]
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.c103 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()
Dtree-log.c3617 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 …]
Dctree.c1574 u64 iobjectid, u64 ioff, u8 key_type, in btrfs_find_item() argument
1584 key.type = key_type; in btrfs_find_item()
Dctree.h2906 u64 inum, u64 ioff, u8 key_type, struct btrfs_key *found_key);
/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.c157 static struct key_type key_type_fscrypt_user = {
621 static struct key_type key_type_fscrypt_provisioning = {
/fs/cifs/
Dcifs_spnego.h31 extern struct key_type cifs_spnego_key_type;
Dcifs_spnego.c53 struct key_type cifs_spnego_key_type = {
Dcifsacl.c96 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()