Lines Matching refs:corename
65 char *corename; member
71 char *corename; in expand_corename() local
74 corename = krealloc(cn->corename, size, GFP_KERNEL); in expand_corename()
76 if (!corename) in expand_corename()
83 cn->corename = corename; in expand_corename()
97 need = vsnprintf(cn->corename + cn->used, free, fmt, arg_copy); in cn_vprintf()
139 if ((cn->used - cur == 1 && cn->corename[cur] == '.') || in cn_esc_printf()
140 (cn->used - cur == 2 && cn->corename[cur] == '.' in cn_esc_printf()
141 && cn->corename[cur+1] == '.')) in cn_esc_printf()
142 cn->corename[cur] = '!'; in cn_esc_printf()
155 if (cn->corename[cur] == '/') in cn_esc_printf()
156 cn->corename[cur] = '!'; in cn_esc_printf()
212 cn->corename = NULL; in format_corename()
215 cn->corename[0] = '\0'; in format_corename()
631 helper_argv[argi] = cn.corename + argv[argi]; in do_coredump()
645 cn.corename); in do_coredump()
657 if (need_suid_safe && cn.corename[0] != '/') { in do_coredump()
675 do_unlinkat(AT_FDCWD, getname_kernel(cn.corename)); in do_coredump()
701 cprm.file = file_open_root(&root, cn.corename, in do_coredump()
705 cprm.file = filp_open(cn.corename, open_flags, 0600); in do_coredump()
731 cn.corename); in do_coredump()
736 cn.corename); in do_coredump()
757 pr_info("Core dump to |%s disabled\n", cn.corename); in do_coredump()
788 kfree(cn.corename); in do_coredump()