Home
last modified time | relevance | path

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

/fs/ubifs/
Dgc.c138 ubifs_assert(key_type(c, &sa->key) == UBIFS_DATA_KEY); in data_nodes_cmp()
139 ubifs_assert(key_type(c, &sb->key) == UBIFS_DATA_KEY); in data_nodes_cmp()
182 ubifs_assert(key_type(c, &sa->key) != UBIFS_DATA_KEY && in nondata_nodes_cmp()
183 key_type(c, &sb->key) != UBIFS_DATA_KEY); in nondata_nodes_cmp()
196 ubifs_assert(key_type(c, &sa->key) == UBIFS_DENT_KEY || in nondata_nodes_cmp()
197 key_type(c, &sa->key) == UBIFS_XENT_KEY); in nondata_nodes_cmp()
198 ubifs_assert(key_type(c, &sb->key) == UBIFS_DENT_KEY || in nondata_nodes_cmp()
199 key_type(c, &sb->key) == UBIFS_XENT_KEY); in nondata_nodes_cmp()
273 ubifs_assert(key_type(c, &snod->key) == UBIFS_DATA_KEY || in sort_nodes()
274 key_type(c, &snod->key) == UBIFS_INO_KEY || in sort_nodes()
[all …]
Dtnc_misc.c324 switch (key_type(c, &zbr->key)) { in read_znode()
332 i, key_type(c, &zbr->key)); in read_znode()
340 type = key_type(c, &zbr->key); in read_znode()
462 int err, type = key_type(c, key); in ubifs_tnc_read_node()
Dreplay.c237 switch (key_type(c, &r->key)) { in apply_replay_entry()
453 int key_type = key_type_flash(c, dent->key); in ubifs_validate_entry() local
461 ubifs_err("bad %s node", key_type == UBIFS_DENT_KEY ? in ubifs_validate_entry()
466 if (key_type != UBIFS_DENT_KEY && key_type != UBIFS_XENT_KEY) { in ubifs_validate_entry()
467 ubifs_err("bad key type %d", key_type); in ubifs_validate_entry()
Dkey.h327 static inline int key_type(const struct ubifs_info *c, in key_type() function
529 int type = key_type(c, key); in is_hash_key()
Dtnc.c494 ret = try_read_node(c, node, key_type(c, key), zbr->len, zbr->lnum, in fallible_read_node()
1167 ubifs_assert(key_type(c, key) < UBIFS_INVALID_KEY); in ubifs_lookup_level0()
1547 key_type(c, key) != UBIFS_DATA_KEY) { in ubifs_tnc_get_bu_keys()
2003 if (znode->level == 0 && key_type(c, key) == UBIFS_DATA_KEY) { in tnc_insert()
2008 key_type(c, key1) == UBIFS_DATA_KEY) in tnc_insert()
2019 key_type(c, key1) == UBIFS_DATA_KEY) { in tnc_insert()
2022 key_type(c, key1) != UBIFS_DATA_KEY) { in tnc_insert()
2753 int n, err, type = key_type(c, key); in ubifs_tnc_next_ent()
2812 key_type(c, dkey) != type) { in ubifs_tnc_next_ent()
2979 ubifs_assert(key_type(c, key) < UBIFS_INVALID_KEY); in lookup_znode()
Dorphan.c833 if (key_type(c, &zbr->key) != UBIFS_INO_KEY) in dbg_orphan_check()
835 (unsigned long)inum, key_type(c, &zbr->key)); in dbg_orphan_check()
Drecovery.c1380 switch (key_type(c, key)) { in ubifs_recover_size_accum()
Ddebug.c105 int type = key_type(c, key); in dbg_snprintf_key()
1984 int err, type = key_type(c, &zbr->key); in check_leaf()
/fs/btrfs/
Dtree-log.c1740 u64 dirid, int key_type, in find_dir_range() argument
1753 key.type = key_type; in find_dir_range()
1767 if (key.type != key_type || key.objectid != dirid) { in find_dir_range()
1794 if (key.type != key_type || key.objectid != dirid) { in find_dir_range()
1940 int key_type = BTRFS_DIR_LOG_ITEM_KEY; in replay_dir_deletes() local
1969 ret = find_dir_range(log, path, dirid, key_type, in replay_dir_deletes()
2015 if (key_type == BTRFS_DIR_LOG_ITEM_KEY) { in replay_dir_deletes()
2016 key_type = BTRFS_DIR_LOG_INDEX_KEY; in replay_dir_deletes()
2941 int key_type, u64 dirid, in insert_dir_log_key() argument
2950 if (key_type == BTRFS_DIR_ITEM_KEY) in insert_dir_log_key()
[all …]
Dinode.c5339 int key_type = BTRFS_DIR_INDEX_KEY; in btrfs_real_readdir() local
5348 key_type = BTRFS_DIR_ITEM_KEY; in btrfs_real_readdir()
5359 if (key_type == BTRFS_DIR_INDEX_KEY) { in btrfs_real_readdir()
5365 key.type = key_type; in btrfs_real_readdir()
5391 if (found_key.type != key_type) in btrfs_real_readdir()
5395 if (key_type == BTRFS_DIR_INDEX_KEY && in btrfs_real_readdir()
5463 if (key_type == BTRFS_DIR_INDEX_KEY) { in btrfs_real_readdir()
5500 if (key_type == BTRFS_DIR_INDEX_KEY) { in btrfs_real_readdir()
5509 if (key_type == BTRFS_DIR_INDEX_KEY) in btrfs_real_readdir()
Dctree.c2614 u64 iobjectid, u64 ioff, u8 key_type, in btrfs_find_item() argument
2623 key.type = key_type; in btrfs_find_item()
Dctree.h3492 u64 inum, u64 ioff, u8 key_type, struct btrfs_key *found_key);
/fs/cifs/
Dcifs_spnego.h43 extern struct key_type cifs_spnego_key_type;
Dcifs_spnego.c65 struct key_type cifs_spnego_key_type = {
Dcifsacl.c82 static struct key_type cifs_idmap_key_type = {
/fs/nfs/
Didmap.c57 static struct key_type key_type_id_resolver_legacy;
175 static struct key_type key_type_id_resolver = {
398 static struct key_type key_type_id_resolver_legacy = {
/fs/hfsplus/
Dhfsplus_raw.h179 u8 key_type; member
Dbtree.c205 (head->key_type == HFSPLUS_KEY_BINARY)) in hfs_btree_open()