Searched refs:nd (Results 1 – 4 of 4) sorted by relevance
/fs/ |
D | namei.c | 553 static bool nd_alloc_stack(struct nameidata *nd) in nd_alloc_stack() argument 558 nd->flags & LOOKUP_RCU ? GFP_ATOMIC : GFP_KERNEL); in nd_alloc_stack() 561 memcpy(p, nd->internal, sizeof(nd->internal)); in nd_alloc_stack() 562 nd->stack = p; in nd_alloc_stack() 583 static void drop_links(struct nameidata *nd) in drop_links() argument 585 int i = nd->depth; in drop_links() 587 struct saved *last = nd->stack + i; in drop_links() 593 static void terminate_walk(struct nameidata *nd) in terminate_walk() argument 595 drop_links(nd); in terminate_walk() 596 if (!(nd->flags & LOOKUP_RCU)) { in terminate_walk() [all …]
|
/fs/dlm/ |
D | config.c | 529 struct dlm_node *nd; in make_node() local 531 nd = kzalloc(sizeof(struct dlm_node), GFP_NOFS); in make_node() 532 if (!nd) in make_node() 535 config_item_init_type_name(&nd->item, name, &node_type); in make_node() 536 nd->nodeid = -1; in make_node() 537 nd->weight = 1; /* default weight of 1 if none is set */ in make_node() 538 nd->new = 1; /* set to 0 once it's been read by dlm_nodeid_list() */ in make_node() 541 list_add(&nd->list, &sp->members); in make_node() 545 return &nd->item; in make_node() 551 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()
|