Home
last modified time | relevance | path

Searched refs:cpu_key (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/fs/reiserfs/
Dstree.c45 const struct cpu_key *cpu_key) in comp_short_keys() argument
49 if (n < cpu_key->on_disk_key.k_dir_id) in comp_short_keys()
51 if (n > cpu_key->on_disk_key.k_dir_id) in comp_short_keys()
54 if (n < cpu_key->on_disk_key.k_objectid) in comp_short_keys()
56 if (n > cpu_key->on_disk_key.k_objectid) in comp_short_keys()
69 const struct cpu_key *cpu_key) in comp_keys() argument
73 retval = comp_short_keys(le_key, cpu_key); in comp_keys()
77 cpu_key_k_offset(cpu_key)) in comp_keys()
80 cpu_key_k_offset(cpu_key)) in comp_keys()
83 if (cpu_key->key_length == 3) in comp_keys()
[all …]
Dtail_conversion.c35 struct cpu_key end_key; in direct2indirect()
205 const struct cpu_key *item_key, /* Key to look for in indirect2direct()
217 struct cpu_key key; in indirect2direct()
Dreiserfs.h1306 struct cpu_key { struct
1582 static inline loff_t cpu_key_k_offset(const struct cpu_key *key) in cpu_key_k_offset()
1587 static inline loff_t cpu_key_k_type(const struct cpu_key *key) in cpu_key_k_type()
1592 static inline void set_cpu_key_k_offset(struct cpu_key *key, loff_t offset) in set_cpu_key_k_offset()
1597 static inline void set_cpu_key_k_type(struct cpu_key *key, int type) in set_cpu_key_k_type()
1602 static inline void cpu_key_k_offset_dec(struct cpu_key *key) in cpu_key_k_offset_dec()
1995 struct cpu_key de_entry_key;
2628 void (*decrement_key) (struct cpu_key *);
2970 const struct cpu_key *cpu_key);
2971 extern void le_key2cpu_key(struct cpu_key *to, const struct reiserfs_key *from);
[all …]
Ditem_ops.c24 static void sd_decrement_key(struct cpu_key *key) in sd_decrement_key()
120 static void direct_decrement_key(struct cpu_key *key) in direct_decrement_key()
211 static void indirect_decrement_key(struct cpu_key *key) in indirect_decrement_key()
356 static void direntry_decrement_key(struct cpu_key *key) in direntry_decrement_key()
643 static void errcatch_decrement_key(struct cpu_key *key) in errcatch_decrement_key()
Dinode.c111 static void _make_cpu_key(struct cpu_key *key, int version, __u32 dirid, in _make_cpu_key()
127 void make_cpu_key(struct cpu_key *key, struct inode *inode, loff_t offset, in make_cpu_key()
137 inline void make_le_item_head(struct item_head *ih, const struct cpu_key *key, in make_le_item_head()
289 struct cpu_key key; in _get_block_create_0()
657 struct cpu_key key; in reiserfs_get_block()
845 struct cpu_key tmp_key; in reiserfs_get_block()
1002 struct cpu_key tmp_key; in reiserfs_get_block()
1440 struct cpu_key key; in reiserfs_update_sd_size()
1536 struct cpu_key key; in reiserfs_read_locked_inode()
1628 struct inode *reiserfs_iget(struct super_block *s, const struct cpu_key *key) in reiserfs_iget()
[all …]
Dprints.c17 static char *reiserfs_cpu_offset(struct cpu_key *key) in reiserfs_cpu_offset()
48 static char *cpu_type(struct cpu_key *key) in cpu_type()
91 static int scnprintf_cpu_key(char *buf, size_t size, struct cpu_key *key) in scnprintf_cpu_key()
230 va_arg(args, struct cpu_key *)); in prepare_error_buf()
Dnamei.c120 int search_by_entry_key(struct super_block *sb, const struct cpu_key *key, in search_by_entry_key()
227 static int linear_search_in_dir_item(struct cpu_key *key, in linear_search_in_dir_item()
309 struct cpu_key key_to_search; in reiserfs_find_entry()
373 (struct cpu_key *)&de.de_dir_id); in reiserfs_lookup()
421 inode = reiserfs_iget(dir->i_sb, (struct cpu_key *)&de.de_dir_id); in reiserfs_get_parent()
437 struct cpu_key entry_key; in reiserfs_add_entry()
Ddir.c64 struct cpu_key pos_key; in reiserfs_readdir_inode()
Dsuper.c228 struct cpu_key max_cpu_key, obj_key; in finish_unfinished()
434 struct cpu_key key; in add_save_link()
1726 struct cpu_key key; in find_hash_out()
Dfix_node.c1006 static void decrement_key(struct cpu_key *key) in decrement_key()
1031 struct cpu_key s_lr_father_key; in get_far_parent()
/linux-6.1.9/fs/btrfs/
Ddir-item.c22 struct btrfs_key *cpu_key, in insert_with_overflow() argument
32 ret = btrfs_insert_empty_item(trans, root, path, cpu_key, data_size); in insert_with_overflow()
Dctree.h2287 static inline void btrfs_disk_key_to_cpu(struct btrfs_key *cpu_key, in btrfs_disk_key_to_cpu() argument
2290 memcpy(cpu_key, disk_key, sizeof(struct btrfs_key)); in btrfs_disk_key_to_cpu()
2294 const struct btrfs_key *cpu_key) in btrfs_cpu_key_to_disk() argument
2296 memcpy(disk_key, cpu_key, sizeof(struct btrfs_key)); in btrfs_cpu_key_to_disk()
2300 struct btrfs_key *cpu_key, int nr) in btrfs_node_key_to_cpu() argument
2302 struct btrfs_disk_key *disk_key = (struct btrfs_disk_key *)cpu_key; in btrfs_node_key_to_cpu()
2308 struct btrfs_key *cpu_key, int nr) in btrfs_item_key_to_cpu() argument
2310 struct btrfs_disk_key *disk_key = (struct btrfs_disk_key *)cpu_key; in btrfs_item_key_to_cpu()
2317 struct btrfs_key *cpu_key) in btrfs_dir_item_key_to_cpu() argument
2319 struct btrfs_disk_key *disk_key = (struct btrfs_disk_key *)cpu_key; in btrfs_dir_item_key_to_cpu()
Dctree.c4137 const struct btrfs_key *cpu_key, void *data, in btrfs_insert_item() argument
4148 ret = btrfs_insert_empty_item(trans, root, path, cpu_key, data_size); in btrfs_insert_item()