Home
last modified time | relevance | path

Searched refs:psinfo (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/fs/pstore/
Dplatform.c56 static struct pstore_info *psinfo; variable
136 is_locked = spin_trylock_irqsave(&psinfo->buf_lock, flags); in pstore_dump()
142 spin_lock_irqsave(&psinfo->buf_lock, flags); in pstore_dump()
145 dst = psinfo->buf; in pstore_dump()
147 size = psinfo->bufsize - hsize; in pstore_dump()
162 ret = psinfo->write(PSTORE_TYPE_DMESG, reason, &id, part, in pstore_dump()
163 hsize + l1_cpy + l2_cpy, psinfo); in pstore_dump()
173 spin_unlock_irqrestore(&psinfo->buf_lock, flags); in pstore_dump()
175 spin_unlock_irqrestore(&psinfo->buf_lock, flags); in pstore_dump()
196 if (psinfo) { in pstore_register()
[all …]
/linux-3.4.99/fs/
Dbinfmt_elf.c1324 static int fill_psinfo(struct elf_prpsinfo *psinfo, struct task_struct *p, in fill_psinfo() argument
1331 memset(psinfo, 0, sizeof(struct elf_prpsinfo)); in fill_psinfo()
1336 if (copy_from_user(&psinfo->pr_psargs, in fill_psinfo()
1340 if (psinfo->pr_psargs[i] == 0) in fill_psinfo()
1341 psinfo->pr_psargs[i] = ' '; in fill_psinfo()
1342 psinfo->pr_psargs[len] = 0; in fill_psinfo()
1345 psinfo->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_psinfo()
1347 psinfo->pr_pid = task_pid_vnr(p); in fill_psinfo()
1348 psinfo->pr_pgrp = task_pgrp_vnr(p); in fill_psinfo()
1349 psinfo->pr_sid = task_session_vnr(p); in fill_psinfo()
[all …]
Dbinfmt_elf_fdpic.c1389 static int fill_psinfo(struct elf_prpsinfo *psinfo, struct task_struct *p, in fill_psinfo() argument
1396 memset(psinfo, 0, sizeof(struct elf_prpsinfo)); in fill_psinfo()
1401 if (copy_from_user(&psinfo->pr_psargs, in fill_psinfo()
1405 if (psinfo->pr_psargs[i] == 0) in fill_psinfo()
1406 psinfo->pr_psargs[i] = ' '; in fill_psinfo()
1407 psinfo->pr_psargs[len] = 0; in fill_psinfo()
1410 psinfo->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_psinfo()
1412 psinfo->pr_pid = task_pid_vnr(p); in fill_psinfo()
1413 psinfo->pr_pgrp = task_pgrp_vnr(p); in fill_psinfo()
1414 psinfo->pr_sid = task_session_vnr(p); in fill_psinfo()
[all …]