Searched refs:cn (Results 1 – 6 of 6) sorted by relevance
/fs/ |
D | coredump.c | 71 static int expand_corename(struct core_name *cn, int size) in expand_corename() argument 73 char *corename = krealloc(cn->corename, size, GFP_KERNEL); in expand_corename() 81 cn->size = ksize(corename); in expand_corename() 82 cn->corename = corename; in expand_corename() 86 static __printf(2, 0) int cn_vprintf(struct core_name *cn, const char *fmt, in cn_vprintf() argument 93 free = cn->size - cn->used; in cn_vprintf() 96 need = vsnprintf(cn->corename + cn->used, free, fmt, arg_copy); in cn_vprintf() 100 cn->used += need; in cn_vprintf() 104 if (!expand_corename(cn, cn->size + need - free + 1)) in cn_vprintf() 110 static __printf(2, 3) int cn_printf(struct core_name *cn, const char *fmt, ...) in cn_printf() argument [all …]
|
/fs/reiserfs/ |
D | journal.c | 90 static int can_dirty(struct reiserfs_journal_cnode *cn); 369 struct reiserfs_journal_cnode *cn; in get_cnode() local 379 cn = journal->j_cnode_free_list; in get_cnode() 380 if (!cn) { in get_cnode() 381 return cn; in get_cnode() 383 if (cn->next) { in get_cnode() 384 cn->next->prev = NULL; in get_cnode() 386 journal->j_cnode_free_list = cn->next; in get_cnode() 387 memset(cn, 0, sizeof(struct reiserfs_journal_cnode)); in get_cnode() 388 return cn; in get_cnode() [all …]
|
/fs/nfsd/ |
D | nfs4recover.c | 796 struct cld_net *cn = nn->cld_net; in __cld_pipe_inprogress_downcall() local 839 cn->cn_has_legacy = true; in __cld_pipe_inprogress_downcall() 860 struct cld_net *cn = nn->cld_net; in cld_pipe_downcall() local 887 spin_lock(&cn->cn_lock); in cld_pipe_downcall() 888 list_for_each_entry(tmp, &cn->cn_list, cu_list) { in cld_pipe_downcall() 896 spin_unlock(&cn->cn_lock); in cld_pipe_downcall() 987 struct cld_net *cn; in __nfsd4_init_cld_pipe() local 992 cn = kzalloc(sizeof(*cn), GFP_KERNEL); in __nfsd4_init_cld_pipe() 993 if (!cn) { in __nfsd4_init_cld_pipe() 998 cn->cn_pipe = rpc_mkpipe_data(&cld_upcall_ops, RPC_PIPE_WAIT_FOR_OPEN); in __nfsd4_init_cld_pipe() [all …]
|
D | nfs4proc.c | 1754 struct nfsd4_copy_notify *cn = &u->copy_notify; in nfsd4_copy_notify() local 1762 &cn->cpn_src_stateid, RD_STATE, NULL, in nfsd4_copy_notify() 1767 cn->cpn_sec = nn->nfsd4_lease; in nfsd4_copy_notify() 1768 cn->cpn_nsec = 0; in nfsd4_copy_notify() 1774 memcpy(&cn->cpn_cnr_stateid, &cps->cp_stateid.stid, sizeof(stateid_t)); in nfsd4_copy_notify() 1781 cn->cpn_src.nl4_type = NL4_NETADDR; in nfsd4_copy_notify() 1783 &cn->cpn_src.u.nl4_addr); in nfsd4_copy_notify()
|
D | nfs4xdr.c | 1953 struct nfsd4_copy_notify *cn) in nfsd4_decode_copy_notify() argument 1957 status = nfsd4_decode_stateid4(argp, &cn->cpn_src_stateid); in nfsd4_decode_copy_notify() 1960 return nfsd4_decode_nl4_server(argp, &cn->cpn_dst); in nfsd4_decode_copy_notify() 4890 struct nfsd4_copy_notify *cn) in nfsd4_encode_copy_notify() argument 4904 p = xdr_encode_hyper(p, cn->cpn_sec); in nfsd4_encode_copy_notify() 4905 *p++ = cpu_to_be32(cn->cpn_nsec); in nfsd4_encode_copy_notify() 4908 nfserr = nfsd4_encode_stateid(xdr, &cn->cpn_cnr_stateid); in nfsd4_encode_copy_notify() 4919 return nfsd42_encode_nl4_server(resp, &cn->cpn_src); in nfsd4_encode_copy_notify()
|
/fs/ubifs/ |
D | lpt.c | 2384 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()
|