Lines Matching refs:corename
65 char *corename; member
71 char *corename = krealloc(cn->corename, size, GFP_KERNEL); in expand_corename() local
73 if (!corename) in expand_corename()
79 cn->size = ksize(corename); in expand_corename()
80 cn->corename = corename; in expand_corename()
94 need = vsnprintf(cn->corename + cn->used, free, fmt, arg_copy); in cn_vprintf()
136 if ((cn->used - cur == 1 && cn->corename[cur] == '.') || in cn_esc_printf()
137 (cn->used - cur == 2 && cn->corename[cur] == '.' in cn_esc_printf()
138 && cn->corename[cur+1] == '.')) in cn_esc_printf()
139 cn->corename[cur] = '!'; in cn_esc_printf()
152 if (cn->corename[cur] == '/') in cn_esc_printf()
153 cn->corename[cur] = '!'; in cn_esc_printf()
209 cn->corename = NULL; in format_corename()
212 cn->corename[0] = '\0'; in format_corename()
622 helper_argv[argi] = cn.corename + argv[argi]; in do_coredump()
636 cn.corename); in do_coredump()
648 if (need_suid_safe && cn.corename[0] != '/') { in do_coredump()
666 do_unlinkat(AT_FDCWD, getname_kernel(cn.corename)); in do_coredump()
692 cprm.file = file_open_root(&root, cn.corename, in do_coredump()
696 cprm.file = filp_open(cn.corename, open_flags, 0600); in do_coredump()
722 cn.corename); in do_coredump()
727 cn.corename); in do_coredump()
748 pr_info("Core dump to |%s disabled\n", cn.corename); in do_coredump()
779 kfree(cn.corename); in do_coredump()