Searched refs:psinfo (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/fs/pstore/ |
D | platform.c | 38 static struct pstore_info *psinfo; variable 77 mutex_lock(&psinfo->buf_mutex); in pstore_dump() 80 dst = psinfo->buf; in pstore_dump() 82 size = psinfo->bufsize - hsize; in pstore_dump() 97 id = psinfo->write(PSTORE_TYPE_DMESG, hsize + l1_cpy + l2_cpy); in pstore_dump() 99 pstore_mkfile(PSTORE_TYPE_DMESG, psinfo->name, id, in pstore_dump() 100 psinfo->buf, hsize + l1_cpy + l2_cpy, in pstore_dump() 101 CURRENT_TIME, psinfo->erase); in pstore_dump() 106 mutex_unlock(&psinfo->buf_mutex); in pstore_dump() 127 if (psinfo) { in pstore_register() [all …]
|
/linux-2.6.39/fs/ |
D | binfmt_elf.c | 1302 static int fill_psinfo(struct elf_prpsinfo *psinfo, struct task_struct *p, in fill_psinfo() argument 1309 memset(psinfo, 0, sizeof(struct elf_prpsinfo)); in fill_psinfo() 1314 if (copy_from_user(&psinfo->pr_psargs, in fill_psinfo() 1318 if (psinfo->pr_psargs[i] == 0) in fill_psinfo() 1319 psinfo->pr_psargs[i] = ' '; in fill_psinfo() 1320 psinfo->pr_psargs[len] = 0; in fill_psinfo() 1323 psinfo->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_psinfo() 1325 psinfo->pr_pid = task_pid_vnr(p); in fill_psinfo() 1326 psinfo->pr_pgrp = task_pgrp_vnr(p); in fill_psinfo() 1327 psinfo->pr_sid = task_session_vnr(p); in fill_psinfo() [all …]
|
D | binfmt_elf_fdpic.c | 1401 static int fill_psinfo(struct elf_prpsinfo *psinfo, struct task_struct *p, in fill_psinfo() argument 1408 memset(psinfo, 0, sizeof(struct elf_prpsinfo)); in fill_psinfo() 1413 if (copy_from_user(&psinfo->pr_psargs, in fill_psinfo() 1417 if (psinfo->pr_psargs[i] == 0) in fill_psinfo() 1418 psinfo->pr_psargs[i] = ' '; in fill_psinfo() 1419 psinfo->pr_psargs[len] = 0; in fill_psinfo() 1422 psinfo->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_psinfo() 1424 psinfo->pr_pid = task_pid_vnr(p); in fill_psinfo() 1425 psinfo->pr_pgrp = task_pgrp_vnr(p); in fill_psinfo() 1426 psinfo->pr_sid = task_session_vnr(p); in fill_psinfo() [all …]
|