Searched refs:nd (Results 1 – 4 of 4) sorted by relevance
/fs/ |
D | namei.c | 629 static bool nd_alloc_stack(struct nameidata *nd) in nd_alloc_stack() argument 634 nd->flags & LOOKUP_RCU ? GFP_ATOMIC : GFP_KERNEL); in nd_alloc_stack() 637 memcpy(p, nd->internal, sizeof(nd->internal)); in nd_alloc_stack() 638 nd->stack = p; in nd_alloc_stack() 659 static void drop_links(struct nameidata *nd) in drop_links() argument 661 int i = nd->depth; in drop_links() 663 struct saved *last = nd->stack + i; in drop_links() 669 static void terminate_walk(struct nameidata *nd) in terminate_walk() argument 671 drop_links(nd); in terminate_walk() 672 if (!(nd->flags & LOOKUP_RCU)) { in terminate_walk() [all …]
|
/fs/dlm/ |
D | config.c | 560 struct dlm_node *nd; in make_node() local 562 nd = kzalloc(sizeof(struct dlm_node), GFP_NOFS); in make_node() 563 if (!nd) in make_node() 566 config_item_init_type_name(&nd->item, name, &node_type); in make_node() 567 nd->nodeid = -1; in make_node() 568 nd->weight = 1; /* default weight of 1 if none is set */ in make_node() 569 nd->new = 1; /* set to 0 once it's been read by dlm_nodeid_list() */ in make_node() 572 list_add(&nd->list, &sp->members); in make_node() 576 return &nd->item; in make_node() 582 struct dlm_node *nd = config_item_to_node(i); in drop_node() local [all …]
|
/fs/hpfs/ |
D | dnode.c | 242 struct dnode *d, *ad, *rd, *nd = NULL; in hpfs_add_to_dnode() local 259 kfree(nd); in hpfs_add_to_dnode() 264 kfree(nd); in hpfs_add_to_dnode() 272 kfree(nd); in hpfs_add_to_dnode() 285 kfree(nd); in hpfs_add_to_dnode() 289 if (!nd) if (!(nd = kmalloc(0x924, GFP_NOFS))) { in hpfs_add_to_dnode() 300 memcpy(nd, d, le32_to_cpu(d->first_free)); in hpfs_add_to_dnode() 301 copy_de(de = hpfs_add_de(i->i_sb, nd, name, namelen, down_ptr), new_de); in hpfs_add_to_dnode() 302 for_all_poss(i, hpfs_pos_ins, get_pos(nd, de), 1); in hpfs_add_to_dnode() 303 h = ((char *)dnode_last_de(nd) - (char *)nd) / 2 + 10; in hpfs_add_to_dnode() [all …]
|
/fs/jfs/ |
D | jfs_dtree.c | 4070 int xssi, ns, nd; in dtMoveEntry() local 4091 ns = nd = 0; in dtMoveEntry() 4160 nd++; in dtMoveEntry() 4198 nd++; in dtMoveEntry() 4230 dlv->length = nd; in dtMoveEntry() 4236 sp->header.freecnt += nd; in dtMoveEntry() 4242 dp->header.freecnt -= nd; in dtMoveEntry()
|