Searched refs:psinfo (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/fs/pstore/ |
D | platform.c | 77 struct pstore_info *psinfo; variable 296 if (!psinfo || tfm) in allocate_buf_for_compression() 304 size = zbackend->zbufsize(psinfo->bufsize); in allocate_buf_for_compression() 359 if (total_len > psinfo->bufsize) { in copy_kmsg_to_buffer() 360 diff = total_len - psinfo->bufsize + hsize; in copy_kmsg_to_buffer() 361 memcpy(psinfo->buf, big_oops_buf, hsize); in copy_kmsg_to_buffer() 362 memcpy(psinfo->buf + hsize, big_oops_buf + diff, in copy_kmsg_to_buffer() 363 psinfo->bufsize - hsize); in copy_kmsg_to_buffer() 364 total_len = psinfo->bufsize; in copy_kmsg_to_buffer() 366 memcpy(psinfo->buf, big_oops_buf, total_len); in copy_kmsg_to_buffer() [all …]
|
D | ftrace.c | 38 .psi = psinfo, in pstore_ftrace_call() 54 psinfo->write(&record); in pstore_ftrace_call() 134 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 | 36 extern struct pstore_info *psinfo;
|
D | inode.c | 299 if (!psinfo || !pstore_sb) { in psinfo_lock_root() 424 pstore_get_backend_records(psinfo, root, quiet); in pstore_get_records()
|
/linux-5.19.10/fs/ |
D | binfmt_elf.c | 1570 static int fill_psinfo(struct elf_prpsinfo *psinfo, struct task_struct *p, in fill_psinfo() argument 1578 memset(psinfo, 0, sizeof(struct elf_prpsinfo)); in fill_psinfo() 1583 if (copy_from_user(&psinfo->pr_psargs, in fill_psinfo() 1587 if (psinfo->pr_psargs[i] == 0) in fill_psinfo() 1588 psinfo->pr_psargs[i] = ' '; in fill_psinfo() 1589 psinfo->pr_psargs[len] = 0; in fill_psinfo() 1592 psinfo->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_psinfo() 1594 psinfo->pr_pid = task_pid_vnr(p); in fill_psinfo() 1595 psinfo->pr_pgrp = task_pgrp_vnr(p); in fill_psinfo() 1596 psinfo->pr_sid = task_session_vnr(p); in fill_psinfo() [all …]
|
D | binfmt_elf_fdpic.c | 1322 static int fill_psinfo(struct elf_prpsinfo *psinfo, struct task_struct *p, in fill_psinfo() argument 1330 memset(psinfo, 0, sizeof(struct elf_prpsinfo)); in fill_psinfo() 1335 if (copy_from_user(&psinfo->pr_psargs, in fill_psinfo() 1339 if (psinfo->pr_psargs[i] == 0) in fill_psinfo() 1340 psinfo->pr_psargs[i] = ' '; in fill_psinfo() 1341 psinfo->pr_psargs[len] = 0; in fill_psinfo() 1344 psinfo->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_psinfo() 1346 psinfo->pr_pid = task_pid_vnr(p); in fill_psinfo() 1347 psinfo->pr_pgrp = task_pgrp_vnr(p); in fill_psinfo() 1348 psinfo->pr_sid = task_session_vnr(p); in fill_psinfo() [all …]
|