Home
last modified time | relevance | path

Searched refs:nnode (Results 1 – 12 of 12) sorted by relevance

/openbmc/u-boot/fs/ubifs/
H A Dlpt.c379 struct ubifs_nnode *nnode) in ubifs_pack_nnode() argument
387 pack_bits(&addr, &pos, nnode->num, c->pcnt_bits); in ubifs_pack_nnode()
389 int lnum = nnode->nbranch[i].lnum; in ubifs_pack_nnode()
394 pack_bits(&addr, &pos, nnode->nbranch[i].offs, in ubifs_pack_nnode()
489 void ubifs_add_nnode_dirt(struct ubifs_info *c, struct ubifs_nnode *nnode) in ubifs_add_nnode_dirt() argument
491 struct ubifs_nnode *np = nnode->parent; in ubifs_add_nnode_dirt()
494 ubifs_add_lpt_dirt(c, np->nbranch[nnode->iip].lnum, in ubifs_add_nnode_dirt()
609 struct ubifs_nnode *nnode = NULL; in ubifs_create_dflt_lpt() local
628 nnode = kzalloc(sizeof(struct ubifs_nnode), GFP_KERNEL); in ubifs_create_dflt_lpt()
631 if (!pnode || !nnode || !buf || !ltab || !lsave) { in ubifs_create_dflt_lpt()
[all …]
H A Dlpt_commit.c38 static struct ubifs_cnode *first_dirty_cnode(struct ubifs_nnode *nnode) in first_dirty_cnode() argument
40 ubifs_assert(nnode); in first_dirty_cnode()
47 cnode = nnode->nbranch[i].cnode; in first_dirty_cnode()
52 nnode = (struct ubifs_nnode *)cnode; in first_dirty_cnode()
58 return (struct ubifs_cnode *)nnode; in first_dirty_cnode()
70 struct ubifs_nnode *nnode; in next_dirty_cnode() local
74 nnode = cnode->parent; in next_dirty_cnode()
75 if (!nnode) in next_dirty_cnode()
78 cnode = nnode->nbranch[i].cnode; in next_dirty_cnode()
86 return (struct ubifs_cnode *)nnode; in next_dirty_cnode()
[all …]
H A Dubifs.h1187 struct ubifs_nnode *nnode; member
2304 struct ubifs_nnode *nnode);
2311 void ubifs_add_nnode_dirt(struct ubifs_info *c, struct ubifs_nnode *nnode);
2316 struct ubifs_nnode *nnode);
/openbmc/linux/fs/ubifs/
H A Dlpt.c374 struct ubifs_nnode *nnode) in ubifs_pack_nnode() argument
382 pack_bits(c, &addr, &pos, nnode->num, c->pcnt_bits); in ubifs_pack_nnode()
384 int lnum = nnode->nbranch[i].lnum; in ubifs_pack_nnode()
389 pack_bits(c, &addr, &pos, nnode->nbranch[i].offs, in ubifs_pack_nnode()
484 void ubifs_add_nnode_dirt(struct ubifs_info *c, struct ubifs_nnode *nnode) in ubifs_add_nnode_dirt() argument
486 struct ubifs_nnode *np = nnode->parent; in ubifs_add_nnode_dirt()
489 ubifs_add_lpt_dirt(c, np->nbranch[nnode->iip].lnum, in ubifs_add_nnode_dirt()
605 struct ubifs_nnode *nnode = NULL; in ubifs_create_dflt_lpt() local
629 nnode = kzalloc(sizeof(struct ubifs_nnode), GFP_KERNEL); in ubifs_create_dflt_lpt()
633 if (!pnode || !nnode || !buf || !ltab || !lsave) { in ubifs_create_dflt_lpt()
[all …]
H A Dlpt_commit.c30 static struct ubifs_cnode *first_dirty_cnode(const struct ubifs_info *c, struct ubifs_nnode *nnode) in first_dirty_cnode() argument
32 ubifs_assert(c, nnode); in first_dirty_cnode()
39 cnode = nnode->nbranch[i].cnode; in first_dirty_cnode()
44 nnode = (struct ubifs_nnode *)cnode; in first_dirty_cnode()
50 return (struct ubifs_cnode *)nnode; in first_dirty_cnode()
63 struct ubifs_nnode *nnode; in next_dirty_cnode() local
67 nnode = cnode->parent; in next_dirty_cnode()
68 if (!nnode) in next_dirty_cnode()
71 cnode = nnode->nbranch[i].cnode; in next_dirty_cnode()
79 return (struct ubifs_cnode *)nnode; in next_dirty_cnode()
[all …]
H A Dubifs.h601 struct ubifs_nnode *nnode; member
1980 struct ubifs_nnode *nnode);
1988 void ubifs_add_nnode_dirt(struct ubifs_info *c, struct ubifs_nnode *nnode);
1993 struct ubifs_nnode *nnode);
/openbmc/u-boot/scripts/dtc/libfdt/
H A Dfdt_overlay.c627 int nnode; in overlay_apply_node() local
630 nnode = fdt_add_subnode(fdt, target, name); in overlay_apply_node()
631 if (nnode == -FDT_ERR_EXISTS) { in overlay_apply_node()
632 nnode = fdt_subnode_offset(fdt, target, name); in overlay_apply_node()
633 if (nnode == -FDT_ERR_NOTFOUND) in overlay_apply_node()
637 if (nnode < 0) in overlay_apply_node()
638 return nnode; in overlay_apply_node()
640 ret = overlay_apply_node(fdt, nnode, fdto, subnode); in overlay_apply_node()
/openbmc/linux/scripts/dtc/libfdt/
H A Dfdt_overlay.c568 int nnode; in overlay_apply_node() local
571 nnode = fdt_add_subnode(fdt, target, name); in overlay_apply_node()
572 if (nnode == -FDT_ERR_EXISTS) { in overlay_apply_node()
573 nnode = fdt_subnode_offset(fdt, target, name); in overlay_apply_node()
574 if (nnode == -FDT_ERR_NOTFOUND) in overlay_apply_node()
578 if (nnode < 0) in overlay_apply_node()
579 return nnode; in overlay_apply_node()
581 ret = overlay_apply_node(fdt, nnode, fdto, subnode); in overlay_apply_node()
/openbmc/linux/drivers/md/
H A Ddm-dust.c243 struct rb_node *node = NULL, *nnode = NULL; in __dust_clear_badblocks() local
245 nnode = rb_first(tree); in __dust_clear_badblocks()
246 if (nnode == NULL) { in __dust_clear_badblocks()
251 while (nnode) { in __dust_clear_badblocks()
252 node = nnode; in __dust_clear_badblocks()
253 nnode = rb_next(node); in __dust_clear_badblocks()
/openbmc/linux/Documentation/bpf/
H A Dmap_lru_hash_update.dot27 label="Local freelist\nnode available?"];
58 label="Try to remove\nnode from hashtab"]
76 label="Try to remove\nnode from hashtab"]
/openbmc/linux/drivers/rapidio/
H A Drio-scan.c960 if (mport->nnode.next || mport->nnode.prev) in rio_enum_mport()
/openbmc/linux/include/linux/
H A Drio.h269 struct list_head nnode; /* node in net list of ports */ member