Home
last modified time | relevance | path

Searched refs:b_node (Results 1 – 8 of 8) sorted by relevance

/openbmc/u-boot/fs/jffs2/
H A Djffs2_private.h7 struct b_node { struct
9 struct b_node *next; argument
14 struct b_node *listTail; argument
15 struct b_node *listHead;
17 struct b_node *listLast;
18 int (*listCompare)(struct b_node *new, struct b_node *node);
H A Djffs2_nand_private.h6 struct b_node { struct
7 struct b_node *next; argument
31 struct b_node *listTail;
32 struct b_node *listHead;
H A Djffs2_nand_1pass.c62 static struct b_node *
67 struct b_node *b; in add_node()
84 b = (struct b_node *)&memBase->nodes[size * index]; in add_node()
93 static struct b_node *
94 insert_node(struct b_list *list, struct b_node *new) in insert_node()
97 struct b_node *b, *prev; in insert_node()
123 new->next = (struct b_node *) NULL; in insert_node()
135 static struct b_node *
150 return insert_node(list, (struct b_node *)new); in insert_inode()
153 static struct b_node *
[all …]
H A Djffs2_1pass.c497 struct b_node nodes[NODE_CHUNK];
511 static struct b_node *
516 struct b_node *b; in add_node()
550 static struct b_node *
553 struct b_node *new; in insert_node()
575 static int compare_inodes(struct b_node *new, struct b_node *old) in compare_inodes()
596 static int compare_dirents(struct b_node *new, struct b_node *old) in compare_dirents()
677 struct b_node *b; in jffs2_1pass_read_inode()
821 struct b_node *b; in jffs2_1pass_find_inode()
951 struct b_node *b; in jffs2_1pass_list_inodes()
[all …]
H A Dmergesort.c15 struct b_node *p, *q, *e, **tail; in sort_list()
/openbmc/linux/lib/
H A Dmaple_tree.c1805 static inline void mab_shift_right(struct maple_big_node *b_node, in mab_shift_right() argument
1808 unsigned long size = b_node->b_end * sizeof(unsigned long); in mab_shift_right()
1810 memmove(b_node->pivot + shift, b_node->pivot, size); in mab_shift_right()
1811 memmove(b_node->slot + shift, b_node->slot, size); in mab_shift_right()
1812 if (b_node->type == maple_arange_64) in mab_shift_right()
1813 memmove(b_node->gap + shift, b_node->gap, size); in mab_shift_right()
1825 static inline bool mab_middle_node(struct maple_big_node *b_node, int split, in mab_middle_node() argument
1828 unsigned char size = b_node->b_end; in mab_middle_node()
1833 if (!b_node->slot[split] && (size >= 2 * slot_count - 1)) in mab_middle_node()
1847 static inline int mab_no_null_split(struct maple_big_node *b_node, in mab_no_null_split() argument
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dmdesc.c434 u64 b_node; in invoke_on_missing() local
461 mdesc_for_each_node_by_name(b, b_node, name) { in invoke_on_missing()
462 rv = get_info_func(b, b_node, &b_node_info); in invoke_on_missing()
/openbmc/linux/fs/btrfs/
H A Ddisk-io.c728 static int global_root_cmp(struct rb_node *a_node, const struct rb_node *b_node) in global_root_cmp() argument
731 const struct btrfs_root *b = rb_entry(b_node, struct btrfs_root, rb_node); in global_root_cmp()