Home
last modified time | relevance | path

Searched refs:cn (Results 1 – 4 of 4) sorted by relevance

/fs/reiserfs/
Djournal.c97 static int can_dirty(struct reiserfs_journal_cnode *cn);
373 struct reiserfs_journal_cnode *cn; in get_cnode() local
383 cn = journal->j_cnode_free_list; in get_cnode()
384 if (!cn) { in get_cnode()
385 return cn; in get_cnode()
387 if (cn->next) { in get_cnode()
388 cn->next->prev = NULL; in get_cnode()
390 journal->j_cnode_free_list = cn->next; in get_cnode()
391 memset(cn, 0, sizeof(struct reiserfs_journal_cnode)); in get_cnode()
392 return cn; in get_cnode()
[all …]
/fs/nfsd/
Dnfs4recover.c577 struct cld_net *cn = nn->cld_net; in cld_pipe_downcall() local
593 spin_lock(&cn->cn_lock); in cld_pipe_downcall()
594 list_for_each_entry(tmp, &cn->cn_list, cu_list) { in cld_pipe_downcall()
601 spin_unlock(&cn->cn_lock); in cld_pipe_downcall()
689 struct cld_net *cn; in nfsd4_init_cld_pipe() local
694 cn = kzalloc(sizeof(*cn), GFP_KERNEL); in nfsd4_init_cld_pipe()
695 if (!cn) { in nfsd4_init_cld_pipe()
700 cn->cn_pipe = rpc_mkpipe_data(&cld_upcall_ops, RPC_PIPE_WAIT_FOR_OPEN); in nfsd4_init_cld_pipe()
701 if (IS_ERR(cn->cn_pipe)) { in nfsd4_init_cld_pipe()
702 ret = PTR_ERR(cn->cn_pipe); in nfsd4_init_cld_pipe()
[all …]
/fs/
Dexec.c1666 static int expand_corename(struct core_name *cn) in expand_corename() argument
1668 char *old_corename = cn->corename; in expand_corename()
1670 cn->size = CORENAME_MAX_SIZE * atomic_inc_return(&call_count); in expand_corename()
1671 cn->corename = krealloc(old_corename, cn->size, GFP_KERNEL); in expand_corename()
1673 if (!cn->corename) { in expand_corename()
1681 static int cn_printf(struct core_name *cn, const char *fmt, ...) in cn_printf() argument
1692 if (likely(need < cn->size - cn->used - 1)) in cn_printf()
1695 ret = expand_corename(cn); in cn_printf()
1700 cur = cn->corename + cn->used; in cn_printf()
1704 cn->used += need; in cn_printf()
[all …]
/fs/ubifs/
Dlpt.c2225 struct ubifs_cnode *cn; in dbg_check_lpt_nodes() local
2245 cn = nn->nbranch[iip].cnode; in dbg_check_lpt_nodes()
2246 if (cn) { in dbg_check_lpt_nodes()
2252 cnode = cn; in dbg_check_lpt_nodes()