Home
last modified time | relevance | path

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

/fs/
Dcoredump.c59 static int expand_corename(struct core_name *cn) in expand_corename() argument
61 char *old_corename = cn->corename; in expand_corename()
63 cn->size = CORENAME_MAX_SIZE * atomic_inc_return(&call_count); in expand_corename()
64 cn->corename = krealloc(old_corename, cn->size, GFP_KERNEL); in expand_corename()
66 if (!cn->corename) { in expand_corename()
74 static int cn_printf(struct core_name *cn, const char *fmt, ...) in cn_printf() argument
85 if (likely(need < cn->size - cn->used - 1)) in cn_printf()
88 ret = expand_corename(cn); in cn_printf()
93 cur = cn->corename + cn->used; in cn_printf()
97 cn->used += need; in cn_printf()
[all …]
/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.c707 struct cld_net *cn = nn->cld_net; in cld_pipe_downcall() local
723 spin_lock(&cn->cn_lock); in cld_pipe_downcall()
724 list_for_each_entry(tmp, &cn->cn_list, cu_list) { in cld_pipe_downcall()
731 spin_unlock(&cn->cn_lock); in cld_pipe_downcall()
819 struct cld_net *cn; in nfsd4_init_cld_pipe() local
824 cn = kzalloc(sizeof(*cn), GFP_KERNEL); in nfsd4_init_cld_pipe()
825 if (!cn) { in nfsd4_init_cld_pipe()
830 cn->cn_pipe = rpc_mkpipe_data(&cld_upcall_ops, RPC_PIPE_WAIT_FOR_OPEN); in nfsd4_init_cld_pipe()
831 if (IS_ERR(cn->cn_pipe)) { in nfsd4_init_cld_pipe()
832 ret = PTR_ERR(cn->cn_pipe); in nfsd4_init_cld_pipe()
[all …]
/fs/ubifs/
Dlpt.c2227 struct ubifs_cnode *cn; in dbg_check_lpt_nodes() local
2247 cn = nn->nbranch[iip].cnode; in dbg_check_lpt_nodes()
2248 if (cn) { in dbg_check_lpt_nodes()
2254 cnode = cn; in dbg_check_lpt_nodes()