Searched refs:psinfo (Results 1 – 7 of 7) sorted by relevance
/fs/pstore/ |
D | platform.c | 76 struct pstore_info *psinfo; variable 298 if (!psinfo || tfm) in allocate_buf_for_compression() 306 size = zbackend->zbufsize(psinfo->bufsize); in allocate_buf_for_compression() 361 if (total_len > psinfo->bufsize) { in copy_kmsg_to_buffer() 362 diff = total_len - psinfo->bufsize + hsize; in copy_kmsg_to_buffer() 363 memcpy(psinfo->buf, big_oops_buf, hsize); in copy_kmsg_to_buffer() 364 memcpy(psinfo->buf + hsize, big_oops_buf + diff, in copy_kmsg_to_buffer() 365 psinfo->bufsize - hsize); in copy_kmsg_to_buffer() 366 total_len = psinfo->bufsize; in copy_kmsg_to_buffer() 368 memcpy(psinfo->buf, big_oops_buf, total_len); in copy_kmsg_to_buffer() [all …]
|
D | ftrace.c | 36 .psi = psinfo, in pstore_ftrace_call() 48 psinfo->write(&record); in pstore_ftrace_call() 115 if (!psinfo->write) in pstore_register_ftrace()
|
D | pmsg.c | 23 pstore_record_init(&record, psinfo); in write_pmsg() 32 ret = psinfo->write_user(&record, buf); in write_pmsg()
|
D | internal.h | 28 extern struct pstore_info *psinfo;
|
D | inode.c | 366 struct pstore_info *psi = psinfo; in pstore_get_records()
|
/fs/ |
D | binfmt_elf.c | 1506 static int fill_psinfo(struct elf_prpsinfo *psinfo, struct task_struct *p, in fill_psinfo() argument 1513 memset(psinfo, 0, sizeof(struct elf_prpsinfo)); in fill_psinfo() 1518 if (copy_from_user(&psinfo->pr_psargs, in fill_psinfo() 1522 if (psinfo->pr_psargs[i] == 0) in fill_psinfo() 1523 psinfo->pr_psargs[i] = ' '; in fill_psinfo() 1524 psinfo->pr_psargs[len] = 0; in fill_psinfo() 1527 psinfo->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_psinfo() 1529 psinfo->pr_pid = task_pid_vnr(p); in fill_psinfo() 1530 psinfo->pr_pgrp = task_pgrp_vnr(p); in fill_psinfo() 1531 psinfo->pr_sid = task_session_vnr(p); in fill_psinfo() [all …]
|
D | binfmt_elf_fdpic.c | 1378 static int fill_psinfo(struct elf_prpsinfo *psinfo, struct task_struct *p, in fill_psinfo() argument 1385 memset(psinfo, 0, sizeof(struct elf_prpsinfo)); in fill_psinfo() 1390 if (copy_from_user(&psinfo->pr_psargs, in fill_psinfo() 1394 if (psinfo->pr_psargs[i] == 0) in fill_psinfo() 1395 psinfo->pr_psargs[i] = ' '; in fill_psinfo() 1396 psinfo->pr_psargs[len] = 0; in fill_psinfo() 1399 psinfo->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_psinfo() 1401 psinfo->pr_pid = task_pid_vnr(p); in fill_psinfo() 1402 psinfo->pr_pgrp = task_pgrp_vnr(p); in fill_psinfo() 1403 psinfo->pr_sid = task_session_vnr(p); in fill_psinfo() [all …]
|