Searched refs:psinfo (Results 1 – 7 of 7) sorted by relevance
/linux-4.19.296/fs/pstore/ |
D | platform.c | 75 struct pstore_info *psinfo; variable 290 if (!psinfo || tfm) in allocate_buf_for_compression() 298 size = zbackend->zbufsize(psinfo->bufsize); in allocate_buf_for_compression() 353 if (total_len > psinfo->bufsize) { in copy_kmsg_to_buffer() 354 diff = total_len - psinfo->bufsize + hsize; in copy_kmsg_to_buffer() 355 memcpy(psinfo->buf, big_oops_buf, hsize); in copy_kmsg_to_buffer() 356 memcpy(psinfo->buf + hsize, big_oops_buf + diff, in copy_kmsg_to_buffer() 357 psinfo->bufsize - hsize); in copy_kmsg_to_buffer() 358 total_len = psinfo->bufsize; in copy_kmsg_to_buffer() 360 memcpy(psinfo->buf, big_oops_buf, total_len); in copy_kmsg_to_buffer() [all …]
|
D | ftrace.c | 44 .psi = psinfo, in pstore_ftrace_call() 56 psinfo->write(&record); in pstore_ftrace_call() 125 if (!psinfo->write) in pstore_register_ftrace()
|
D | pmsg.c | 31 pstore_record_init(&record, psinfo); in write_pmsg() 40 ret = psinfo->write_user(&record, buf); in write_pmsg()
|
D | internal.h | 28 extern struct pstore_info *psinfo;
|
D | inode.c | 425 struct pstore_info *psi = psinfo; in pstore_get_records()
|
/linux-4.19.296/fs/ |
D | binfmt_elf.c | 1541 static int fill_psinfo(struct elf_prpsinfo *psinfo, struct task_struct *p, in fill_psinfo() argument 1548 memset(psinfo, 0, sizeof(struct elf_prpsinfo)); in fill_psinfo() 1553 if (copy_from_user(&psinfo->pr_psargs, in fill_psinfo() 1557 if (psinfo->pr_psargs[i] == 0) in fill_psinfo() 1558 psinfo->pr_psargs[i] = ' '; in fill_psinfo() 1559 psinfo->pr_psargs[len] = 0; in fill_psinfo() 1562 psinfo->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_psinfo() 1564 psinfo->pr_pid = task_pid_vnr(p); in fill_psinfo() 1565 psinfo->pr_pgrp = task_pgrp_vnr(p); in fill_psinfo() 1566 psinfo->pr_sid = task_session_vnr(p); in fill_psinfo() [all …]
|
D | binfmt_elf_fdpic.c | 1382 static int fill_psinfo(struct elf_prpsinfo *psinfo, struct task_struct *p, in fill_psinfo() argument 1389 memset(psinfo, 0, sizeof(struct elf_prpsinfo)); in fill_psinfo() 1394 if (copy_from_user(&psinfo->pr_psargs, in fill_psinfo() 1398 if (psinfo->pr_psargs[i] == 0) in fill_psinfo() 1399 psinfo->pr_psargs[i] = ' '; in fill_psinfo() 1400 psinfo->pr_psargs[len] = 0; in fill_psinfo() 1403 psinfo->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_psinfo() 1405 psinfo->pr_pid = task_pid_vnr(p); in fill_psinfo() 1406 psinfo->pr_pgrp = task_pgrp_vnr(p); in fill_psinfo() 1407 psinfo->pr_sid = task_session_vnr(p); in fill_psinfo() [all …]
|