Searched refs:psinfo (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/fs/pstore/ |
D | platform.c | 70 struct pstore_info *psinfo; variable 227 compressed_size = (psinfo->bufsize * 100) / DMESG_COMP_PERCENT; in allocate_buf_for_compression() 231 psinfo->bufsize, compress); in allocate_buf_for_compression() 263 struct pstore_info *psinfo) in pstore_record_init() argument 267 record->psi = psinfo; in pstore_record_init() 291 if (!raw_spin_trylock_irqsave(&psinfo->buf_lock, flags)) { in pstore_dump() 297 raw_spin_lock_irqsave(&psinfo->buf_lock, flags); in pstore_dump() 311 pstore_record_init(&record, psinfo); in pstore_dump() 316 record.buf = psinfo->buf; in pstore_dump() 318 dst = big_oops_buf ?: psinfo->buf; in pstore_dump() [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 | 297 if (!psinfo || !pstore_sb) in psinfo_lock_root() 405 pstore_get_backend_records(psinfo, root, quiet); in pstore_get_records()
|
/linux-6.12.1/fs/ |
D | binfmt_elf_fdpic.c | 1315 static int fill_psinfo(struct elf_prpsinfo *psinfo, struct task_struct *p, in fill_psinfo() argument 1323 memset(psinfo, 0, sizeof(struct elf_prpsinfo)); in fill_psinfo() 1328 if (copy_from_user(&psinfo->pr_psargs, in fill_psinfo() 1332 if (psinfo->pr_psargs[i] == 0) in fill_psinfo() 1333 psinfo->pr_psargs[i] = ' '; in fill_psinfo() 1334 psinfo->pr_psargs[len] = 0; in fill_psinfo() 1337 psinfo->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_psinfo() 1339 psinfo->pr_pid = task_pid_vnr(p); in fill_psinfo() 1340 psinfo->pr_pgrp = task_pgrp_vnr(p); in fill_psinfo() 1341 psinfo->pr_sid = task_session_vnr(p); in fill_psinfo() [all …]
|
D | binfmt_elf.c | 1546 static int fill_psinfo(struct elf_prpsinfo *psinfo, struct task_struct *p, in fill_psinfo() argument 1554 memset(psinfo, 0, sizeof(struct elf_prpsinfo)); in fill_psinfo() 1559 if (copy_from_user(&psinfo->pr_psargs, in fill_psinfo() 1563 if (psinfo->pr_psargs[i] == 0) in fill_psinfo() 1564 psinfo->pr_psargs[i] = ' '; in fill_psinfo() 1565 psinfo->pr_psargs[len] = 0; in fill_psinfo() 1568 psinfo->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_psinfo() 1570 psinfo->pr_pid = task_pid_vnr(p); in fill_psinfo() 1571 psinfo->pr_pgrp = task_pgrp_vnr(p); in fill_psinfo() 1572 psinfo->pr_sid = task_session_vnr(p); in fill_psinfo() [all …]
|