Home
last modified time | relevance | path

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

/fs/
Dcoredump.c67 static int expand_corename(struct core_name *cn, int size) in expand_corename() argument
69 char *corename = krealloc(cn->corename, size, GFP_KERNEL); in expand_corename()
77 cn->size = ksize(corename); in expand_corename()
78 cn->corename = corename; in expand_corename()
82 static __printf(2, 0) int cn_vprintf(struct core_name *cn, const char *fmt, in cn_vprintf() argument
89 free = cn->size - cn->used; in cn_vprintf()
92 need = vsnprintf(cn->corename + cn->used, free, fmt, arg_copy); in cn_vprintf()
96 cn->used += need; in cn_vprintf()
100 if (!expand_corename(cn, cn->size + need - free + 1)) in cn_vprintf()
106 static __printf(2, 3) int cn_printf(struct core_name *cn, const char *fmt, ...) in cn_printf() argument
[all …]
/fs/reiserfs/
Djournal.c92 static int can_dirty(struct reiserfs_journal_cnode *cn);
371 struct reiserfs_journal_cnode *cn; in get_cnode() local
381 cn = journal->j_cnode_free_list; in get_cnode()
382 if (!cn) { in get_cnode()
383 return cn; in get_cnode()
385 if (cn->next) { in get_cnode()
386 cn->next->prev = NULL; in get_cnode()
388 journal->j_cnode_free_list = cn->next; in get_cnode()
389 memset(cn, 0, sizeof(struct reiserfs_journal_cnode)); in get_cnode()
390 return cn; in get_cnode()
[all …]
/fs/nfsd/
Dnfs4recover.c806 struct cld_net *cn = nn->cld_net; in __cld_pipe_inprogress_downcall() local
847 cn->cn_has_legacy = true; in __cld_pipe_inprogress_downcall()
868 struct cld_net *cn = nn->cld_net; in cld_pipe_downcall() local
895 spin_lock(&cn->cn_lock); in cld_pipe_downcall()
896 list_for_each_entry(tmp, &cn->cn_list, cu_list) { in cld_pipe_downcall()
904 spin_unlock(&cn->cn_lock); in cld_pipe_downcall()
995 struct cld_net *cn; in __nfsd4_init_cld_pipe() local
1000 cn = kzalloc(sizeof(*cn), GFP_KERNEL); in __nfsd4_init_cld_pipe()
1001 if (!cn) { in __nfsd4_init_cld_pipe()
1006 cn->cn_pipe = rpc_mkpipe_data(&cld_upcall_ops, RPC_PIPE_WAIT_FOR_OPEN); in __nfsd4_init_cld_pipe()
[all …]
/fs/ubifs/
Dlpt.c2384 struct ubifs_cnode *cn; in dbg_check_lpt_nodes() local
2404 cn = nn->nbranch[iip].cnode; in dbg_check_lpt_nodes()
2405 if (cn) { in dbg_check_lpt_nodes()
2411 cnode = cn; in dbg_check_lpt_nodes()