Lines Matching refs:corename
71 char *corename; member
77 char *corename; in expand_corename() local
80 corename = krealloc(cn->corename, size, GFP_KERNEL); in expand_corename()
82 if (!corename) in expand_corename()
89 cn->corename = corename; in expand_corename()
103 need = vsnprintf(cn->corename + cn->used, free, fmt, arg_copy); in cn_vprintf()
145 if ((cn->used - cur == 1 && cn->corename[cur] == '.') || in cn_esc_printf()
146 (cn->used - cur == 2 && cn->corename[cur] == '.' in cn_esc_printf()
147 && cn->corename[cur+1] == '.')) in cn_esc_printf()
148 cn->corename[cur] = '!'; in cn_esc_printf()
161 if (cn->corename[cur] == '/') in cn_esc_printf()
162 cn->corename[cur] = '!'; in cn_esc_printf()
218 cn->corename = NULL; in format_corename()
221 cn->corename[0] = '\0'; in format_corename()
628 helper_argv[argi] = cn.corename + argv[argi]; in do_coredump()
641 coredump_report_failure("|%s pipe failed", cn.corename); in do_coredump()
653 if (need_suid_safe && cn.corename[0] != '/') { in do_coredump()
669 do_unlinkat(AT_FDCWD, getname_kernel(cn.corename)); in do_coredump()
695 cprm.file = file_open_root(&root, cn.corename, in do_coredump()
699 cprm.file = filp_open(cn.corename, open_flags, 0600); in do_coredump()
725 "cannot preserve file owner", cn.corename); in do_coredump()
730 "cannot preserve file permissions", cn.corename); in do_coredump()
751 coredump_report_failure("Core dump to |%s disabled", cn.corename); in do_coredump()
782 kfree(cn.corename); in do_coredump()