Searched refs:nd (Results 1 – 4 of 4) sorted by relevance
/fs/ |
D | namei.c | 546 static int __nd_alloc_stack(struct nameidata *nd) in __nd_alloc_stack() argument 550 if (nd->flags & LOOKUP_RCU) { in __nd_alloc_stack() 561 memcpy(p, nd->internal, sizeof(nd->internal)); in __nd_alloc_stack() 562 nd->stack = p; in __nd_alloc_stack() 585 static inline int nd_alloc_stack(struct nameidata *nd) in nd_alloc_stack() argument 587 if (likely(nd->depth != EMBEDDED_LEVELS)) in nd_alloc_stack() 589 if (likely(nd->stack != nd->internal)) in nd_alloc_stack() 591 return __nd_alloc_stack(nd); in nd_alloc_stack() 594 static void drop_links(struct nameidata *nd) in drop_links() argument 596 int i = nd->depth; in drop_links() [all …]
|
/fs/dlm/ |
D | config.c | 491 struct dlm_node *nd; in make_node() local 493 nd = kzalloc(sizeof(struct dlm_node), GFP_NOFS); in make_node() 494 if (!nd) in make_node() 497 config_item_init_type_name(&nd->item, name, &node_type); in make_node() 498 nd->nodeid = -1; in make_node() 499 nd->weight = 1; /* default weight of 1 if none is set */ in make_node() 500 nd->new = 1; /* set to 0 once it's been read by dlm_nodeid_list() */ in make_node() 503 list_add(&nd->list, &sp->members); in make_node() 507 return &nd->item; in make_node() 513 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 | 4065 int xssi, ns, nd; in dtMoveEntry() local 4086 ns = nd = 0; in dtMoveEntry() 4155 nd++; in dtMoveEntry() 4193 nd++; in dtMoveEntry() 4225 dlv->length = nd; in dtMoveEntry() 4231 sp->header.freecnt += nd; in dtMoveEntry() 4237 dp->header.freecnt -= nd; in dtMoveEntry()
|